Search Results for

    Show / Hide Table of Contents

    Class AttachmentProjection

    Email attachment data

    Inheritance
    object
    AttachmentProjection
    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 = "AttachmentProjection")]
    public class AttachmentProjection : IValidatableObject

    Constructors

    View Source

    AttachmentProjection()

    Initializes a new instance of the AttachmentProjection class.

    Declaration
    [JsonConstructor]
    protected AttachmentProjection()
    View Source

    AttachmentProjection(Guid, Guid, DateTime, DateTime, string, string, string, Guid, long?, string)

    Initializes a new instance of the AttachmentProjection class.

    Declaration
    public AttachmentProjection(Guid userId = default, Guid inboxId = default, DateTime updatedAt = default, DateTime createdAt = default, string contentId = null, string attachmentId = null, string name = null, Guid id = default, long? contentLength = null, string contentType = null)
    Parameters
    Type Name Description
    Guid userId

    userId (required).

    Guid inboxId

    Inbox ID.

    DateTime updatedAt

    updatedAt (required).

    DateTime createdAt

    createdAt (required).

    string contentId

    Content ID of attachment..

    string attachmentId

    Attachment ID (required).

    string name

    name.

    Guid id

    ID (required).

    long? contentLength

    Content length of attachment in bytes.

    string contentType

    Content type of attachment..

    Properties

    View Source

    AttachmentId

    Attachment ID

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

    Attachment ID

    View Source

    ContentId

    Content ID of attachment.

    Declaration
    [DataMember(Name = "contentId", EmitDefaultValue = true)]
    public string ContentId { get; set; }
    Property Value
    Type Description
    string

    Content ID of attachment.

    View Source

    ContentLength

    Content length of attachment in bytes

    Declaration
    [DataMember(Name = "contentLength", EmitDefaultValue = true)]
    public long? ContentLength { get; set; }
    Property Value
    Type Description
    long?

    Content length of attachment in bytes

    View Source

    ContentType

    Content type of attachment.

    Declaration
    [DataMember(Name = "contentType", EmitDefaultValue = true)]
    public string ContentType { get; set; }
    Property Value
    Type Description
    string

    Content type of attachment.

    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

    Id

    ID

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

    ID

    View Source

    InboxId

    Inbox ID

    Declaration
    [DataMember(Name = "inboxId", EmitDefaultValue = false)]
    public Guid InboxId { get; set; }
    Property Value
    Type Description
    Guid

    Inbox ID

    View Source

    Name

    Gets or Sets Name

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

    UpdatedAt

    Gets or Sets UpdatedAt

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

    UserId

    Gets or Sets UserId

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

    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.