Class ListUnsubscribeRecipientProjection
List unsubscribe recipient
Implements
Inherited Members
Namespace: mailslurp.Model
Assembly: mailslurp.dll
Syntax
[DataContract(Name = "ListUnsubscribeRecipientProjection")]
public class ListUnsubscribeRecipientProjection : IEquatable<ListUnsubscribeRecipientProjection>, IValidatableObject
Constructors
View SourceListUnsubscribeRecipientProjection()
Initializes a new instance of the ListUnsubscribeRecipientProjection class.
Declaration
[JsonConstructor]
protected ListUnsubscribeRecipientProjection()
ListUnsubscribeRecipientProjection(DateTime, string, Guid?, Guid)
Initializes a new instance of the ListUnsubscribeRecipientProjection class.
Declaration
public ListUnsubscribeRecipientProjection(DateTime createdAt = default, string emailAddress = null, Guid? domainId = null, Guid id = default)
Parameters
Type | Name | Description |
---|---|---|
DateTime | createdAt | createdAt (required). |
string | emailAddress | emailAddress (required). |
System.Guid? | domainId | domainId. |
System.Guid | id | id (required). |
Properties
View SourceCreatedAt
Gets or Sets CreatedAt
Declaration
[DataMember(Name = "createdAt", IsRequired = true, EmitDefaultValue = true)]
public DateTime CreatedAt { get; set; }
Property Value
Type | Description |
---|---|
DateTime |
DomainId
Gets or Sets DomainId
Declaration
[DataMember(Name = "domainId", EmitDefaultValue = true)]
public Guid? DomainId { get; set; }
Property Value
Type | Description |
---|---|
System.Guid? |
EmailAddress
Gets or Sets EmailAddress
Declaration
[DataMember(Name = "emailAddress", IsRequired = true, EmitDefaultValue = true)]
public string EmailAddress { 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 |
Methods
View SourceEquals(ListUnsubscribeRecipientProjection)
Returns true if ListUnsubscribeRecipientProjection instances are equal
Declaration
public bool Equals(ListUnsubscribeRecipientProjection input)
Parameters
Type | Name | Description |
---|---|---|
ListUnsubscribeRecipientProjection | input | Instance of ListUnsubscribeRecipientProjection 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 |