Search Results for

    Show / Hide Table of Contents

    Class EmailSignature

    Parsed signature block detected in an email

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

    Constructors

    View Source

    EmailSignature()

    Initializes a new instance of the EmailSignature class.

    Declaration
    [JsonConstructor]
    protected EmailSignature()
    View Source

    EmailSignature(string, string, string, string)

    Initializes a new instance of the EmailSignature class.

    Declaration
    public EmailSignature(string body = null, string source = null, string marker = null, string detectionType = null)
    Parameters
    Type Name Description
    string body

    Extracted signature text (required).

    string source

    Source used for extraction. Examples: RAW_TEXT_PART, RAW_HTML_SELECTOR (required).

    string marker

    Matched marker or selector that identified the signature.

    string detectionType

    Detection strategy used. Examples: DELIMITER, MOBILE_FOOTER, VALEDICTION (required).

    Properties

    View Source

    Body

    Extracted signature text

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

    Extracted signature text

    View Source

    DetectionType

    Detection strategy used. Examples: DELIMITER, MOBILE_FOOTER, VALEDICTION

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

    Detection strategy used. Examples: DELIMITER, MOBILE_FOOTER, VALEDICTION

    View Source

    Marker

    Matched marker or selector that identified the signature

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

    Matched marker or selector that identified the signature

    View Source

    Source

    Source used for extraction. Examples: RAW_TEXT_PART, RAW_HTML_SELECTOR

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

    Source used for extraction. Examples: RAW_TEXT_PART, RAW_HTML_SELECTOR

    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.