Search Results for

    Show / Hide Table of Contents

    Class EmailThreadDto

    EmailThreadDto

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

    Constructors

    View Source

    EmailThreadDto()

    Initializes a new instance of the EmailThreadDto class.

    Declaration
    [JsonConstructor]
    protected EmailThreadDto()
    View Source

    EmailThreadDto(Guid, Guid, Guid, string, List<string>, List<string>, List<string>, Sender, EmailRecipients, string, DateTime, DateTime)

    Initializes a new instance of the EmailThreadDto class.

    Declaration
    public EmailThreadDto(Guid id = default, Guid userId = default, Guid inboxId = default, string from = null, List<string> to = null, List<string> cc = null, List<string> bcc = null, Sender sender = null, EmailRecipients recipients = null, string subject = null, DateTime createdAt = default, DateTime updatedAt = default)
    Parameters
    Type Name Description
    Guid id

    ID of email thread (required).

    Guid userId

    User ID (required).

    Guid inboxId

    Inbox ID.

    string from

    From sender.

    List<string> to

    To recipients (required).

    List<string> cc

    CC recipients.

    List<string> bcc

    BCC recipients.

    Sender sender

    sender.

    EmailRecipients recipients

    recipients.

    string subject

    Thread topic subject.

    DateTime createdAt

    Created at DateTime (required).

    DateTime updatedAt

    Updated at DateTime (required).

    Properties

    View Source

    Bcc

    BCC recipients

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

    BCC recipients

    View Source

    Cc

    CC recipients

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

    CC recipients

    View Source

    CreatedAt

    Created at DateTime

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

    Created at DateTime

    View Source

    From

    From sender

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

    From sender

    View Source

    Id

    ID of email thread

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

    ID of email thread

    View Source

    InboxId

    Inbox ID

    Declaration
    [DataMember(Name = "inboxId", EmitDefaultValue = false)]
    public Guid InboxId { get; set; }
    Property Value
    Type Description
    Guid

    Inbox ID

    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

    Thread topic subject

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

    Thread topic subject

    View Source

    To

    To recipients

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

    To recipients

    View Source

    UpdatedAt

    Updated at DateTime

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

    Updated at DateTime

    View Source

    UserId

    User ID

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

    User ID

    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.