Search Results for

    Show / Hide Table of Contents

    Class PhoneNumberLineTypeLookupDto

    PhoneNumberLineTypeLookupDto

    Inheritance
    object
    PhoneNumberLineTypeLookupDto
    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 = "PhoneNumberLineTypeLookupDto")]
    public class PhoneNumberLineTypeLookupDto : IValidatableObject

    Constructors

    View Source

    PhoneNumberLineTypeLookupDto()

    Initializes a new instance of the PhoneNumberLineTypeLookupDto class.

    Declaration
    [JsonConstructor]
    protected PhoneNumberLineTypeLookupDto()
    View Source

    PhoneNumberLineTypeLookupDto(string, string, string, string, bool, List<string>, PhoneNumberLineTypeIntelligenceDto, bool)

    Initializes a new instance of the PhoneNumberLineTypeLookupDto class.

    Declaration
    public PhoneNumberLineTypeLookupDto(string phoneNumber = null, string nationalFormat = null, string countryCode = null, string countryPrefix = null, bool isValid = false, List<string> validationErrors = null, PhoneNumberLineTypeIntelligenceDto lineTypeIntelligence = null, bool mailslurpPhoneNumber = false)
    Parameters
    Type Name Description
    string phoneNumber

    phoneNumber (required).

    string nationalFormat

    nationalFormat.

    string countryCode

    countryCode.

    string countryPrefix

    countryPrefix.

    bool isValid

    isValid (required).

    List<string> validationErrors

    validationErrors.

    PhoneNumberLineTypeIntelligenceDto lineTypeIntelligence

    lineTypeIntelligence.

    bool mailslurpPhoneNumber

    mailslurpPhoneNumber (required).

    Properties

    View Source

    CountryCode

    Gets or Sets CountryCode

    Declaration
    [DataMember(Name = "countryCode", EmitDefaultValue = false)]
    public string CountryCode { get; set; }
    Property Value
    Type Description
    string
    View Source

    CountryPrefix

    Gets or Sets CountryPrefix

    Declaration
    [DataMember(Name = "countryPrefix", EmitDefaultValue = false)]
    public string CountryPrefix { get; set; }
    Property Value
    Type Description
    string
    View Source

    IsValid

    Gets or Sets IsValid

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

    LineTypeIntelligence

    Gets or Sets LineTypeIntelligence

    Declaration
    [DataMember(Name = "lineTypeIntelligence", EmitDefaultValue = false)]
    public PhoneNumberLineTypeIntelligenceDto LineTypeIntelligence { get; set; }
    Property Value
    Type Description
    PhoneNumberLineTypeIntelligenceDto
    View Source

    MailslurpPhoneNumber

    Gets or Sets MailslurpPhoneNumber

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

    NationalFormat

    Gets or Sets NationalFormat

    Declaration
    [DataMember(Name = "nationalFormat", EmitDefaultValue = false)]
    public string NationalFormat { get; set; }
    Property Value
    Type Description
    string
    View Source

    PhoneNumber

    Gets or Sets PhoneNumber

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

    ValidationErrors

    Gets or Sets ValidationErrors

    Declaration
    [DataMember(Name = "validationErrors", EmitDefaultValue = false)]
    public List<string> ValidationErrors { get; set; }
    Property Value
    Type Description
    List<string>

    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.