Class AcquirePhonePoolLeaseOptions
AcquirePhonePoolLeaseOptions
Implements
Inherited Members
Namespace: mailslurp.Model
Assembly: mailslurp.dll
Syntax
[DataContract(Name = "AcquirePhonePoolLeaseOptions")]
public class AcquirePhonePoolLeaseOptions : IValidatableObject
Constructors
View SourceAcquirePhonePoolLeaseOptions(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 SourceAcquireTimeoutMillis
Gets or Sets AcquireTimeoutMillis
Declaration
[DataMember(Name = "acquireTimeoutMillis", EmitDefaultValue = false)]
public long AcquireTimeoutMillis { get; set; }
Property Value
| Type | Description |
|---|---|
| long |
LeaseDurationMillis
Gets or Sets LeaseDurationMillis
Declaration
[DataMember(Name = "leaseDurationMillis", EmitDefaultValue = false)]
public long LeaseDurationMillis { get; set; }
Property Value
| Type | Description |
|---|---|
| long |
LeaseName
Gets or Sets LeaseName
Declaration
[DataMember(Name = "leaseName", EmitDefaultValue = false)]
public string LeaseName { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
LeaseOwner
Gets or Sets LeaseOwner
Declaration
[DataMember(Name = "leaseOwner", EmitDefaultValue = false)]
public string LeaseOwner { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Methods
View SourceToJson()
Returns the JSON string presentation of the object
Declaration
public virtual string ToJson()
Returns
| Type | Description |
|---|---|
| string | JSON string presentation of the object |
ToString()
Returns the string presentation of the object
Declaration
public override string ToString()
Returns
| Type | Description |
|---|---|
| string | String presentation of the object |