Search Results for

    Show / Hide Table of Contents

    Class PhonePoolDto

    PhonePoolDto

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

    Constructors

    View Source

    PhonePoolDto()

    Initializes a new instance of the PhonePoolDto class.

    Declaration
    [JsonConstructor]
    protected PhonePoolDto()
    View Source

    PhonePoolDto(Guid, Guid, string, string, DateTime, DateTime, int, int, int)

    Initializes a new instance of the PhonePoolDto class.

    Declaration
    public PhonePoolDto(Guid id = default, Guid userId = default, string name = null, string description = null, DateTime createdAt = default, DateTime updatedAt = default, int memberCount = 0, int availableMemberCount = 0, int leasedMemberCount = 0)
    Parameters
    Type Name Description
    Guid id

    id (required).

    Guid userId

    userId (required).

    string name

    name (required).

    string description

    description.

    DateTime createdAt

    createdAt (required).

    DateTime updatedAt

    updatedAt (required).

    int memberCount

    memberCount (required).

    int availableMemberCount

    availableMemberCount (required).

    int leasedMemberCount

    leasedMemberCount (required).

    Properties

    View Source

    AvailableMemberCount

    Gets or Sets AvailableMemberCount

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

    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

    LeasedMemberCount

    Gets or Sets LeasedMemberCount

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

    MemberCount

    Gets or Sets MemberCount

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

    Name

    Gets or Sets Name

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