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