Class CheckCampaignProbeOptions
One-shot public campaign probe preflight check options
Implements
Inherited Members
Namespace: mailslurp.Model
Assembly: mailslurp.dll
Syntax
[DataContract(Name = "CheckCampaignProbeOptions")]
public class CheckCampaignProbeOptions : IValidatableObject
Constructors
View SourceCheckCampaignProbeOptions(string, string, string, string, string, string, string)
Initializes a new instance of the CheckCampaignProbeOptions class.
Declaration
public CheckCampaignProbeOptions(string fromAddress = null, string subject = null, string recipient = null, string messageId = null, string htmlBody = null, string textBody = null, string captchaToken = null)
Parameters
| Type | Name | Description |
|---|---|---|
| string | fromAddress | Optional sender email address. |
| string | subject | Optional message subject. |
| string | recipient | Optional recipient email address for context. |
| string | messageId | Optional caller supplied message id. |
| string | htmlBody | HTML body content to analyze. |
| string | textBody | Text body content to analyze when HTML is absent. |
| string | captchaToken | Optional captcha token when captcha protection is enabled. |
Properties
View SourceCaptchaToken
Optional captcha token when captcha protection is enabled
Declaration
[DataMember(Name = "captchaToken", EmitDefaultValue = true)]
public string CaptchaToken { get; set; }
Property Value
| Type | Description |
|---|---|
| string | Optional captcha token when captcha protection is enabled |
FromAddress
Optional sender email address
Declaration
[DataMember(Name = "fromAddress", EmitDefaultValue = true)]
public string FromAddress { get; set; }
Property Value
| Type | Description |
|---|---|
| string | Optional 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
Optional caller supplied message id
Declaration
[DataMember(Name = "messageId", EmitDefaultValue = true)]
public string MessageId { get; set; }
Property Value
| Type | Description |
|---|---|
| string | Optional caller supplied message id |
Recipient
Optional recipient email address for context
Declaration
[DataMember(Name = "recipient", EmitDefaultValue = true)]
public string Recipient { get; set; }
Property Value
| Type | Description |
|---|---|
| string | Optional recipient email address for context |
Subject
Optional message subject
Declaration
[DataMember(Name = "subject", EmitDefaultValue = true)]
public string Subject { get; set; }
Property Value
| Type | Description |
|---|---|
| string | Optional 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 |