Search Results for

    Show / Hide Table of Contents

    Class OptInConsentOptions

    OptInConsentOptions

    Inheritance
    object
    OptInConsentOptions
    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 = "OptInConsentOptions")]
    public class OptInConsentOptions : IValidatableObject

    Constructors

    View Source

    OptInConsentOptions()

    Initializes a new instance of the OptInConsentOptions class.

    Declaration
    [JsonConstructor]
    protected OptInConsentOptions()
    View Source

    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 Source

    CompanyName

    Gets or Sets CompanyName

    Declaration
    [DataMember(Name = "companyName", EmitDefaultValue = false)]
    public string CompanyName { get; set; }
    Property Value
    Type Description
    string
    View Source

    EmailAddress

    Gets or Sets EmailAddress

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

    SendOptInOptions

    Gets or Sets SendOptInOptions

    Declaration
    [DataMember(Name = "sendOptInOptions", EmitDefaultValue = false)]
    public SendOptInConsentEmailOptions SendOptInOptions { get; set; }
    Property Value
    Type Description
    SendOptInConsentEmailOptions

    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.