Class PhoneProvisioningJobItemDto
PhoneProvisioningJobItemDto
Implements
Inherited Members
Namespace: mailslurp.Model
Assembly: mailslurp.dll
Syntax
[DataContract(Name = "PhoneProvisioningJobItemDto")]
public class PhoneProvisioningJobItemDto : IValidatableObject
Constructors
View SourcePhoneProvisioningJobItemDto()
Initializes a new instance of the PhoneProvisioningJobItemDto class.
Declaration
[JsonConstructor]
protected PhoneProvisioningJobItemDto()
PhoneProvisioningJobItemDto(Guid, string, string, StatusEnum, string, string, string, string, Guid, string)
Initializes a new instance of the PhoneProvisioningJobItemDto class.
Declaration
public PhoneProvisioningJobItemDto(Guid id = default, string phoneNumber = null, string providerLabel = null, PhoneProvisioningJobItemDto.StatusEnum status = (PhoneProvisioningJobItemDto.StatusEnum)0, string lineType = null, string carrierName = null, string mobileCountryCode = null, string mobileNetworkCode = null, Guid phoneNumberId = default, string failureMessage = null)
Parameters
| Type | Name | Description |
|---|---|---|
| Guid | id | id (required). |
| string | phoneNumber | phoneNumber (required). |
| string | providerLabel | providerLabel. |
| PhoneProvisioningJobItemDto.StatusEnum | status | status (required). |
| string | lineType | lineType. |
| string | carrierName | carrierName. |
| string | mobileCountryCode | mobileCountryCode. |
| string | mobileNetworkCode | mobileNetworkCode. |
| Guid | phoneNumberId | phoneNumberId. |
| string | failureMessage | failureMessage. |
Properties
View SourceCarrierName
Gets or Sets CarrierName
Declaration
[DataMember(Name = "carrierName", EmitDefaultValue = false)]
public string CarrierName { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
FailureMessage
Gets or Sets FailureMessage
Declaration
[DataMember(Name = "failureMessage", EmitDefaultValue = false)]
public string FailureMessage { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Id
Gets or Sets Id
Declaration
[DataMember(Name = "id", IsRequired = true, EmitDefaultValue = true)]
public Guid Id { get; set; }
Property Value
| Type | Description |
|---|---|
| Guid |
LineType
Gets or Sets LineType
Declaration
[DataMember(Name = "lineType", EmitDefaultValue = false)]
public string LineType { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
MobileCountryCode
Gets or Sets MobileCountryCode
Declaration
[DataMember(Name = "mobileCountryCode", EmitDefaultValue = false)]
public string MobileCountryCode { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
MobileNetworkCode
Gets or Sets MobileNetworkCode
Declaration
[DataMember(Name = "mobileNetworkCode", EmitDefaultValue = false)]
public string MobileNetworkCode { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
PhoneNumber
Gets or Sets PhoneNumber
Declaration
[DataMember(Name = "phoneNumber", IsRequired = true, EmitDefaultValue = true)]
public string PhoneNumber { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
PhoneNumberId
Gets or Sets PhoneNumberId
Declaration
[DataMember(Name = "phoneNumberId", EmitDefaultValue = false)]
public Guid PhoneNumberId { get; set; }
Property Value
| Type | Description |
|---|---|
| Guid |
ProviderLabel
Gets or Sets ProviderLabel
Declaration
[DataMember(Name = "providerLabel", EmitDefaultValue = false)]
public string ProviderLabel { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Status
Gets or Sets Status
Declaration
[DataMember(Name = "status", IsRequired = true, EmitDefaultValue = true)]
public PhoneProvisioningJobItemDto.StatusEnum Status { get; set; }
Property Value
| Type | Description |
|---|---|
| PhoneProvisioningJobItemDto.StatusEnum |
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 |