Search Results for

    Show / Hide Table of Contents

    Class BouncedRecipientDto

    Bounced recipient

    Inheritance
    object
    BouncedRecipientDto
    Implements
    IEquatable<BouncedRecipientDto>
    System.ComponentModel.DataAnnotations.IValidatableObject
    Inherited Members
    object.Equals(object, object)
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    Namespace: mailslurp.Model
    Assembly: mailslurp.dll
    Syntax
    [DataContract(Name = "BouncedRecipientDto")]
    public class BouncedRecipientDto : IEquatable<BouncedRecipientDto>, IValidatableObject

    Constructors

    View Source

    BouncedRecipientDto()

    Initializes a new instance of the BouncedRecipientDto class.

    Declaration
    [JsonConstructor]
    protected BouncedRecipientDto()
    View Source

    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 Source

    Action

    Gets or Sets Action

    Declaration
    [DataMember(Name = "action", EmitDefaultValue = true)]
    public string Action { get; set; }
    Property Value
    Type Description
    string
    View Source

    BounceType

    Gets or Sets BounceType

    Declaration
    [DataMember(Name = "bounceType", EmitDefaultValue = true)]
    public string BounceType { get; set; }
    Property Value
    Type Description
    string
    View Source

    CreatedAt

    Gets or Sets CreatedAt

    Declaration
    [DataMember(Name = "createdAt", IsRequired = true, EmitDefaultValue = true)]
    public DateTime CreatedAt { get; set; }
    Property Value
    Type Description
    DateTime
    View Source

    DiagnosticCode

    Gets or Sets DiagnosticCode

    Declaration
    [DataMember(Name = "diagnosticCode", EmitDefaultValue = true)]
    public string DiagnosticCode { get; set; }
    Property Value
    Type Description
    string
    View Source

    Id

    Gets or Sets Id

    Declaration
    [DataMember(Name = "id", IsRequired = true, EmitDefaultValue = true)]
    public Guid Id { get; set; }
    Property Value
    Type Description
    System.Guid
    View Source

    Recipient

    Gets or Sets Recipient

    Declaration
    [DataMember(Name = "recipient", IsRequired = true, EmitDefaultValue = true)]
    public string Recipient { get; set; }
    Property Value
    Type Description
    string
    View Source

    SentEmailId

    Gets or Sets SentEmailId

    Declaration
    [DataMember(Name = "sentEmailId", EmitDefaultValue = true)]
    public Guid? SentEmailId { get; set; }
    Property Value
    Type Description
    System.Guid?
    View Source

    Status

    Gets or Sets Status

    Declaration
    [DataMember(Name = "status", EmitDefaultValue = true)]
    public string Status { get; set; }
    Property Value
    Type Description
    string
    View Source

    UserId

    Gets or Sets UserId

    Declaration
    [DataMember(Name = "userId", EmitDefaultValue = true)]
    public Guid? UserId { get; set; }
    Property Value
    Type Description
    System.Guid?

    Methods

    View Source

    Equals(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

    View Source

    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
    Object.Equals(Object)
    View Source

    GetHashCode()

    Gets the hash code

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    int

    Hash code

    Overrides
    Object.GetHashCode()
    View Source

    ToJson()

    Returns the JSON string presentation of the object

    Declaration
    public virtual string ToJson()
    Returns
    Type Description
    string

    JSON string presentation of the object

    View Source

    ToString()

    Returns the string presentation of the object

    Declaration
    public override string ToString()
    Returns
    Type Description
    string

    String presentation of the object

    Overrides
    object.ToString()
    View Source

    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

    Implements

    System.IEquatable<T>
    System.ComponentModel.DataAnnotations.IValidatableObject
    • View Source
    In This Article
    Back to top See MailSlurp website for more information.