Search Results for

    Show / Hide Table of Contents

    Class ImapServerSearchOptions

    IMAP server search options

    Inheritance
    object
    ImapServerSearchOptions
    Implements
    IEquatable<ImapServerSearchOptions>
    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 = "ImapServerSearchOptions")]
    public class ImapServerSearchOptions : IEquatable<ImapServerSearchOptions>, IValidatableObject

    Constructors

    View Source

    ImapServerSearchOptions(string, string, DateTime?, DateTime?, DateTime?, DateTime?, Dictionary<string, List<string>>, List<string>, List<string>, List<string>, List<string>)

    Initializes a new instance of the ImapServerSearchOptions class.

    Declaration
    public ImapServerSearchOptions(string seqNum = null, string uid = null, DateTime? since = null, DateTime? before = null, DateTime? sentSince = null, DateTime? sentBefore = null, Dictionary<string, List<string>> header = null, List<string> body = null, List<string> text = null, List<string> withFlags = null, List<string> withoutFlags = null)
    Parameters
    Type Name Description
    string seqNum

    seqNum.

    string uid

    uid.

    DateTime? since

    since.

    DateTime? before

    before.

    DateTime? sentSince

    sentSince.

    DateTime? sentBefore

    sentBefore.

    Dictionary<string, System.Collections.Generic.List<T><string>> header

    header.

    System.Collections.Generic.List<T><string> body

    body.

    System.Collections.Generic.List<T><string> text

    text.

    System.Collections.Generic.List<T><string> withFlags

    withFlags.

    System.Collections.Generic.List<T><string> withoutFlags

    withoutFlags.

    Properties

    View Source

    Before

    Gets or Sets Before

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

    Body

    Gets or Sets Body

    Declaration
    [DataMember(Name = "body", EmitDefaultValue = true)]
    public List<string> Body { get; set; }
    Property Value
    Type Description
    System.Collections.Generic.List<T><string>
    View Source

    Header

    Gets or Sets Header

    Declaration
    [DataMember(Name = "header", EmitDefaultValue = true)]
    public Dictionary<string, List<string>> Header { get; set; }
    Property Value
    Type Description
    Dictionary<string, System.Collections.Generic.List<T><string>>
    View Source

    SentBefore

    Gets or Sets SentBefore

    Declaration
    [DataMember(Name = "sentBefore", EmitDefaultValue = true)]
    public DateTime? SentBefore { get; set; }
    Property Value
    Type Description
    DateTime?
    View Source

    SentSince

    Gets or Sets SentSince

    Declaration
    [DataMember(Name = "sentSince", EmitDefaultValue = true)]
    public DateTime? SentSince { get; set; }
    Property Value
    Type Description
    DateTime?
    View Source

    SeqNum

    Gets or Sets SeqNum

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

    Since

    Gets or Sets Since

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

    Text

    Gets or Sets Text

    Declaration
    [DataMember(Name = "text", EmitDefaultValue = true)]
    public List<string> Text { get; set; }
    Property Value
    Type Description
    System.Collections.Generic.List<T><string>
    View Source

    Uid

    Gets or Sets Uid

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

    WithFlags

    Gets or Sets WithFlags

    Declaration
    [DataMember(Name = "withFlags", EmitDefaultValue = true)]
    public List<string> WithFlags { get; set; }
    Property Value
    Type Description
    System.Collections.Generic.List<T><string>
    View Source

    WithoutFlags

    Gets or Sets WithoutFlags

    Declaration
    [DataMember(Name = "withoutFlags", EmitDefaultValue = true)]
    public List<string> WithoutFlags { get; set; }
    Property Value
    Type Description
    System.Collections.Generic.List<T><string>

    Methods

    View Source

    Equals(ImapServerSearchOptions)

    Returns true if ImapServerSearchOptions instances are equal

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

    Instance of ImapServerSearchOptions 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.