Class ImapServerFetchItem
IMAP fetch content in raw format
Implements
Inherited Members
Namespace: mailslurp.Model
Assembly: mailslurp.dll
Syntax
[DataContract(Name = "ImapServerFetchItem")]
public class ImapServerFetchItem : IValidatableObject
Constructors
View SourceImapServerFetchItem()
Initializes a new instance of the ImapServerFetchItem class.
Declaration
[JsonConstructor]
protected ImapServerFetchItem()
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 SourceContent
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 |
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 |
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 |
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 |
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 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 |