Search Results for

    Show / Hide Table of Contents

    Class FakeEmailDto

    FakeEmailDto

    Inheritance
    object
    FakeEmailDto
    Implements
    IValidatableObject
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    Namespace: mailslurp.Model
    Assembly: mailslurp.dll
    Syntax
    [DataContract(Name = "FakeEmailDto")]
    public class FakeEmailDto : IValidatableObject

    Constructors

    View Source

    FakeEmailDto()

    Initializes a new instance of the FakeEmailDto class.

    Declaration
    [JsonConstructor]
    protected FakeEmailDto()
    View Source

    FakeEmailDto(Guid, string, Sender, EmailRecipients, List<string>, string, string, string, bool, DateTime, string, string)

    Initializes a new instance of the FakeEmailDto class.

    Declaration
    public FakeEmailDto(Guid id = default, string emailAddress = null, Sender sender = null, EmailRecipients recipients = null, List<string> attachmentNames = null, string subject = null, string preview = null, string body = null, bool seen = false, DateTime createdAt = default, string contentType = null, string bodyUrl = null)
    Parameters
    Type Name Description
    Guid id

    id (required).

    string emailAddress

    emailAddress (required).

    Sender sender

    sender.

    EmailRecipients recipients

    recipients.

    List<string> attachmentNames

    attachmentNames (required).

    string subject

    subject.

    string preview

    preview.

    string body

    body (required).

    bool seen

    seen (required).

    DateTime createdAt

    createdAt (required).

    string contentType

    contentType (required).

    string bodyUrl

    bodyUrl (required).

    Properties

    View Source

    AttachmentNames

    Gets or Sets AttachmentNames

    Declaration
    [DataMember(Name = "attachmentNames", IsRequired = true, EmitDefaultValue = true)]
    public List<string> AttachmentNames { get; set; }
    Property Value
    Type Description
    List<string>
    View Source

    Body

    Gets or Sets Body

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

    BodyUrl

    Gets or Sets BodyUrl

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

    ContentType

    Gets or Sets ContentType

    Declaration
    [DataMember(Name = "contentType", IsRequired = true, EmitDefaultValue = true)]
    public string ContentType { 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

    EmailAddress

    Gets or Sets EmailAddress

    Declaration
    [DataMember(Name = "emailAddress", IsRequired = true, EmitDefaultValue = true)]
    public string EmailAddress { 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
    Guid
    View Source

    Preview

    Gets or Sets Preview

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

    Recipients

    Gets or Sets Recipients

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

    Seen

    Gets or Sets Seen

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

    Sender

    Gets or Sets Sender

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

    Subject

    Gets or Sets Subject

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

    Methods

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

    Implements

    IValidatableObject
    • View Source
    In this article
    Back to top See MailSlurp website for more information.