Class SendOptInConsentEmailOptions
SendOptInConsentEmailOptions
Implements
Inherited Members
Namespace: mailslurp.Model
Assembly: mailslurp.dll
Syntax
[DataContract(Name = "SendOptInConsentEmailOptions")]
public class SendOptInConsentEmailOptions : IValidatableObject
Constructors
View SourceSendOptInConsentEmailOptions()
Initializes a new instance of the SendOptInConsentEmailOptions class.
Declaration
[JsonConstructor]
protected SendOptInConsentEmailOptions()
SendOptInConsentEmailOptions(string, string, Guid)
Initializes a new instance of the SendOptInConsentEmailOptions class.
Declaration
public SendOptInConsentEmailOptions(string templateHtml = null, string subject = null, Guid senderInbox = default)
Parameters
Type | Name | Description |
---|---|---|
string | templateHtml | templateHtml (required). |
string | subject | subject (required). |
Guid | senderInbox | senderInbox. |
Properties
View SourceSenderInbox
Gets or Sets SenderInbox
Declaration
[DataMember(Name = "senderInbox", EmitDefaultValue = false)]
public Guid SenderInbox { get; set; }
Property Value
Type | Description |
---|---|
Guid |
Subject
Gets or Sets Subject
Declaration
[DataMember(Name = "subject", IsRequired = true, EmitDefaultValue = true)]
public string Subject { get; set; }
Property Value
Type | Description |
---|---|
string |
TemplateHtml
Gets or Sets TemplateHtml
Declaration
[DataMember(Name = "templateHtml", IsRequired = true, EmitDefaultValue = true)]
public string TemplateHtml { get; set; }
Property Value
Type | Description |
---|---|
string |
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 |