Class PhoneSummaryCountryDto
PhoneSummaryCountryDto
Implements
Inherited Members
Namespace: mailslurp.Model
Assembly: mailslurp.dll
Syntax
[DataContract(Name = "PhoneSummaryCountryDto")]
public class PhoneSummaryCountryDto : IValidatableObject
Constructors
View SourcePhoneSummaryCountryDto()
Initializes a new instance of the PhoneSummaryCountryDto class.
Declaration
[JsonConstructor]
protected PhoneSummaryCountryDto()
PhoneSummaryCountryDto(PhoneCountryCodeEnum, long, bool)
Initializes a new instance of the PhoneSummaryCountryDto class.
Declaration
public PhoneSummaryCountryDto(PhoneSummaryCountryDto.PhoneCountryCodeEnum phoneCountryCode = (PhoneSummaryCountryDto.PhoneCountryCodeEnum)0, long totalCount = 0, bool hasPlan = false)
Parameters
| Type | Name | Description |
|---|---|---|
| PhoneSummaryCountryDto.PhoneCountryCodeEnum | phoneCountryCode | phoneCountryCode (required). |
| long | totalCount | totalCount (required). |
| bool | hasPlan | hasPlan (required). |
Properties
View SourceHasPlan
Gets or Sets HasPlan
Declaration
[DataMember(Name = "hasPlan", IsRequired = true, EmitDefaultValue = true)]
public bool HasPlan { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
PhoneCountryCode
Gets or Sets PhoneCountryCode
Declaration
[DataMember(Name = "phoneCountryCode", IsRequired = true, EmitDefaultValue = true)]
public PhoneSummaryCountryDto.PhoneCountryCodeEnum PhoneCountryCode { get; set; }
Property Value
| Type | Description |
|---|---|
| PhoneSummaryCountryDto.PhoneCountryCodeEnum |
TotalCount
Gets or Sets TotalCount
Declaration
[DataMember(Name = "totalCount", IsRequired = true, EmitDefaultValue = true)]
public long TotalCount { get; set; }
Property Value
| Type | Description |
|---|---|
| long |
Methods
View SourceToJson()
Returns the JSON string presentation of the object
Declaration
public virtual string ToJson()
Returns
| Type | Description |
|---|---|
| string | JSON string presentation of the object |
ToString()
Returns the string presentation of the object
Declaration
public override string ToString()
Returns
| Type | Description |
|---|---|
| string | String presentation of the object |