Class OptInConsentOptions
OptInConsentOptions
Implements
Inherited Members
Namespace: mailslurp.Model
Assembly: mailslurp.dll
Syntax
[DataContract(Name = "OptInConsentOptions")]
public class OptInConsentOptions : IValidatableObject
Constructors
View SourceOptInConsentOptions()
Initializes a new instance of the OptInConsentOptions class.
Declaration
[JsonConstructor]
protected OptInConsentOptions()
OptInConsentOptions(string, string, SendOptInConsentEmailOptions)
Initializes a new instance of the OptInConsentOptions class.
Declaration
public OptInConsentOptions(string emailAddress = null, string companyName = null, SendOptInConsentEmailOptions sendOptInOptions = null)
Parameters
| Type | Name | Description |
|---|---|---|
| string | emailAddress | emailAddress (required). |
| string | companyName | companyName. |
| SendOptInConsentEmailOptions | sendOptInOptions | sendOptInOptions. |
Properties
View SourceCompanyName
Gets or Sets CompanyName
Declaration
[DataMember(Name = "companyName", EmitDefaultValue = false)]
public string CompanyName { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
EmailAddress
Gets or Sets EmailAddress
Declaration
[DataMember(Name = "emailAddress", IsRequired = true, EmitDefaultValue = true)]
public string EmailAddress { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
SendOptInOptions
Gets or Sets SendOptInOptions
Declaration
[DataMember(Name = "sendOptInOptions", EmitDefaultValue = false)]
public SendOptInConsentEmailOptions SendOptInOptions { get; set; }
Property Value
| Type | Description |
|---|---|
| SendOptInConsentEmailOptions |
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 |