Class SentEmailProjection
SentEmailProjection
Implements
Inherited Members
Namespace: mailslurp.Model
Assembly: mailslurp.dll
Syntax
[DataContract(Name = "SentEmailProjection")]
public class SentEmailProjection : IValidatableObject
Constructors
View SourceSentEmailProjection()
Initializes a new instance of the SentEmailProjection class.
Declaration
[JsonConstructor]
protected SentEmailProjection()
SentEmailProjection(Guid, string, string, Sender, EmailRecipients, Guid, List<string>, Guid, DateTime, List<string>, List<string>, List<string>, string, string, string, string, string, bool, Guid?)
Initializes a new instance of the SentEmailProjection class.
Declaration
public SentEmailProjection(Guid id = default, string subject = null, string from = null, Sender sender = null, EmailRecipients recipients = null, Guid userId = default, List<string> attachments = null, Guid inboxId = default, DateTime createdAt = default, List<string> to = null, List<string> cc = null, List<string> bcc = null, string messageId = null, string inReplyTo = null, string bodyExcerpt = null, string textExcerpt = null, string bodyMD5Hash = null, bool virtualSend = false, Guid? threadId = null)
Parameters
Type | Name | Description |
---|---|---|
Guid | id | id (required). |
string | subject | subject. |
string | from | from. |
Sender | sender | sender. |
EmailRecipients | recipients | recipients. |
Guid | userId | userId (required). |
List<string> | attachments | attachments. |
Guid | inboxId | inboxId (required). |
DateTime | createdAt | createdAt (required). |
List<string> | to | to (required). |
List<string> | cc | cc (required). |
List<string> | bcc | bcc (required). |
string | messageId | messageId. |
string | inReplyTo | inReplyTo. |
string | bodyExcerpt | bodyExcerpt. |
string | textExcerpt | textExcerpt. |
string | bodyMD5Hash | bodyMD5Hash. |
bool | virtualSend | virtualSend (required). |
Guid? | threadId | threadId. |
Properties
View SourceAttachments
Gets or Sets Attachments
Declaration
[DataMember(Name = "attachments", EmitDefaultValue = true)]
public List<string> Attachments { get; set; }
Property Value
Type | Description |
---|---|
List<string> |
Bcc
Gets or Sets Bcc
Declaration
[DataMember(Name = "bcc", IsRequired = true, EmitDefaultValue = true)]
public List<string> Bcc { get; set; }
Property Value
Type | Description |
---|---|
List<string> |
BodyExcerpt
Gets or Sets BodyExcerpt
Declaration
[DataMember(Name = "bodyExcerpt", EmitDefaultValue = true)]
public string BodyExcerpt { get; set; }
Property Value
Type | Description |
---|---|
string |
BodyMD5Hash
Gets or Sets BodyMD5Hash
Declaration
[DataMember(Name = "bodyMD5Hash", EmitDefaultValue = true)]
public string BodyMD5Hash { get; set; }
Property Value
Type | Description |
---|---|
string |
Cc
Gets or Sets Cc
Declaration
[DataMember(Name = "cc", IsRequired = true, EmitDefaultValue = true)]
public List<string> Cc { get; set; }
Property Value
Type | Description |
---|---|
List<string> |
CreatedAt
Gets or Sets CreatedAt
Declaration
[DataMember(Name = "createdAt", IsRequired = true, EmitDefaultValue = true)]
public DateTime CreatedAt { get; set; }
Property Value
Type | Description |
---|---|
DateTime |
From
Gets or Sets From
Declaration
[DataMember(Name = "from", EmitDefaultValue = true)]
public string From { get; set; }
Property Value
Type | Description |
---|---|
string |
Id
Gets or Sets Id
Declaration
[DataMember(Name = "id", IsRequired = true, EmitDefaultValue = true)]
public Guid Id { get; set; }
Property Value
Type | Description |
---|---|
Guid |
InReplyTo
Gets or Sets InReplyTo
Declaration
[DataMember(Name = "inReplyTo", EmitDefaultValue = true)]
public string InReplyTo { get; set; }
Property Value
Type | Description |
---|---|
string |
InboxId
Gets or Sets InboxId
Declaration
[DataMember(Name = "inboxId", IsRequired = true, EmitDefaultValue = true)]
public Guid InboxId { get; set; }
Property Value
Type | Description |
---|---|
Guid |
MessageId
Gets or Sets MessageId
Declaration
[DataMember(Name = "messageId", EmitDefaultValue = true)]
public string MessageId { get; set; }
Property Value
Type | Description |
---|---|
string |
Recipients
Gets or Sets Recipients
Declaration
[DataMember(Name = "recipients", EmitDefaultValue = true)]
public EmailRecipients Recipients { get; set; }
Property Value
Type | Description |
---|---|
EmailRecipients |
Sender
Gets or Sets Sender
Declaration
[DataMember(Name = "sender", EmitDefaultValue = true)]
public Sender Sender { get; set; }
Property Value
Type | Description |
---|---|
Sender |
Subject
Gets or Sets Subject
Declaration
[DataMember(Name = "subject", EmitDefaultValue = true)]
public string Subject { get; set; }
Property Value
Type | Description |
---|---|
string |
TextExcerpt
Gets or Sets TextExcerpt
Declaration
[DataMember(Name = "textExcerpt", EmitDefaultValue = true)]
public string TextExcerpt { get; set; }
Property Value
Type | Description |
---|---|
string |
ThreadId
Gets or Sets ThreadId
Declaration
[DataMember(Name = "threadId", EmitDefaultValue = true)]
public Guid? ThreadId { get; set; }
Property Value
Type | Description |
---|---|
Guid? |
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> |
UserId
Gets or Sets UserId
Declaration
[DataMember(Name = "userId", IsRequired = true, EmitDefaultValue = true)]
public Guid UserId { get; set; }
Property Value
Type | Description |
---|---|
Guid |
VirtualSend
Gets or Sets VirtualSend
Declaration
[DataMember(Name = "virtualSend", IsRequired = true, EmitDefaultValue = true)]
public bool VirtualSend { get; set; }
Property Value
Type | Description |
---|---|
bool |
Methods
View SourceToJson()
Returns the JSON string presentation of the object
Declaration
public virtual string ToJson()
Returns
Type | Description |
---|---|
string | JSON string presentation of the object |
ToString()
Returns the string presentation of the object
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
string | String presentation of the object |