Class SearchAvailablePhoneNumbersOptions
Search criteria for advanced phone provisioning
Implements
Inherited Members
Namespace: mailslurp.Model
Assembly: mailslurp.dll
Syntax
[DataContract(Name = "SearchAvailablePhoneNumbersOptions")]
public class SearchAvailablePhoneNumbersOptions : IValidatableObject
Constructors
View SourceSearchAvailablePhoneNumbersOptions()
Initializes a new instance of the SearchAvailablePhoneNumbersOptions class.
Declaration
[JsonConstructor]
protected SearchAvailablePhoneNumbersOptions()
SearchAvailablePhoneNumbersOptions(PhoneCountryEnum, PhoneVariantEnum?, QualityFilterEnum?, string, string, string, string, List<string>, int?)
Initializes a new instance of the SearchAvailablePhoneNumbersOptions class.
Declaration
public SearchAvailablePhoneNumbersOptions(SearchAvailablePhoneNumbersOptions.PhoneCountryEnum phoneCountry = (SearchAvailablePhoneNumbersOptions.PhoneCountryEnum)0, SearchAvailablePhoneNumbersOptions.PhoneVariantEnum? phoneVariant = null, SearchAvailablePhoneNumbersOptions.QualityFilterEnum? qualityFilter = null, string lineType = null, string carrierName = null, string mobileCountryCode = null, string mobileNetworkCode = null, List<string> providerLabels = null, int? limit = null)
Parameters
| Type | Name | Description |
|---|---|---|
| SearchAvailablePhoneNumbersOptions.PhoneCountryEnum | phoneCountry | phoneCountry (required). |
| SearchAvailablePhoneNumbersOptions.PhoneVariantEnum? | phoneVariant | phoneVariant. |
| SearchAvailablePhoneNumbersOptions.QualityFilterEnum? | qualityFilter | Quality filter for advanced phone provisioning search. |
| string | lineType | lineType. |
| string | carrierName | carrierName. |
| string | mobileCountryCode | mobileCountryCode. |
| string | mobileNetworkCode | mobileNetworkCode. |
| List<string> | providerLabels | providerLabels. |
| int? | limit | limit. |
Properties
View SourceCarrierName
Gets or Sets CarrierName
Declaration
[DataMember(Name = "carrierName", EmitDefaultValue = true)]
public string CarrierName { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Limit
Gets or Sets Limit
Declaration
[DataMember(Name = "limit", EmitDefaultValue = true)]
public int? Limit { get; set; }
Property Value
| Type | Description |
|---|---|
| int? |
LineType
Gets or Sets LineType
Declaration
[DataMember(Name = "lineType", EmitDefaultValue = true)]
public string LineType { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
MobileCountryCode
Gets or Sets MobileCountryCode
Declaration
[DataMember(Name = "mobileCountryCode", EmitDefaultValue = true)]
public string MobileCountryCode { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
MobileNetworkCode
Gets or Sets MobileNetworkCode
Declaration
[DataMember(Name = "mobileNetworkCode", EmitDefaultValue = true)]
public string MobileNetworkCode { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
PhoneCountry
Gets or Sets PhoneCountry
Declaration
[DataMember(Name = "phoneCountry", IsRequired = true, EmitDefaultValue = true)]
public SearchAvailablePhoneNumbersOptions.PhoneCountryEnum PhoneCountry { get; set; }
Property Value
| Type | Description |
|---|---|
| SearchAvailablePhoneNumbersOptions.PhoneCountryEnum |
PhoneVariant
Gets or Sets PhoneVariant
Declaration
[DataMember(Name = "phoneVariant", EmitDefaultValue = true)]
public SearchAvailablePhoneNumbersOptions.PhoneVariantEnum? PhoneVariant { get; set; }
Property Value
| Type | Description |
|---|---|
| SearchAvailablePhoneNumbersOptions.PhoneVariantEnum? |
ProviderLabels
Gets or Sets ProviderLabels
Declaration
[DataMember(Name = "providerLabels", EmitDefaultValue = true)]
public List<string> ProviderLabels { get; set; }
Property Value
| Type | Description |
|---|---|
| List<string> |
QualityFilter
Quality filter for advanced phone provisioning search
Declaration
[DataMember(Name = "qualityFilter", EmitDefaultValue = true)]
public SearchAvailablePhoneNumbersOptions.QualityFilterEnum? QualityFilter { get; set; }
Property Value
| Type | Description |
|---|---|
| SearchAvailablePhoneNumbersOptions.QualityFilterEnum? | Quality filter for advanced phone provisioning search |
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 |