Class CreateEmailAuditOptions
Authenticated saved email audit request
Implements
Inherited Members
Namespace: mailslurp.Model
Assembly: mailslurp.dll
Syntax
[DataContract(Name = "CreateEmailAuditOptions")]
public class CreateEmailAuditOptions : IValidatableObject
Constructors
View SourceCreateEmailAuditOptions(string, string, string, string, string, EmailAnalysis, bool?)
Initializes a new instance of the CreateEmailAuditOptions class.
Declaration
public CreateEmailAuditOptions(string fromAddress = null, string recipient = null, string subject = null, string htmlBody = null, string textBody = null, EmailAnalysis emailAnalysis = null, bool? hasAttachments = null)
Parameters
| Type | Name | Description |
|---|---|---|
| string | fromAddress | Optional sender address context. |
| string | recipient | Optional recipient context. |
| string | subject | Optional subject line context. |
| string | htmlBody | Optional HTML email body. |
| string | textBody | Optional text email body. |
| EmailAnalysis | emailAnalysis | emailAnalysis. |
| bool? | hasAttachments | Whether the source email included attachments. |
Properties
View SourceEmailAnalysis
Gets or Sets EmailAnalysis
Declaration
[DataMember(Name = "emailAnalysis", EmitDefaultValue = true)]
public EmailAnalysis EmailAnalysis { get; set; }
Property Value
| Type | Description |
|---|---|
| EmailAnalysis |
FromAddress
Optional sender address context
Declaration
[DataMember(Name = "fromAddress", EmitDefaultValue = true)]
public string FromAddress { get; set; }
Property Value
| Type | Description |
|---|---|
| string | Optional sender address context |
HasAttachments
Whether the source email included attachments
Declaration
[DataMember(Name = "hasAttachments", EmitDefaultValue = true)]
public bool? HasAttachments { get; set; }
Property Value
| Type | Description |
|---|---|
| bool? | Whether the source email included attachments |
HtmlBody
Optional HTML email body
Declaration
[DataMember(Name = "htmlBody", EmitDefaultValue = true)]
public string HtmlBody { get; set; }
Property Value
| Type | Description |
|---|---|
| string | Optional HTML email body |
Recipient
Optional recipient context
Declaration
[DataMember(Name = "recipient", EmitDefaultValue = true)]
public string Recipient { get; set; }
Property Value
| Type | Description |
|---|---|
| string | Optional recipient context |
Subject
Optional subject line context
Declaration
[DataMember(Name = "subject", EmitDefaultValue = true)]
public string Subject { get; set; }
Property Value
| Type | Description |
|---|---|
| string | Optional subject line context |
TextBody
Optional text email body
Declaration
[DataMember(Name = "textBody", EmitDefaultValue = true)]
public string TextBody { get; set; }
Property Value
| Type | Description |
|---|---|
| string | Optional text email body |
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 |