Class OptInSendingConsentDto
OptInSendingConsentDto
Implements
Inherited Members
Namespace: mailslurp.Model
Assembly: mailslurp.dll
Syntax
[DataContract(Name = "OptInSendingConsentDto")]
public class OptInSendingConsentDto : IValidatableObject
Constructors
View SourceOptInSendingConsentDto()
Initializes a new instance of the OptInSendingConsentDto class.
Declaration
[JsonConstructor]
protected OptInSendingConsentDto()
OptInSendingConsentDto(bool, bool, bool)
Initializes a new instance of the OptInSendingConsentDto class.
Declaration
public OptInSendingConsentDto(bool verificationCodeSent = false, bool userHasConsented = false, bool canSend = false)
Parameters
Type | Name | Description |
---|---|---|
bool | verificationCodeSent | verificationCodeSent (required). |
bool | userHasConsented | userHasConsented (required). |
bool | canSend | canSend (required). |
Properties
View SourceCanSend
Gets or Sets CanSend
Declaration
[DataMember(Name = "canSend", IsRequired = true, EmitDefaultValue = true)]
public bool CanSend { get; set; }
Property Value
Type | Description |
---|---|
bool |
UserHasConsented
Gets or Sets UserHasConsented
Declaration
[DataMember(Name = "userHasConsented", IsRequired = true, EmitDefaultValue = true)]
public bool UserHasConsented { get; set; }
Property Value
Type | Description |
---|---|
bool |
VerificationCodeSent
Gets or Sets VerificationCodeSent
Declaration
[DataMember(Name = "verificationCodeSent", IsRequired = true, EmitDefaultValue = true)]
public bool VerificationCodeSent { get; set; }
Property Value
Type | Description |
---|---|
bool |
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 |