Search Results for

    Show / Hide Table of Contents

    Class PhoneNumberProjection

    Phone number projection

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

    Constructors

    View Source

    PhoneNumberProjection()

    Initializes a new instance of the PhoneNumberProjection class.

    Declaration
    [JsonConstructor]
    protected PhoneNumberProjection()
    View Source

    PhoneNumberProjection(string, Guid, Guid, PhoneCountryEnum, DateTime, string, string, string, string, string, string)

    Initializes a new instance of the PhoneNumberProjection class.

    Declaration
    public PhoneNumberProjection(string name = null, Guid id = default, Guid userId = default, PhoneNumberProjection.PhoneCountryEnum phoneCountry = (PhoneNumberProjection.PhoneCountryEnum)0, DateTime createdAt = default, string providerLabel = null, string lineType = null, string carrierName = null, string mobileCountryCode = null, string mobileNetworkCode = null, string phoneNumber = null)
    Parameters
    Type Name Description
    string name

    name.

    Guid id

    id (required).

    Guid userId

    userId (required).

    PhoneNumberProjection.PhoneCountryEnum phoneCountry

    phoneCountry (required).

    DateTime createdAt

    createdAt (required).

    string providerLabel

    providerLabel.

    string lineType

    lineType.

    string carrierName

    carrierName.

    string mobileCountryCode

    mobileCountryCode.

    string mobileNetworkCode

    mobileNetworkCode.

    string phoneNumber

    phoneNumber (required).

    Properties

    View Source

    CarrierName

    Gets or Sets CarrierName

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

    CreatedAt

    Gets or Sets CreatedAt

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

    Id

    Gets or Sets Id

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

    LineType

    Gets or Sets LineType

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

    MobileCountryCode

    Gets or Sets MobileCountryCode

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

    MobileNetworkCode

    Gets or Sets MobileNetworkCode

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

    Name

    Gets or Sets Name

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

    PhoneCountry

    Gets or Sets PhoneCountry

    Declaration
    [DataMember(Name = "phoneCountry", IsRequired = true, EmitDefaultValue = true)]
    public PhoneNumberProjection.PhoneCountryEnum PhoneCountry { get; set; }
    Property Value
    Type Description
    PhoneNumberProjection.PhoneCountryEnum
    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

    ProviderLabel

    Gets or Sets ProviderLabel

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

    UserId

    Gets or Sets UserId

    Declaration
    [DataMember(Name = "userId", IsRequired = true, EmitDefaultValue = true)]
    public Guid UserId { get; set; }
    Property Value
    Type Description
    Guid

    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.