Search Results for

    Show / Hide Table of Contents

    Class WaitForSingleSmsOptions

    WaitForSingleSmsOptions

    Inheritance
    object
    WaitForSingleSmsOptions
    Implements
    IEquatable<WaitForSingleSmsOptions>
    System.ComponentModel.DataAnnotations.IValidatableObject
    Inherited Members
    object.Equals(object, object)
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    Namespace: mailslurp.Model
    Assembly: mailslurp.dll
    Syntax
    [DataContract(Name = "WaitForSingleSmsOptions")]
    public class WaitForSingleSmsOptions : IEquatable<WaitForSingleSmsOptions>, IValidatableObject

    Constructors

    View Source

    WaitForSingleSmsOptions()

    Initializes a new instance of the WaitForSingleSmsOptions class.

    Declaration
    [JsonConstructor]
    protected WaitForSingleSmsOptions()
    View Source

    WaitForSingleSmsOptions(Guid, long, bool, DateTime, DateTime, SortDirectionEnum?, long)

    Initializes a new instance of the WaitForSingleSmsOptions class.

    Declaration
    public WaitForSingleSmsOptions(Guid phoneNumberId = default, long timeout = 0, bool unreadOnly = false, DateTime before = default, DateTime since = default, WaitForSingleSmsOptions.SortDirectionEnum? sortDirection = null, long delay = 0)
    Parameters
    Type Name Description
    System.Guid phoneNumberId

    phoneNumberId (required).

    long timeout

    timeout (required).

    bool unreadOnly

    unreadOnly.

    DateTime before

    before.

    DateTime since

    since.

    WaitForSingleSmsOptions.SortDirectionEnum? sortDirection

    sortDirection.

    long delay

    delay.

    Properties

    View Source

    Before

    Gets or Sets Before

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

    Delay

    Gets or Sets Delay

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

    PhoneNumberId

    Gets or Sets PhoneNumberId

    Declaration
    [DataMember(Name = "phoneNumberId", IsRequired = true, EmitDefaultValue = true)]
    public Guid PhoneNumberId { get; set; }
    Property Value
    Type Description
    System.Guid
    View Source

    Since

    Gets or Sets Since

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

    SortDirection

    Gets or Sets SortDirection

    Declaration
    [DataMember(Name = "sortDirection", EmitDefaultValue = false)]
    public WaitForSingleSmsOptions.SortDirectionEnum? SortDirection { get; set; }
    Property Value
    Type Description
    WaitForSingleSmsOptions.SortDirectionEnum?
    View Source

    Timeout

    Gets or Sets Timeout

    Declaration
    [DataMember(Name = "timeout", IsRequired = true, EmitDefaultValue = true)]
    public long Timeout { get; set; }
    Property Value
    Type Description
    long
    View Source

    UnreadOnly

    Gets or Sets UnreadOnly

    Declaration
    [DataMember(Name = "unreadOnly", EmitDefaultValue = true)]
    public bool UnreadOnly { get; set; }
    Property Value
    Type Description
    bool

    Methods

    View Source

    Equals(WaitForSingleSmsOptions)

    Returns true if WaitForSingleSmsOptions instances are equal

    Declaration
    public bool Equals(WaitForSingleSmsOptions input)
    Parameters
    Type Name Description
    WaitForSingleSmsOptions input

    Instance of WaitForSingleSmsOptions to be compared

    Returns
    Type Description
    bool

    Boolean

    View Source

    Equals(object)

    Returns true if objects are equal

    Declaration
    public override bool Equals(object input)
    Parameters
    Type Name Description
    object input

    Object to be compared

    Returns
    Type Description
    bool

    Boolean

    Overrides
    Object.Equals(Object)
    View Source

    GetHashCode()

    Gets the hash code

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    int

    Hash code

    Overrides
    Object.GetHashCode()
    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()
    View Source

    Validate(ValidationContext)

    To validate all properties of the instance

    Declaration
    public IEnumerable<ValidationResult> Validate(ValidationContext validationContext)
    Parameters
    Type Name Description
    ValidationContext validationContext

    Validation context

    Returns
    Type Description
    IEnumerable<ValidationResult>

    Validation Result

    Implements

    System.IEquatable<T>
    System.ComponentModel.DataAnnotations.IValidatableObject
    • View Source
    In This Article
    Back to top See MailSlurp website for more information.