Class MissedEmailDto
Missed email
Inherited Members
Namespace: mailslurp.Model
Assembly: mailslurp.dll
Syntax
[DataContract(Name = "MissedEmailDto")]
public class MissedEmailDto : IEquatable<MissedEmailDto>, IValidatableObject
Constructors
View SourceMissedEmailDto()
Initializes a new instance of the MissedEmailDto class.
Declaration
[JsonConstructor]
protected MissedEmailDto()
MissedEmailDto(Guid, Guid?, string, string, int, string, string, string, string, bool?, List<string>, List<string>, List<string>, List<Guid>, DateTime, DateTime)
Initializes a new instance of the MissedEmailDto class.
Declaration
public MissedEmailDto(Guid id = default, Guid? userId = null, string subject = null, string bodyExcerpt = null, int attachmentCount = 0, string from = null, string rawUrl = null, string rawKey = null, string rawBucket = null, bool? canRestore = null, List<string> to = null, List<string> cc = null, List<string> bcc = null, List<Guid> inboxIds = null, DateTime createdAt = default, DateTime updatedAt = default)
Parameters
Type | Name | Description |
---|---|---|
System.Guid | id | id (required). |
System.Guid? | userId | userId. |
string | subject | subject. |
string | bodyExcerpt | bodyExcerpt. |
int | attachmentCount | attachmentCount (required). |
string | from | from. |
string | rawUrl | rawUrl. |
string | rawKey | rawKey. |
string | rawBucket | rawBucket. |
bool? | canRestore | canRestore. |
System.Collections.Generic.List<T><string> | to | to (required). |
System.Collections.Generic.List<T><string> | cc | cc (required). |
System.Collections.Generic.List<T><string> | bcc | bcc (required). |
System.Collections.Generic.List<T><System.Guid> | inboxIds | inboxIds (required). |
DateTime | createdAt | createdAt (required). |
DateTime | updatedAt | updatedAt (required). |
Properties
View SourceAttachmentCount
Gets or Sets AttachmentCount
Declaration
[DataMember(Name = "attachmentCount", IsRequired = true, EmitDefaultValue = true)]
public int AttachmentCount { get; set; }
Property Value
Type | Description |
---|---|
int |
Bcc
Gets or Sets Bcc
Declaration
[DataMember(Name = "bcc", IsRequired = true, EmitDefaultValue = true)]
public List<string> Bcc { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<T><string> |
BodyExcerpt
Gets or Sets BodyExcerpt
Declaration
[DataMember(Name = "bodyExcerpt", EmitDefaultValue = true)]
public string BodyExcerpt { get; set; }
Property Value
Type | Description |
---|---|
string |
CanRestore
Gets or Sets CanRestore
Declaration
[DataMember(Name = "canRestore", EmitDefaultValue = true)]
public bool? CanRestore { get; set; }
Property Value
Type | Description |
---|---|
bool? |
Cc
Gets or Sets Cc
Declaration
[DataMember(Name = "cc", IsRequired = true, EmitDefaultValue = true)]
public List<string> Cc { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<T><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 |
---|---|
System.Guid |
InboxIds
Gets or Sets InboxIds
Declaration
[DataMember(Name = "inboxIds", IsRequired = true, EmitDefaultValue = true)]
public List<Guid> InboxIds { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<T><System.Guid> |
RawBucket
Gets or Sets RawBucket
Declaration
[DataMember(Name = "rawBucket", EmitDefaultValue = true)]
public string RawBucket { get; set; }
Property Value
Type | Description |
---|---|
string |
RawKey
Gets or Sets RawKey
Declaration
[DataMember(Name = "rawKey", EmitDefaultValue = true)]
public string RawKey { get; set; }
Property Value
Type | Description |
---|---|
string |
RawUrl
Gets or Sets RawUrl
Declaration
[DataMember(Name = "rawUrl", EmitDefaultValue = true)]
public string RawUrl { get; set; }
Property Value
Type | Description |
---|---|
string |
Subject
Gets or Sets Subject
Declaration
[DataMember(Name = "subject", EmitDefaultValue = true)]
public string Subject { get; set; }
Property Value
Type | Description |
---|---|
string |
To
Gets or Sets To
Declaration
[DataMember(Name = "to", IsRequired = true, EmitDefaultValue = true)]
public List<string> To { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<T><string> |
UpdatedAt
Gets or Sets UpdatedAt
Declaration
[DataMember(Name = "updatedAt", IsRequired = true, EmitDefaultValue = true)]
public DateTime UpdatedAt { get; set; }
Property Value
Type | Description |
---|---|
DateTime |
UserId
Gets or Sets UserId
Declaration
[DataMember(Name = "userId", EmitDefaultValue = true)]
public Guid? UserId { get; set; }
Property Value
Type | Description |
---|---|
System.Guid? |
Methods
View SourceEquals(MissedEmailDto)
Returns true if MissedEmailDto instances are equal
Declaration
public bool Equals(MissedEmailDto input)
Parameters
Type | Name | Description |
---|---|---|
MissedEmailDto | input | Instance of MissedEmailDto to be compared |
Returns
Type | Description |
---|---|
bool | Boolean |
Equals(object)
Returns true if objects are equal
Declaration
public override bool Equals(object input)
Parameters
Type | Name | Description |
---|---|---|
object | input | Object to be compared |
Returns
Type | Description |
---|---|
bool | Boolean |
Overrides
View SourceGetHashCode()
Gets the hash code
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
int | Hash code |
Overrides
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 |
Overrides
Validate(ValidationContext)
To validate all properties of the instance
Declaration
public IEnumerable<ValidationResult> Validate(ValidationContext validationContext)
Parameters
Type | Name | Description |
---|---|---|
ValidationContext | validationContext | Validation context |
Returns
Type | Description |
---|---|
IEnumerable<ValidationResult> | Validation Result |