Search Results for

    Show / Hide Table of Contents

    Class InboxForwarderDto

    Inbox forwarder. Describes how an inbox will forward matching emails to designated recipients.

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

    Constructors

    View Source

    InboxForwarderDto()

    Initializes a new instance of the InboxForwarderDto class.

    Declaration
    [JsonConstructor]
    protected InboxForwarderDto()
    View Source

    InboxForwarderDto(Guid, Guid?, string, FieldEnum, string, List<string>, DateTime)

    Initializes a new instance of the InboxForwarderDto class.

    Declaration
    public InboxForwarderDto(Guid id = default, Guid? inboxId = null, string name = null, InboxForwarderDto.FieldEnum field = (InboxForwarderDto.FieldEnum)0, string match = null, List<string> forwardToRecipients = null, DateTime createdAt = default)
    Parameters
    Type Name Description
    Guid id

    id (required).

    Guid? inboxId

    inboxId.

    string name

    Name of inbox forwarder.

    InboxForwarderDto.FieldEnum field

    Which field to match against (required).

    string match

    Wild-card type pattern to apply to field (required).

    List<string> forwardToRecipients

    Who to send forwarded email to (required).

    DateTime createdAt

    createdAt (required).

    Properties

    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

    Field

    Which field to match against

    Declaration
    [DataMember(Name = "field", IsRequired = true, EmitDefaultValue = true)]
    public InboxForwarderDto.FieldEnum Field { get; set; }
    Property Value
    Type Description
    InboxForwarderDto.FieldEnum

    Which field to match against

    View Source

    ForwardToRecipients

    Who to send forwarded email to

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

    Who to send forwarded email to

    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

    InboxId

    Gets or Sets InboxId

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

    Match

    Wild-card type pattern to apply to field

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

    Wild-card type pattern to apply to field

    View Source

    Name

    Name of inbox forwarder

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

    Name of inbox forwarder

    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.