Class PhoneProvisioningJobDto
PhoneProvisioningJobDto
Implements
Inherited Members
Namespace: mailslurp.Model
Assembly: mailslurp.dll
Syntax
[DataContract(Name = "PhoneProvisioningJobDto")]
public class PhoneProvisioningJobDto : IValidatableObject
Constructors
View SourcePhoneProvisioningJobDto()
Initializes a new instance of the PhoneProvisioningJobDto class.
Declaration
[JsonConstructor]
protected PhoneProvisioningJobDto()
PhoneProvisioningJobDto(Guid, Guid, PhoneCountryEnum, PhoneVariantEnum?, StatusEnum, int, int, int, int, int, DateTime, DateTime, List<PhoneProvisioningJobItemDto>)
Initializes a new instance of the PhoneProvisioningJobDto class.
Declaration
public PhoneProvisioningJobDto(Guid id = default, Guid userId = default, PhoneProvisioningJobDto.PhoneCountryEnum phoneCountry = (PhoneProvisioningJobDto.PhoneCountryEnum)0, PhoneProvisioningJobDto.PhoneVariantEnum? phoneVariant = null, PhoneProvisioningJobDto.StatusEnum status = (PhoneProvisioningJobDto.StatusEnum)0, int requestedCount = 0, int attemptedCount = 0, int succeededCount = 0, int failedCount = 0, int unavailableCount = 0, DateTime createdAt = default, DateTime updatedAt = default, List<PhoneProvisioningJobItemDto> items = null)
Parameters
| Type | Name | Description |
|---|---|---|
| Guid | id | id (required). |
| Guid | userId | userId (required). |
| PhoneProvisioningJobDto.PhoneCountryEnum | phoneCountry | phoneCountry (required). |
| PhoneProvisioningJobDto.PhoneVariantEnum? | phoneVariant | phoneVariant. |
| PhoneProvisioningJobDto.StatusEnum | status | status (required). |
| int | requestedCount | requestedCount (required). |
| int | attemptedCount | attemptedCount (required). |
| int | succeededCount | succeededCount (required). |
| int | failedCount | failedCount (required). |
| int | unavailableCount | unavailableCount (required). |
| DateTime | createdAt | createdAt (required). |
| DateTime | updatedAt | updatedAt (required). |
| List<PhoneProvisioningJobItemDto> | items | items (required). |
Properties
View SourceAttemptedCount
Gets or Sets AttemptedCount
Declaration
[DataMember(Name = "attemptedCount", IsRequired = true, EmitDefaultValue = true)]
public int AttemptedCount { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
CreatedAt
Gets or Sets CreatedAt
Declaration
[DataMember(Name = "createdAt", IsRequired = true, EmitDefaultValue = true)]
public DateTime CreatedAt { get; set; }
Property Value
| Type | Description |
|---|---|
| DateTime |
FailedCount
Gets or Sets FailedCount
Declaration
[DataMember(Name = "failedCount", IsRequired = true, EmitDefaultValue = true)]
public int FailedCount { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
Id
Gets or Sets Id
Declaration
[DataMember(Name = "id", IsRequired = true, EmitDefaultValue = true)]
public Guid Id { get; set; }
Property Value
| Type | Description |
|---|---|
| Guid |
Items
Gets or Sets Items
Declaration
[DataMember(Name = "items", IsRequired = true, EmitDefaultValue = true)]
public List<PhoneProvisioningJobItemDto> Items { get; set; }
Property Value
| Type | Description |
|---|---|
| List<PhoneProvisioningJobItemDto> |
PhoneCountry
Gets or Sets PhoneCountry
Declaration
[DataMember(Name = "phoneCountry", IsRequired = true, EmitDefaultValue = true)]
public PhoneProvisioningJobDto.PhoneCountryEnum PhoneCountry { get; set; }
Property Value
| Type | Description |
|---|---|
| PhoneProvisioningJobDto.PhoneCountryEnum |
PhoneVariant
Gets or Sets PhoneVariant
Declaration
[DataMember(Name = "phoneVariant", EmitDefaultValue = false)]
public PhoneProvisioningJobDto.PhoneVariantEnum? PhoneVariant { get; set; }
Property Value
| Type | Description |
|---|---|
| PhoneProvisioningJobDto.PhoneVariantEnum? |
RequestedCount
Gets or Sets RequestedCount
Declaration
[DataMember(Name = "requestedCount", IsRequired = true, EmitDefaultValue = true)]
public int RequestedCount { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
Status
Gets or Sets Status
Declaration
[DataMember(Name = "status", IsRequired = true, EmitDefaultValue = true)]
public PhoneProvisioningJobDto.StatusEnum Status { get; set; }
Property Value
| Type | Description |
|---|---|
| PhoneProvisioningJobDto.StatusEnum |
SucceededCount
Gets or Sets SucceededCount
Declaration
[DataMember(Name = "succeededCount", IsRequired = true, EmitDefaultValue = true)]
public int SucceededCount { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
UnavailableCount
Gets or Sets UnavailableCount
Declaration
[DataMember(Name = "unavailableCount", IsRequired = true, EmitDefaultValue = true)]
public int UnavailableCount { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
UpdatedAt
Gets or Sets UpdatedAt
Declaration
[DataMember(Name = "updatedAt", IsRequired = true, EmitDefaultValue = true)]
public DateTime UpdatedAt { get; set; }
Property Value
| Type | Description |
|---|---|
| DateTime |
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 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 |