Search Results for

    Show / Hide Table of Contents

    Class InboxReplierDto

    Inbox replier. Will automatically reply to inbound emails that match given field for an inbox.

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

    Constructors

    View Source

    InboxReplierDto()

    Initializes a new instance of the InboxReplierDto class.

    Declaration
    [JsonConstructor]
    protected InboxReplierDto()
    View Source

    InboxReplierDto(Guid, Guid, string, FieldEnum, string, string, string, string, string, bool, Guid?, Dictionary<string, object>, bool, DateTime)

    Initializes a new instance of the InboxReplierDto class.

    Declaration
    public InboxReplierDto(Guid id = default, Guid inboxId = default, string name = null, InboxReplierDto.FieldEnum field = (InboxReplierDto.FieldEnum)0, string match = null, string replyTo = null, string subject = null, string from = null, string charset = null, bool isHTML = false, Guid? templateId = null, Dictionary<string, object> templateVariables = null, bool ignoreReplyTo = false, DateTime createdAt = default)
    Parameters
    Type Name Description
    System.Guid id

    id (required).

    System.Guid inboxId

    inboxId (required).

    string name

    name.

    InboxReplierDto.FieldEnum field

    field (required).

    string match

    match (required).

    string replyTo

    replyTo.

    string subject

    subject.

    string from

    from.

    string charset

    charset.

    bool isHTML

    isHTML (required).

    System.Guid? templateId

    templateId.

    Dictionary<string, object> templateVariables

    templateVariables.

    bool ignoreReplyTo

    ignoreReplyTo (required).

    DateTime createdAt

    createdAt (required).

    Properties

    View Source

    Charset

    Gets or Sets Charset

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

    Field

    Gets or Sets Field

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

    From

    Gets or Sets From

    Declaration
    [DataMember(Name = "from", EmitDefaultValue = true)]
    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

    IgnoreReplyTo

    Gets or Sets IgnoreReplyTo

    Declaration
    [DataMember(Name = "ignoreReplyTo", IsRequired = true, EmitDefaultValue = true)]
    public bool IgnoreReplyTo { get; set; }
    Property Value
    Type Description
    bool
    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

    IsHTML

    Gets or Sets IsHTML

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

    Match

    Gets or Sets Match

    Declaration
    [DataMember(Name = "match", IsRequired = true, EmitDefaultValue = true)]
    public string Match { get; set; }
    Property Value
    Type Description
    string
    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

    ReplyTo

    Gets or Sets ReplyTo

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

    Subject

    Gets or Sets Subject

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

    TemplateId

    Gets or Sets TemplateId

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

    TemplateVariables

    Gets or Sets TemplateVariables

    Declaration
    [DataMember(Name = "templateVariables", EmitDefaultValue = true)]
    public Dictionary<string, object> TemplateVariables { get; set; }
    Property Value
    Type Description
    Dictionary<string, object>

    Methods

    View Source

    Equals(InboxReplierDto)

    Returns true if InboxReplierDto instances are equal

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

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