Class PhoneProviderCapabilitiesResult
PhoneProviderCapabilitiesResult
Implements
Inherited Members
Namespace: mailslurp.Model
Assembly: mailslurp.dll
Syntax
[DataContract(Name = "PhoneProviderCapabilitiesResult")]
public class PhoneProviderCapabilitiesResult : IValidatableObject
Constructors
View SourcePhoneProviderCapabilitiesResult()
Initializes a new instance of the PhoneProviderCapabilitiesResult class.
Declaration
[JsonConstructor]
protected PhoneProviderCapabilitiesResult()
PhoneProviderCapabilitiesResult(string, PhoneCountryEnum, List<string>, string)
Initializes a new instance of the PhoneProviderCapabilitiesResult class.
Declaration
public PhoneProviderCapabilitiesResult(string providerLabel = null, PhoneProviderCapabilitiesResult.PhoneCountryEnum phoneCountry = (PhoneProviderCapabilitiesResult.PhoneCountryEnum)0, List<string> supportedVariants = null, string warning = null)
Parameters
| Type | Name | Description |
|---|---|---|
| string | providerLabel | providerLabel (required). |
| PhoneProviderCapabilitiesResult.PhoneCountryEnum | phoneCountry | phoneCountry (required). |
| List<string> | supportedVariants | supportedVariants (required). |
| string | warning | warning. |
Properties
View SourcePhoneCountry
Gets or Sets PhoneCountry
Declaration
[DataMember(Name = "phoneCountry", IsRequired = true, EmitDefaultValue = true)]
public PhoneProviderCapabilitiesResult.PhoneCountryEnum PhoneCountry { get; set; }
Property Value
| Type | Description |
|---|---|
| PhoneProviderCapabilitiesResult.PhoneCountryEnum |
ProviderLabel
Gets or Sets ProviderLabel
Declaration
[DataMember(Name = "providerLabel", IsRequired = true, EmitDefaultValue = true)]
public string ProviderLabel { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
SupportedVariants
Gets or Sets SupportedVariants
Declaration
[DataMember(Name = "supportedVariants", IsRequired = true, EmitDefaultValue = true)]
public List<string> SupportedVariants { get; set; }
Property Value
| Type | Description |
|---|---|
| List<string> |
Warning
Gets or Sets Warning
Declaration
[DataMember(Name = "warning", EmitDefaultValue = false)]
public string Warning { 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 |