Class BouncedRecipientDto
Bounced recipient
Implements
Inherited Members
Namespace: mailslurp.Model
Assembly: mailslurp.dll
Syntax
[DataContract(Name = "BouncedRecipientDto")]
public class BouncedRecipientDto : IValidatableObject
Constructors
View SourceBouncedRecipientDto()
Initializes a new instance of the BouncedRecipientDto class.
Declaration
[JsonConstructor]
protected BouncedRecipientDto()
BouncedRecipientDto(Guid, Guid?, Guid?, string, string, string, string, string, DateTime)
Initializes a new instance of the BouncedRecipientDto class.
Declaration
public BouncedRecipientDto(Guid id = default, Guid? userId = null, Guid? sentEmailId = null, string recipient = null, string diagnosticCode = null, string action = null, string bounceType = null, string status = null, DateTime createdAt = default)
Parameters
Type | Name | Description |
---|---|---|
Guid | id | id (required). |
Guid? | userId | userId. |
Guid? | sentEmailId | sentEmailId. |
string | recipient | recipient (required). |
string | diagnosticCode | diagnosticCode. |
string | action | action. |
string | bounceType | bounceType. |
string | status | status. |
DateTime | createdAt | createdAt (required). |
Properties
View SourceAction
Gets or Sets Action
Declaration
[DataMember(Name = "action", EmitDefaultValue = true)]
public string Action { get; set; }
Property Value
Type | Description |
---|---|
string |
BounceType
Gets or Sets BounceType
Declaration
[DataMember(Name = "bounceType", EmitDefaultValue = true)]
public string BounceType { get; set; }
Property Value
Type | Description |
---|---|
string |
CreatedAt
Gets or Sets CreatedAt
Declaration
[DataMember(Name = "createdAt", IsRequired = true, EmitDefaultValue = true)]
public DateTime CreatedAt { get; set; }
Property Value
Type | Description |
---|---|
DateTime |
DiagnosticCode
Gets or Sets DiagnosticCode
Declaration
[DataMember(Name = "diagnosticCode", EmitDefaultValue = true)]
public string DiagnosticCode { 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 |
Recipient
Gets or Sets Recipient
Declaration
[DataMember(Name = "recipient", IsRequired = true, EmitDefaultValue = true)]
public string Recipient { get; set; }
Property Value
Type | Description |
---|---|
string |
SentEmailId
Gets or Sets SentEmailId
Declaration
[DataMember(Name = "sentEmailId", EmitDefaultValue = true)]
public Guid? SentEmailId { get; set; }
Property Value
Type | Description |
---|---|
Guid? |
Status
Gets or Sets Status
Declaration
[DataMember(Name = "status", EmitDefaultValue = true)]
public string Status { get; set; }
Property Value
Type | Description |
---|---|
string |
UserId
Gets or Sets UserId
Declaration
[DataMember(Name = "userId", EmitDefaultValue = true)]
public Guid? UserId { get; set; }
Property Value
Type | Description |
---|---|
Guid? |
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 |