Class BounceRecipientProjection
Bounced recipient
Implements
Inherited Members
Namespace: mailslurp.Model
Assembly: mailslurp.dll
Syntax
[DataContract(Name = "BounceRecipientProjection")]
public class BounceRecipientProjection : IEquatable<BounceRecipientProjection>, IValidatableObject
Constructors
View SourceBounceRecipientProjection()
Initializes a new instance of the BounceRecipientProjection class.
Declaration
[JsonConstructor]
protected BounceRecipientProjection()
BounceRecipientProjection(DateTime, Guid?, string, string, string, Guid, string)
Initializes a new instance of the BounceRecipientProjection class.
Declaration
public BounceRecipientProjection(DateTime createdAt = default, Guid? sentEmailId = null, string recipient = null, string bounceType = null, string action = null, Guid id = default, string status = null)
Parameters
Type | Name | Description |
---|---|---|
DateTime | createdAt | createdAt (required). |
System.Guid? | sentEmailId | sentEmailId. |
string | recipient | recipient (required). |
string | bounceType | bounceType. |
string | action | action. |
System.Guid | id | id. |
string | status | status. |
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 |
Id
Gets or Sets Id
Declaration
[DataMember(Name = "id", EmitDefaultValue = false)]
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 |
Methods
View SourceEquals(BounceRecipientProjection)
Returns true if BounceRecipientProjection instances are equal
Declaration
public bool Equals(BounceRecipientProjection input)
Parameters
Type | Name | Description |
---|---|---|
BounceRecipientProjection | input | Instance of BounceRecipientProjection 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 |