Search Results for

    Show / Hide Table of Contents

    Class AIMappingMatchOption

    Options for matching when an AI transform mapping should trigger. Each match option object contains a field, should and value property. Together they form logical conditions such as SUBJECT should CONTAIN value.

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

    Constructors

    View Source

    AIMappingMatchOption()

    Initializes a new instance of the AIMappingMatchOption class.

    Declaration
    [JsonConstructor]
    protected AIMappingMatchOption()
    View Source

    AIMappingMatchOption(FieldEnum, ShouldEnum, string)

    Initializes a new instance of the AIMappingMatchOption class.

    Declaration
    public AIMappingMatchOption(AIMappingMatchOption.FieldEnum field = (AIMappingMatchOption.FieldEnum)0, AIMappingMatchOption.ShouldEnum should = (AIMappingMatchOption.ShouldEnum)0, string value = null)
    Parameters
    Type Name Description
    AIMappingMatchOption.FieldEnum field

    Fields of an email, sms, or attachment object that can be used to filter results (required).

    AIMappingMatchOption.ShouldEnum should

    How the value of the field specified should be compared to the value given in the match options. (required).

    string value

    The value you wish to compare with the value of the field specified using the should value passed. For example BODY should CONTAIN a value passed. When should value is MATCH pass a regex (required).

    Properties

    View Source

    Field

    Fields of an email, sms, or attachment object that can be used to filter results

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

    Fields of an email, sms, or attachment object that can be used to filter results

    View Source

    Should

    How the value of the field specified should be compared to the value given in the match options.

    Declaration
    [DataMember(Name = "should", IsRequired = true, EmitDefaultValue = true)]
    public AIMappingMatchOption.ShouldEnum Should { get; set; }
    Property Value
    Type Description
    AIMappingMatchOption.ShouldEnum

    How the value of the field specified should be compared to the value given in the match options.

    View Source

    Value

    The value you wish to compare with the value of the field specified using the should value passed. For example BODY should CONTAIN a value passed. When should value is MATCH pass a regex

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

    The value you wish to compare with the value of the field specified using the should value passed. For example BODY should CONTAIN a value passed. When should value is MATCH pass a regex

    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.