Class CreatePhoneNumberOptions
CreatePhoneNumberOptions
Implements
Inherited Members
Namespace: mailslurp.Model
Assembly: mailslurp.dll
Syntax
[DataContract(Name = "CreatePhoneNumberOptions")]
public class CreatePhoneNumberOptions : IValidatableObject
Constructors
View SourceCreatePhoneNumberOptions()
Initializes a new instance of the CreatePhoneNumberOptions class.
Declaration
[JsonConstructor]
protected CreatePhoneNumberOptions()
CreatePhoneNumberOptions(PhoneCountryEnum, string, string, ScheduleEnum?)
Initializes a new instance of the CreatePhoneNumberOptions class.
Declaration
public CreatePhoneNumberOptions(CreatePhoneNumberOptions.PhoneCountryEnum phoneCountry = (CreatePhoneNumberOptions.PhoneCountryEnum)0, string name = null, string description = null, CreatePhoneNumberOptions.ScheduleEnum? schedule = null)
Parameters
| Type | Name | Description |
|---|---|---|
| CreatePhoneNumberOptions.PhoneCountryEnum | phoneCountry | phoneCountry (required). |
| string | name | name. |
| string | description | description. |
| CreatePhoneNumberOptions.ScheduleEnum? | schedule | schedule. |
Properties
View SourceDescription
Gets or Sets Description
Declaration
[DataMember(Name = "description", EmitDefaultValue = false)]
public string Description { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Name
Gets or Sets Name
Declaration
[DataMember(Name = "name", EmitDefaultValue = false)]
public string Name { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
PhoneCountry
Gets or Sets PhoneCountry
Declaration
[DataMember(Name = "phoneCountry", IsRequired = true, EmitDefaultValue = true)]
public CreatePhoneNumberOptions.PhoneCountryEnum PhoneCountry { get; set; }
Property Value
| Type | Description |
|---|---|
| CreatePhoneNumberOptions.PhoneCountryEnum |
Schedule
Gets or Sets Schedule
Declaration
[DataMember(Name = "schedule", EmitDefaultValue = false)]
public CreatePhoneNumberOptions.ScheduleEnum? Schedule { get; set; }
Property Value
| Type | Description |
|---|---|
| CreatePhoneNumberOptions.ScheduleEnum? |
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 |