Search Results for

    Show / Hide Table of Contents

    Class SentEmailProjection

    SentEmailProjection

    Inheritance
    object
    SentEmailProjection
    Implements
    IEquatable<SentEmailProjection>
    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 = "SentEmailProjection")]
    public class SentEmailProjection : IEquatable<SentEmailProjection>, IValidatableObject

    Constructors

    View Source

    SentEmailProjection()

    Initializes a new instance of the SentEmailProjection class.

    Declaration
    [JsonConstructor]
    protected SentEmailProjection()
    View Source

    SentEmailProjection(DateTime, Guid, string, string, List<string>, Guid, Guid, List<string>, List<string>, List<string>, string, bool)

    Initializes a new instance of the SentEmailProjection class.

    Declaration
    public SentEmailProjection(DateTime createdAt = default, Guid id = default, string from = null, string subject = null, List<string> attachments = null, Guid inboxId = default, Guid userId = default, List<string> to = null, List<string> bcc = null, List<string> cc = null, string bodyMD5Hash = null, bool virtualSend = false)
    Parameters
    Type Name Description
    DateTime createdAt

    createdAt (required).

    System.Guid id

    id (required).

    string from

    from.

    string subject

    subject.

    System.Collections.Generic.List<T><string> attachments

    attachments (required).

    System.Guid inboxId

    inboxId (required).

    System.Guid userId

    userId (required).

    System.Collections.Generic.List<T><string> to

    to (required).

    System.Collections.Generic.List<T><string> bcc

    bcc (required).

    System.Collections.Generic.List<T><string> cc

    cc (required).

    string bodyMD5Hash

    bodyMD5Hash.

    bool virtualSend

    virtualSend (required).

    Properties

    View Source

    Attachments

    Gets or Sets Attachments

    Declaration
    [DataMember(Name = "attachments", IsRequired = true, EmitDefaultValue = true)]
    public List<string> Attachments { get; set; }
    Property Value
    Type Description
    System.Collections.Generic.List<T><string>
    View Source

    Bcc

    Gets or Sets Bcc

    Declaration
    [DataMember(Name = "bcc", IsRequired = true, EmitDefaultValue = true)]
    public List<string> Bcc { get; set; }
    Property Value
    Type Description
    System.Collections.Generic.List<T><string>
    View Source

    BodyMD5Hash

    Gets or Sets BodyMD5Hash

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

    Cc

    Gets or Sets Cc

    Declaration
    [DataMember(Name = "cc", IsRequired = true, EmitDefaultValue = true)]
    public List<string> Cc { get; set; }
    Property Value
    Type Description
    System.Collections.Generic.List<T><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

    From

    Gets or Sets From

    Declaration
    [DataMember(Name = "from", EmitDefaultValue = false)]
    public string From { 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

    InboxId

    Gets or Sets InboxId

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

    Subject

    Gets or Sets Subject

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

    To

    Gets or Sets To

    Declaration
    [DataMember(Name = "to", IsRequired = true, EmitDefaultValue = true)]
    public List<string> To { get; set; }
    Property Value
    Type Description
    System.Collections.Generic.List<T><string>
    View Source

    UserId

    Gets or Sets UserId

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

    VirtualSend

    Gets or Sets VirtualSend

    Declaration
    [DataMember(Name = "virtualSend", IsRequired = true, EmitDefaultValue = true)]
    public bool VirtualSend { get; set; }
    Property Value
    Type Description
    bool

    Methods

    View Source

    Equals(SentEmailProjection)

    Returns true if SentEmailProjection instances are equal

    Declaration
    public bool Equals(SentEmailProjection input)
    Parameters
    Type Name Description
    SentEmailProjection input

    Instance of SentEmailProjection 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.