Search Results for

    Show / Hide Table of Contents

    Class CreatePhoneNumberOptions

    CreatePhoneNumberOptions

    Inheritance
    object
    CreatePhoneNumberOptions
    Implements
    IValidatableObject
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    Namespace: mailslurp.Model
    Assembly: mailslurp.dll
    Syntax
    [DataContract(Name = "CreatePhoneNumberOptions")]
    public class CreatePhoneNumberOptions : IValidatableObject

    Constructors

    View Source

    CreatePhoneNumberOptions()

    Initializes a new instance of the CreatePhoneNumberOptions class.

    Declaration
    [JsonConstructor]
    protected CreatePhoneNumberOptions()
    View Source

    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 Source

    Description

    Gets or Sets Description

    Declaration
    [DataMember(Name = "description", EmitDefaultValue = false)]
    public string Description { get; set; }
    Property Value
    Type Description
    string
    View Source

    Name

    Gets or Sets Name

    Declaration
    [DataMember(Name = "name", EmitDefaultValue = false)]
    public string Name { get; set; }
    Property Value
    Type Description
    string
    View Source

    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
    View Source

    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 Source

    ToJson()

    Returns the JSON string presentation of the object

    Declaration
    public virtual string ToJson()
    Returns
    Type Description
    string

    JSON string presentation of the object

    View Source

    ToString()

    Returns the string presentation of the object

    Declaration
    public override string ToString()
    Returns
    Type Description
    string

    String presentation of the object

    Overrides
    object.ToString()

    Implements

    IValidatableObject
    • View Source
    In this article
    Back to top See MailSlurp website for more information.