Search Results for

    Show / Hide Table of Contents

    Class ImapServerFetchItem

    IMAP fetch content in raw format

    Inheritance
    object
    ImapServerFetchItem
    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 = "ImapServerFetchItem")]
    public class ImapServerFetchItem : IValidatableObject

    Constructors

    View Source

    ImapServerFetchItem()

    Initializes a new instance of the ImapServerFetchItem class.

    Declaration
    [JsonConstructor]
    protected ImapServerFetchItem()
    View Source

    ImapServerFetchItem(string, Guid, long, long, bool)

    Initializes a new instance of the ImapServerFetchItem class.

    Declaration
    public ImapServerFetchItem(string content = null, Guid id = default, long uid = 0, long seqNum = 0, bool read = false)
    Parameters
    Type Name Description
    string content

    Content of the email (required).

    Guid id

    ID of the email (required).

    long uid

    UID of the email (required).

    long seqNum

    Sequence number of the email (required).

    bool read

    Read status of the email (required).

    Properties

    View Source

    Content

    Content of the email

    Declaration
    [DataMember(Name = "content", IsRequired = true, EmitDefaultValue = true)]
    public string Content { get; set; }
    Property Value
    Type Description
    string

    Content of the email

    View Source

    Id

    ID of the email

    Declaration
    [DataMember(Name = "id", IsRequired = true, EmitDefaultValue = true)]
    public Guid Id { get; set; }
    Property Value
    Type Description
    Guid

    ID of the email

    View Source

    Read

    Read status of the email

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

    Read status of the email

    View Source

    SeqNum

    Sequence number of the email

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

    Sequence number of the email

    View Source

    Uid

    UID of the email

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

    UID of the email

    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.