Class PhoneSummaryDto
PhoneSummaryDto
Implements
Inherited Members
Namespace: mailslurp.Model
Assembly: mailslurp.dll
Syntax
[DataContract(Name = "PhoneSummaryDto")]
public class PhoneSummaryDto : IValidatableObject
Constructors
View SourcePhoneSummaryDto()
Initializes a new instance of the PhoneSummaryDto class.
Declaration
[JsonConstructor]
protected PhoneSummaryDto()
PhoneSummaryDto(List<PhoneSummaryCountryDto>, bool, bool, int, List<PlanSummaryDto>)
Initializes a new instance of the PhoneSummaryDto class.
Declaration
public PhoneSummaryDto(List<PhoneSummaryCountryDto> phoneCountrySummaries = null, bool hasPhoneNumbers = false, bool hasMissingPlans = false, int totalPhones = 0, List<PlanSummaryDto> plans = null)
Parameters
| Type | Name | Description |
|---|---|---|
| List<PhoneSummaryCountryDto> | phoneCountrySummaries | phoneCountrySummaries (required). |
| bool | hasPhoneNumbers | hasPhoneNumbers (required). |
| bool | hasMissingPlans | hasMissingPlans (required). |
| int | totalPhones | totalPhones (required). |
| List<PlanSummaryDto> | plans | plans (required). |
Properties
View SourceHasMissingPlans
Gets or Sets HasMissingPlans
Declaration
[DataMember(Name = "hasMissingPlans", IsRequired = true, EmitDefaultValue = true)]
public bool HasMissingPlans { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
HasPhoneNumbers
Gets or Sets HasPhoneNumbers
Declaration
[DataMember(Name = "hasPhoneNumbers", IsRequired = true, EmitDefaultValue = true)]
public bool HasPhoneNumbers { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
PhoneCountrySummaries
Gets or Sets PhoneCountrySummaries
Declaration
[DataMember(Name = "phoneCountrySummaries", IsRequired = true, EmitDefaultValue = true)]
public List<PhoneSummaryCountryDto> PhoneCountrySummaries { get; set; }
Property Value
| Type | Description |
|---|---|
| List<PhoneSummaryCountryDto> |
Plans
Gets or Sets Plans
Declaration
[DataMember(Name = "plans", IsRequired = true, EmitDefaultValue = true)]
public List<PlanSummaryDto> Plans { get; set; }
Property Value
| Type | Description |
|---|---|
| List<PlanSummaryDto> |
TotalPhones
Gets or Sets TotalPhones
Declaration
[DataMember(Name = "totalPhones", IsRequired = true, EmitDefaultValue = true)]
public int TotalPhones { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
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 |