Class EmailSignatureParseResult
Result of attempting to parse an email signature
Implements
Inherited Members
Namespace: mailslurp.Model
Assembly: mailslurp.dll
Syntax
[DataContract(Name = "EmailSignatureParseResult")]
public class EmailSignatureParseResult : IValidatableObject
Constructors
View SourceEmailSignatureParseResult()
Initializes a new instance of the EmailSignatureParseResult class.
Declaration
[JsonConstructor]
protected EmailSignatureParseResult()
EmailSignatureParseResult(bool, EmailSignature)
Initializes a new instance of the EmailSignatureParseResult class.
Declaration
public EmailSignatureParseResult(bool present = false, EmailSignature signature = null)
Parameters
| Type | Name | Description |
|---|---|---|
| bool | present | True when a signature block was detected (required). |
| EmailSignature | signature | signature. |
Properties
View SourcePresent
True when a signature block was detected
Declaration
[DataMember(Name = "present", IsRequired = true, EmitDefaultValue = true)]
public bool Present { get; set; }
Property Value
| Type | Description |
|---|---|
| bool | True when a signature block was detected |
Signature
Gets or Sets Signature
Declaration
[DataMember(Name = "signature", EmitDefaultValue = true)]
public EmailSignature Signature { get; set; }
Property Value
| Type | Description |
|---|---|
| EmailSignature |
Methods
View SourceToJson()
Returns the JSON string presentation of the object
Declaration
public virtual string ToJson()
Returns
| Type | Description |
|---|---|
| string | JSON string presentation of the object |
ToString()
Returns the string presentation of the object
Declaration
public override string ToString()
Returns
| Type | Description |
|---|---|
| string | String presentation of the object |