Class AliasThreadProjection
A thread is a message thread created for a message received by an alias
Implements
Inherited Members
Namespace: mailslurp.Model
Assembly: mailslurp.dll
Syntax
[DataContract(Name = "AliasThreadProjection")]
public class AliasThreadProjection : IValidatableObject
Constructors
View SourceAliasThreadProjection()
Initializes a new instance of the AliasThreadProjection class.
Declaration
[JsonConstructor]
protected AliasThreadProjection()
AliasThreadProjection(Guid, Guid, DateTime, DateTime, List<string>, List<string>, List<string>, Guid, string, string, Guid)
Initializes a new instance of the AliasThreadProjection class.
Declaration
public AliasThreadProjection(Guid userId = default, Guid inboxId = default, DateTime updatedAt = default, DateTime createdAt = default, List<string> to = null, List<string> cc = null, List<string> bcc = null, Guid aliasId = default, string subject = null, string name = null, Guid id = default)
Parameters
Type | Name | Description |
---|---|---|
Guid | userId | User ID (required). |
Guid | inboxId | Inbox ID (required). |
DateTime | updatedAt | Updated at DateTime (required). |
DateTime | createdAt | Created at DateTime (required). |
List<string> | to | To recipients (required). |
List<string> | cc | CC recipients. |
List<string> | bcc | BCC recipients. |
Guid | aliasId | Alias ID (required). |
string | subject | Thread subject. |
string | name | Name of thread. |
Guid | id | ID of email thread (required). |
Properties
View SourceAliasId
Alias ID
Declaration
[DataMember(Name = "aliasId", IsRequired = true, EmitDefaultValue = true)]
public Guid AliasId { get; set; }
Property Value
Type | Description |
---|---|
Guid | Alias ID |
Bcc
BCC recipients
Declaration
[DataMember(Name = "bcc", EmitDefaultValue = false)]
public List<string> Bcc { get; set; }
Property Value
Type | Description |
---|---|
List<string> | BCC recipients |
Cc
CC recipients
Declaration
[DataMember(Name = "cc", EmitDefaultValue = false)]
public List<string> Cc { get; set; }
Property Value
Type | Description |
---|---|
List<string> | CC recipients |
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 |
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 |
InboxId
Inbox ID
Declaration
[DataMember(Name = "inboxId", IsRequired = true, EmitDefaultValue = true)]
public Guid InboxId { get; set; }
Property Value
Type | Description |
---|---|
Guid | Inbox ID |
Name
Name of thread
Declaration
[DataMember(Name = "name", EmitDefaultValue = false)]
public string Name { get; set; }
Property Value
Type | Description |
---|---|
string | Name of thread |
Subject
Thread subject
Declaration
[DataMember(Name = "subject", EmitDefaultValue = false)]
public string Subject { get; set; }
Property Value
Type | Description |
---|---|
string | Thread subject |
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 |
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 |
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 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 |