Class BouncedRecipientDto
Bounced recipient
Inherited Members
Namespace: mailslurp.Model
Assembly: mailslurp.dll
Syntax
[DataContract(Name = "BouncedRecipientDto")]
public class BouncedRecipientDto : IEquatable<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 |
---|---|---|
System.Guid | id | id (required). |
System.Guid? | userId | userId. |
System.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 |
---|---|
System.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 |
---|---|
System.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 |
---|---|
System.Guid? |
Methods
View SourceEquals(BouncedRecipientDto)
Returns true if BouncedRecipientDto instances are equal
Declaration
public bool Equals(BouncedRecipientDto input)
Parameters
Type | Name | Description |
---|---|---|
BouncedRecipientDto | input | Instance of BouncedRecipientDto 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 |