Search Results for

    Show / Hide Table of Contents

    Class EmailThreadItem

    EmailThreadItem

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

    Constructors

    View Source

    EmailThreadItem()

    Initializes a new instance of the EmailThreadItem class.

    Declaration
    [JsonConstructor]
    protected EmailThreadItem()
    View Source

    EmailThreadItem(ItemTypeEnum, Guid, string, string, string, List<string>, string, List<string>, List<string>, List<string>, DateTime, bool, string, string, Guid?, Sender, EmailRecipients)

    Initializes a new instance of the EmailThreadItem class.

    Declaration
    public EmailThreadItem(EmailThreadItem.ItemTypeEnum itemType = (EmailThreadItem.ItemTypeEnum)0, Guid entityId = default, string bodyExcerpt = null, string textExcerpt = null, string subject = null, List<string> to = null, string from = null, List<string> bcc = null, List<string> cc = null, List<string> attachments = null, DateTime createdAt = default, bool read = false, string inReplyTo = null, string messageId = null, Guid? threadId = null, Sender sender = null, EmailRecipients recipients = null)
    Parameters
    Type Name Description
    EmailThreadItem.ItemTypeEnum itemType

    itemType (required).

    Guid entityId

    entityId (required).

    string bodyExcerpt

    bodyExcerpt.

    string textExcerpt

    textExcerpt.

    string subject

    subject.

    List<string> to

    to (required).

    string from

    from.

    List<string> bcc

    bcc.

    List<string> cc

    cc.

    List<string> attachments

    attachments.

    DateTime createdAt

    createdAt (required).

    bool read

    read (required).

    string inReplyTo

    inReplyTo.

    string messageId

    messageId.

    Guid? threadId

    threadId.

    Sender sender

    sender.

    EmailRecipients recipients

    recipients.

    Properties

    View Source

    Attachments

    Gets or Sets Attachments

    Declaration
    [DataMember(Name = "attachments", EmitDefaultValue = true)]
    public List<string> Attachments { get; set; }
    Property Value
    Type Description
    List<string>
    View Source

    Bcc

    Gets or Sets Bcc

    Declaration
    [DataMember(Name = "bcc", EmitDefaultValue = true)]
    public List<string> Bcc { get; set; }
    Property Value
    Type Description
    List<string>
    View Source

    BodyExcerpt

    Gets or Sets BodyExcerpt

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

    Cc

    Gets or Sets Cc

    Declaration
    [DataMember(Name = "cc", EmitDefaultValue = true)]
    public List<string> Cc { get; set; }
    Property Value
    Type Description
    List<string>
    View Source

    CreatedAt

    Gets or Sets CreatedAt

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

    EntityId

    Gets or Sets EntityId

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

    From

    Gets or Sets From

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

    InReplyTo

    Gets or Sets InReplyTo

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

    ItemType

    Gets or Sets ItemType

    Declaration
    [DataMember(Name = "itemType", IsRequired = true, EmitDefaultValue = true)]
    public EmailThreadItem.ItemTypeEnum ItemType { get; set; }
    Property Value
    Type Description
    EmailThreadItem.ItemTypeEnum
    View Source

    MessageId

    Gets or Sets MessageId

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

    Read

    Gets or Sets Read

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

    Recipients

    Gets or Sets Recipients

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

    Sender

    Gets or Sets Sender

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

    Subject

    Gets or Sets Subject

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

    TextExcerpt

    Gets or Sets TextExcerpt

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

    ThreadId

    Gets or Sets ThreadId

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

    To

    Gets or Sets To

    Declaration
    [DataMember(Name = "to", IsRequired = true, EmitDefaultValue = true)]
    public List<string> To { get; set; }
    Property Value
    Type Description
    List<string>

    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.