Search Results for

    Show / Hide Table of Contents

    Class PhoneSummaryCountryDto

    PhoneSummaryCountryDto

    Inheritance
    object
    PhoneSummaryCountryDto
    Implements
    IValidatableObject
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    Namespace: mailslurp.Model
    Assembly: mailslurp.dll
    Syntax
    [DataContract(Name = "PhoneSummaryCountryDto")]
    public class PhoneSummaryCountryDto : IValidatableObject

    Constructors

    View Source

    PhoneSummaryCountryDto()

    Initializes a new instance of the PhoneSummaryCountryDto class.

    Declaration
    [JsonConstructor]
    protected PhoneSummaryCountryDto()
    View Source

    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 Source

    HasPlan

    Gets or Sets HasPlan

    Declaration
    [DataMember(Name = "hasPlan", IsRequired = true, EmitDefaultValue = true)]
    public bool HasPlan { get; set; }
    Property Value
    Type Description
    bool
    View Source

    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
    View Source

    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 Source

    ToJson()

    Returns the JSON string presentation of the object

    Declaration
    public virtual string ToJson()
    Returns
    Type Description
    string

    JSON string presentation of the object

    View Source

    ToString()

    Returns the string presentation of the object

    Declaration
    public override string ToString()
    Returns
    Type Description
    string

    String presentation of the object

    Overrides
    object.ToString()

    Implements

    IValidatableObject
    • View Source
    In this article
    Back to top See MailSlurp website for more information.