Class AvailablePhoneNumbersResult
AvailablePhoneNumbersResult
Implements
Inherited Members
Namespace: mailslurp.Model
Assembly: mailslurp.dll
Syntax
[DataContract(Name = "AvailablePhoneNumbersResult")]
public class AvailablePhoneNumbersResult : IValidatableObject
Constructors
View SourceAvailablePhoneNumbersResult()
Initializes a new instance of the AvailablePhoneNumbersResult class.
Declaration
[JsonConstructor]
protected AvailablePhoneNumbersResult()
AvailablePhoneNumbersResult(int, List<AvailablePhoneNumberDto>, string)
Initializes a new instance of the AvailablePhoneNumbersResult class.
Declaration
public AvailablePhoneNumbersResult(int count = 0, List<AvailablePhoneNumberDto> items = null, string warning = null)
Parameters
| Type | Name | Description |
|---|---|---|
| int | count | count (required). |
| List<AvailablePhoneNumberDto> | items | items (required). |
| string | warning | warning. |
Properties
View SourceCount
Gets or Sets Count
Declaration
[DataMember(Name = "count", IsRequired = true, EmitDefaultValue = true)]
public int Count { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
Items
Gets or Sets Items
Declaration
[DataMember(Name = "items", IsRequired = true, EmitDefaultValue = true)]
public List<AvailablePhoneNumberDto> Items { get; set; }
Property Value
| Type | Description |
|---|---|
| List<AvailablePhoneNumberDto> |
Warning
Gets or Sets Warning
Declaration
[DataMember(Name = "warning", EmitDefaultValue = false)]
public string Warning { 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 |