Search Results for

    Show / Hide Table of Contents

    Class PhoneNumberDto

    PhoneNumberDto

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

    Constructors

    View Source

    PhoneNumberDto()

    Initializes a new instance of the PhoneNumberDto class.

    Declaration
    [JsonConstructor]
    protected PhoneNumberDto()
    View Source

    PhoneNumberDto(Guid, string, string, Guid, Guid, Guid, string, PhoneCountryEnum, Guid, DateTime, DateTime, bool)

    Initializes a new instance of the PhoneNumberDto class.

    Declaration
    public PhoneNumberDto(Guid id = default, string name = null, string description = null, Guid userId = default, Guid complianceAddress = default, Guid emergencyAddress = default, string phoneNumber = null, PhoneNumberDto.PhoneCountryEnum phoneCountry = (PhoneNumberDto.PhoneCountryEnum)0, Guid phonePlan = default, DateTime createdAt = default, DateTime updatedAt = default, bool favourite = false)
    Parameters
    Type Name Description
    Guid id

    id (required).

    string name

    name.

    string description

    description.

    Guid userId

    userId (required).

    Guid complianceAddress

    complianceAddress.

    Guid emergencyAddress

    emergencyAddress.

    string phoneNumber

    phoneNumber (required).

    PhoneNumberDto.PhoneCountryEnum phoneCountry

    phoneCountry (required).

    Guid phonePlan

    phonePlan (required).

    DateTime createdAt

    createdAt (required).

    DateTime updatedAt

    updatedAt (required).

    bool favourite

    favourite (required).

    Properties

    View Source

    ComplianceAddress

    Gets or Sets ComplianceAddress

    Declaration
    [DataMember(Name = "complianceAddress", EmitDefaultValue = false)]
    public Guid ComplianceAddress { get; set; }
    Property Value
    Type Description
    Guid
    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

    Description

    Gets or Sets Description

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

    EmergencyAddress

    Gets or Sets EmergencyAddress

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

    Favourite

    Gets or Sets Favourite

    Declaration
    [DataMember(Name = "favourite", IsRequired = true, EmitDefaultValue = true)]
    public bool Favourite { get; set; }
    Property Value
    Type Description
    bool
    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

    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 PhoneNumberDto.PhoneCountryEnum PhoneCountry { get; set; }
    Property Value
    Type Description
    PhoneNumberDto.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

    PhonePlan

    Gets or Sets PhonePlan

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

    UpdatedAt

    Gets or Sets UpdatedAt

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