Class CreatePhoneProvisioningJobItemOptions
CreatePhoneProvisioningJobItemOptions
Implements
Inherited Members
Namespace: mailslurp.Model
Assembly: mailslurp.dll
Syntax
[DataContract(Name = "CreatePhoneProvisioningJobItemOptions")]
public class CreatePhoneProvisioningJobItemOptions : IValidatableObject
Constructors
View SourceCreatePhoneProvisioningJobItemOptions()
Initializes a new instance of the CreatePhoneProvisioningJobItemOptions class.
Declaration
[JsonConstructor]
protected CreatePhoneProvisioningJobItemOptions()
CreatePhoneProvisioningJobItemOptions(string, string, string, string, string, string)
Initializes a new instance of the CreatePhoneProvisioningJobItemOptions class.
Declaration
public CreatePhoneProvisioningJobItemOptions(string phoneNumber = null, string providerLabel = null, string lineType = null, string carrierName = null, string mobileCountryCode = null, string mobileNetworkCode = null)
Parameters
| Type | Name | Description |
|---|---|---|
| string | phoneNumber | phoneNumber (required). |
| string | providerLabel | providerLabel. |
| string | lineType | lineType. |
| string | carrierName | carrierName. |
| string | mobileCountryCode | mobileCountryCode. |
| string | mobileNetworkCode | mobileNetworkCode. |
Properties
View SourceCarrierName
Gets or Sets CarrierName
Declaration
[DataMember(Name = "carrierName", EmitDefaultValue = false)]
public string CarrierName { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
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 |
ProviderLabel
Gets or Sets ProviderLabel
Declaration
[DataMember(Name = "providerLabel", EmitDefaultValue = false)]
public string ProviderLabel { 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 |