Search Results for

    Show / Hide Table of Contents

    Class AcquirePhonePoolLeaseOptions

    AcquirePhonePoolLeaseOptions

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

    Constructors

    View Source

    AcquirePhonePoolLeaseOptions(string, string, long, long)

    Initializes a new instance of the AcquirePhonePoolLeaseOptions class.

    Declaration
    public AcquirePhonePoolLeaseOptions(string leaseName = null, string leaseOwner = null, long leaseDurationMillis = 0, long acquireTimeoutMillis = 0)
    Parameters
    Type Name Description
    string leaseName

    leaseName.

    string leaseOwner

    leaseOwner.

    long leaseDurationMillis

    leaseDurationMillis.

    long acquireTimeoutMillis

    acquireTimeoutMillis.

    Properties

    View Source

    AcquireTimeoutMillis

    Gets or Sets AcquireTimeoutMillis

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

    LeaseDurationMillis

    Gets or Sets LeaseDurationMillis

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

    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.