Search Results for

    Show / Hide Table of Contents

    Class OptInSendingConsentDto

    OptInSendingConsentDto

    Inheritance
    object
    OptInSendingConsentDto
    Implements
    IValidatableObject
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    Namespace: mailslurp.Model
    Assembly: mailslurp.dll
    Syntax
    [DataContract(Name = "OptInSendingConsentDto")]
    public class OptInSendingConsentDto : IValidatableObject

    Constructors

    View Source

    OptInSendingConsentDto()

    Initializes a new instance of the OptInSendingConsentDto class.

    Declaration
    [JsonConstructor]
    protected OptInSendingConsentDto()
    View Source

    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 Source

    CanSend

    Gets or Sets CanSend

    Declaration
    [DataMember(Name = "canSend", IsRequired = true, EmitDefaultValue = true)]
    public bool CanSend { get; set; }
    Property Value
    Type Description
    bool
    View Source

    UserHasConsented

    Gets or Sets UserHasConsented

    Declaration
    [DataMember(Name = "userHasConsented", IsRequired = true, EmitDefaultValue = true)]
    public bool UserHasConsented { get; set; }
    Property Value
    Type Description
    bool
    View Source

    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 Source

    ToJson()

    Returns the JSON string presentation of the object

    Declaration
    public virtual string ToJson()
    Returns
    Type Description
    string

    JSON string presentation of the object

    View Source

    ToString()

    Returns the string presentation of the object

    Declaration
    public override string ToString()
    Returns
    Type Description
    string

    String presentation of the object

    Overrides
    object.ToString()

    Implements

    IValidatableObject
    • View Source
    In this article
    Back to top See MailSlurp website for more information.