Search Results for

    Show / Hide Table of Contents

    Class PhonePoolMemberDto

    PhonePoolMemberDto

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

    Constructors

    View Source

    PhonePoolMemberDto()

    Initializes a new instance of the PhonePoolMemberDto class.

    Declaration
    [JsonConstructor]
    protected PhonePoolMemberDto()
    View Source

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

    Initializes a new instance of the PhonePoolMemberDto class.

    Declaration
    public PhonePoolMemberDto(Guid id = default, Guid poolId = default, Guid phoneNumberId = default, string phoneNumber = null, PhonePoolMemberDto.PhoneCountryEnum phoneCountry = (PhonePoolMemberDto.PhoneCountryEnum)0, string phoneName = null, DateTime createdAt = default, PhonePoolLeaseDto activeLease = null)
    Parameters
    Type Name Description
    Guid id

    id (required).

    Guid poolId

    poolId (required).

    Guid phoneNumberId

    phoneNumberId (required).

    string phoneNumber

    phoneNumber (required).

    PhonePoolMemberDto.PhoneCountryEnum phoneCountry

    phoneCountry (required).

    string phoneName

    phoneName.

    DateTime createdAt

    createdAt (required).

    PhonePoolLeaseDto activeLease

    activeLease.

    Properties

    View Source

    ActiveLease

    Gets or Sets ActiveLease

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

    PhoneCountry

    Gets or Sets PhoneCountry

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