Search Results for

    Show / Hide Table of Contents

    Class PhonePoolLeaseDto

    PhonePoolLeaseDto

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

    Constructors

    View Source

    PhonePoolLeaseDto()

    Initializes a new instance of the PhonePoolLeaseDto class.

    Declaration
    [JsonConstructor]
    protected PhonePoolLeaseDto()
    View Source

    PhonePoolLeaseDto(Guid, Guid, Guid, string, PhoneCountryEnum, string, string, string, DateTime, DateTime)

    Initializes a new instance of the PhonePoolLeaseDto class.

    Declaration
    public PhonePoolLeaseDto(Guid id = default, Guid poolId = default, Guid phoneNumberId = default, string phoneNumber = null, PhonePoolLeaseDto.PhoneCountryEnum phoneCountry = (PhonePoolLeaseDto.PhoneCountryEnum)0, string phoneName = null, string leaseName = null, string leaseOwner = null, DateTime leasedAt = default, DateTime expiresAt = default)
    Parameters
    Type Name Description
    Guid id

    id (required).

    Guid poolId

    poolId (required).

    Guid phoneNumberId

    phoneNumberId (required).

    string phoneNumber

    phoneNumber (required).

    PhonePoolLeaseDto.PhoneCountryEnum phoneCountry

    phoneCountry (required).

    string phoneName

    phoneName.

    string leaseName

    leaseName.

    string leaseOwner

    leaseOwner.

    DateTime leasedAt

    leasedAt (required).

    DateTime expiresAt

    expiresAt.

    Properties

    View Source

    ExpiresAt

    Gets or Sets ExpiresAt

    Declaration
    [DataMember(Name = "expiresAt", EmitDefaultValue = false)]
    public DateTime ExpiresAt { 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

    LeaseName

    Gets or Sets LeaseName

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

    LeaseOwner

    Gets or Sets LeaseOwner

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

    LeasedAt

    Gets or Sets LeasedAt

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

    PhoneCountry

    Gets or Sets PhoneCountry

    Declaration
    [DataMember(Name = "phoneCountry", IsRequired = true, EmitDefaultValue = true)]
    public PhonePoolLeaseDto.PhoneCountryEnum PhoneCountry { get; set; }
    Property Value
    Type Description
    PhonePoolLeaseDto.PhoneCountryEnum
    View Source

    PhoneName

    Gets or Sets PhoneName

    Declaration
    [DataMember(Name = "phoneName", EmitDefaultValue = false)]
    public string PhoneName { 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

    PhoneNumberId

    Gets or Sets PhoneNumberId

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

    PoolId

    Gets or Sets PoolId

    Declaration
    [DataMember(Name = "poolId", IsRequired = true, EmitDefaultValue = true)]
    public Guid PoolId { 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.