Search Results for

    Show / Hide Table of Contents

    Class OrganizationInboxProjection

    Organization team inbox

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

    Constructors

    View Source

    OrganizationInboxProjection()

    Initializes a new instance of the OrganizationInboxProjection class.

    Declaration
    [JsonConstructor]
    protected OrganizationInboxProjection()
    View Source

    OrganizationInboxProjection(Guid, Guid?, DateTime, string, string, bool, List<string>, bool, InboxTypeEnum?, bool, bool, FunctionsAsEnum?)

    Initializes a new instance of the OrganizationInboxProjection class.

    Declaration
    public OrganizationInboxProjection(Guid id = default, Guid? domainId = null, DateTime createdAt = default, string name = null, string emailAddress = null, bool favourite = false, List<string> tags = null, bool teamAccess = false, OrganizationInboxProjection.InboxTypeEnum? inboxType = null, bool readOnly = false, bool virtualInbox = false, OrganizationInboxProjection.FunctionsAsEnum? functionsAs = null)
    Parameters
    Type Name Description
    System.Guid id

    ID of the inbox. The ID is a UUID-V4 format string. Use the inboxId for calls to Inbox and Email Controller endpoints. See the emailAddress property for the email address or the inbox. To get emails in an inbox use the WaitFor and Inbox Controller methods waitForLatestEmail and getEmails methods respectively. Inboxes can be used with aliases to forward emails automatically. (required).

    System.Guid? domainId

    ID of custom domain used by the inbox if any.

    DateTime createdAt

    When the inbox was created. Time stamps are in ISO DateTime Format yyyy-MM-dd&apos;T&apos;HH:mm:ss.SSSXXX e.g. 2000-10-31T01:30:00.000-05:00. (required).

    string name

    Name of the inbox and used as the sender name when sending emails .Displayed in the dashboard for easier search.

    string emailAddress

    The inbox's email address. Inbox projections and previews may not include the email address. To view the email address fetch the inbox entity directly. Send an email to this address and the inbox will receive and store it for you. Note the email address in MailSlurp match characters exactly and are case sensitive so +123 additions are considered different addresses. To retrieve the email use the Inbox and Email Controller endpoints with the inbox ID..

    bool favourite

    Is the inbox a favorite inbox. Make an inbox a favorite is typically done in the dashboard for quick access or filtering (required).

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

    Tags that inbox has been tagged with. Tags can be added to inboxes to group different inboxes within an account. You can also search for inboxes by tag in the dashboard UI..

    bool teamAccess

    Does inbox permit team access for organization team members. If so team users can use inbox and emails associated with it. See the team access guide at https://www.mailslurp.com/guides/team-email-account-sharing/ (required).

    OrganizationInboxProjection.InboxTypeEnum? inboxType

    Type of inbox. HTTP inboxes are faster and better for most cases. SMTP inboxes are more suited for public facing inbound messages (but cannot send)..

    bool readOnly

    Is the inbox readOnly for the caller. Read only means can not be deleted or modified. This flag is present when using team accounts and shared inboxes. (required).

    bool virtualInbox

    Virtual inbox can receive email but will not send emails to real recipients. Will save sent email record but never send an actual email. Perfect for testing mail server actions. (required).

    OrganizationInboxProjection.FunctionsAsEnum? functionsAs

    Inbox function if used as a primitive for another system..

    Properties

    View Source

    CreatedAt

    When the inbox was created. Time stamps are in ISO DateTime Format yyyy-MM-dd&apos;T&apos;HH:mm:ss.SSSXXX e.g. 2000-10-31T01:30:00.000-05:00.

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

    When the inbox was created. Time stamps are in ISO DateTime Format yyyy-MM-dd&apos;T&apos;HH:mm:ss.SSSXXX e.g. 2000-10-31T01:30:00.000-05:00.

    View Source

    DomainId

    ID of custom domain used by the inbox if any

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

    ID of custom domain used by the inbox if any

    View Source

    EmailAddress

    The inbox's email address. Inbox projections and previews may not include the email address. To view the email address fetch the inbox entity directly. Send an email to this address and the inbox will receive and store it for you. Note the email address in MailSlurp match characters exactly and are case sensitive so +123 additions are considered different addresses. To retrieve the email use the Inbox and Email Controller endpoints with the inbox ID.

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

    The inbox's email address. Inbox projections and previews may not include the email address. To view the email address fetch the inbox entity directly. Send an email to this address and the inbox will receive and store it for you. Note the email address in MailSlurp match characters exactly and are case sensitive so +123 additions are considered different addresses. To retrieve the email use the Inbox and Email Controller endpoints with the inbox ID.

    View Source

    Favourite

    Is the inbox a favorite inbox. Make an inbox a favorite is typically done in the dashboard for quick access or filtering

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

    Is the inbox a favorite inbox. Make an inbox a favorite is typically done in the dashboard for quick access or filtering

    View Source

    FunctionsAs

    Inbox function if used as a primitive for another system.

    Declaration
    [DataMember(Name = "functionsAs", EmitDefaultValue = true)]
    public OrganizationInboxProjection.FunctionsAsEnum? FunctionsAs { get; set; }
    Property Value
    Type Description
    OrganizationInboxProjection.FunctionsAsEnum?

    Inbox function if used as a primitive for another system.

    View Source

    Id

    ID of the inbox. The ID is a UUID-V4 format string. Use the inboxId for calls to Inbox and Email Controller endpoints. See the emailAddress property for the email address or the inbox. To get emails in an inbox use the WaitFor and Inbox Controller methods waitForLatestEmail and getEmails methods respectively. Inboxes can be used with aliases to forward emails automatically.

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

    ID of the inbox. The ID is a UUID-V4 format string. Use the inboxId for calls to Inbox and Email Controller endpoints. See the emailAddress property for the email address or the inbox. To get emails in an inbox use the WaitFor and Inbox Controller methods waitForLatestEmail and getEmails methods respectively. Inboxes can be used with aliases to forward emails automatically.

    View Source

    InboxType

    Type of inbox. HTTP inboxes are faster and better for most cases. SMTP inboxes are more suited for public facing inbound messages (but cannot send).

    Declaration
    [DataMember(Name = "inboxType", EmitDefaultValue = true)]
    public OrganizationInboxProjection.InboxTypeEnum? InboxType { get; set; }
    Property Value
    Type Description
    OrganizationInboxProjection.InboxTypeEnum?

    Type of inbox. HTTP inboxes are faster and better for most cases. SMTP inboxes are more suited for public facing inbound messages (but cannot send).

    View Source

    Name

    Name of the inbox and used as the sender name when sending emails .Displayed in the dashboard for easier search

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

    Name of the inbox and used as the sender name when sending emails .Displayed in the dashboard for easier search

    View Source

    ReadOnly

    Is the inbox readOnly for the caller. Read only means can not be deleted or modified. This flag is present when using team accounts and shared inboxes.

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

    Is the inbox readOnly for the caller. Read only means can not be deleted or modified. This flag is present when using team accounts and shared inboxes.

    View Source

    Tags

    Tags that inbox has been tagged with. Tags can be added to inboxes to group different inboxes within an account. You can also search for inboxes by tag in the dashboard UI.

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

    Tags that inbox has been tagged with. Tags can be added to inboxes to group different inboxes within an account. You can also search for inboxes by tag in the dashboard UI.

    View Source

    TeamAccess

    Does inbox permit team access for organization team members. If so team users can use inbox and emails associated with it. See the team access guide at https://www.mailslurp.com/guides/team-email-account-sharing/

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

    Does inbox permit team access for organization team members. If so team users can use inbox and emails associated with it. See the team access guide at https://www.mailslurp.com/guides/team-email-account-sharing/

    View Source

    VirtualInbox

    Virtual inbox can receive email but will not send emails to real recipients. Will save sent email record but never send an actual email. Perfect for testing mail server actions.

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

    Virtual inbox can receive email but will not send emails to real recipients. Will save sent email record but never send an actual email. Perfect for testing mail server actions.

    Methods

    View Source

    Equals(OrganizationInboxProjection)

    Returns true if OrganizationInboxProjection instances are equal

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

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