Class CreateCampaignProbeRunOptions
Direct invoke options for campaign probe analysis
Implements
Inherited Members
Namespace: mailslurp.Model
Assembly: mailslurp.dll
Syntax
[DataContract(Name = "CreateCampaignProbeRunOptions")]
public class CreateCampaignProbeRunOptions : IValidatableObject
Constructors
View SourceCreateCampaignProbeRunOptions(string, string, string, string, string, string)
Initializes a new instance of the CreateCampaignProbeRunOptions class.
Declaration
public CreateCampaignProbeRunOptions(string fromAddress = null, string subject = null, string recipient = null, string messageId = null, string htmlBody = null, string textBody = null)
Parameters
| Type | Name | Description |
|---|---|---|
| string | fromAddress | Sender email address. |
| string | subject | Message subject. |
| string | recipient | Recipient email address for context. |
| string | messageId | Caller supplied message id for dedupe/trace. |
| string | htmlBody | HTML body content to analyze. |
| string | textBody | Text body content to analyze when HTML is absent. |
Properties
View SourceFromAddress
Sender email address
Declaration
[DataMember(Name = "fromAddress", EmitDefaultValue = true)]
public string FromAddress { get; set; }
Property Value
| Type | Description |
|---|---|
| string | Sender email address |
HtmlBody
HTML body content to analyze
Declaration
[DataMember(Name = "htmlBody", EmitDefaultValue = true)]
public string HtmlBody { get; set; }
Property Value
| Type | Description |
|---|---|
| string | HTML body content to analyze |
MessageId
Caller supplied message id for dedupe/trace
Declaration
[DataMember(Name = "messageId", EmitDefaultValue = true)]
public string MessageId { get; set; }
Property Value
| Type | Description |
|---|---|
| string | Caller supplied message id for dedupe/trace |
Recipient
Recipient email address for context
Declaration
[DataMember(Name = "recipient", EmitDefaultValue = true)]
public string Recipient { get; set; }
Property Value
| Type | Description |
|---|---|
| string | Recipient email address for context |
Subject
Message subject
Declaration
[DataMember(Name = "subject", EmitDefaultValue = true)]
public string Subject { get; set; }
Property Value
| Type | Description |
|---|---|
| string | Message subject |
TextBody
Text body content to analyze when HTML is absent
Declaration
[DataMember(Name = "textBody", EmitDefaultValue = true)]
public string TextBody { get; set; }
Property Value
| Type | Description |
|---|---|
| string | Text body content to analyze when HTML is absent |
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 |