Search Results for

    Show / Hide Table of Contents

    Class CreateTotpDeviceOtpAuthUrlOptions

    CreateTotpDeviceOtpAuthUrlOptions

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

    Constructors

    View Source

    CreateTotpDeviceOtpAuthUrlOptions()

    Initializes a new instance of the CreateTotpDeviceOtpAuthUrlOptions class.

    Declaration
    [JsonConstructor]
    protected CreateTotpDeviceOtpAuthUrlOptions()
    View Source

    CreateTotpDeviceOtpAuthUrlOptions(string, string, string, string, int?, int?, string)

    Initializes a new instance of the CreateTotpDeviceOtpAuthUrlOptions class.

    Declaration
    public CreateTotpDeviceOtpAuthUrlOptions(string otpAuthUrl = null, string name = null, string username = null, string issuer = null, int? digits = null, int? period = null, string algorithm = null)
    Parameters
    Type Name Description
    string otpAuthUrl

    otpAuthUrl (required).

    string name

    name.

    string username

    username.

    string issuer

    issuer.

    int? digits

    digits.

    int? period

    period.

    string algorithm

    algorithm.

    Properties

    View Source

    Algorithm

    Gets or Sets Algorithm

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

    Digits

    Gets or Sets Digits

    Declaration
    [DataMember(Name = "digits", EmitDefaultValue = true)]
    public int? Digits { get; set; }
    Property Value
    Type Description
    int?
    View Source

    Issuer

    Gets or Sets Issuer

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

    Name

    Gets or Sets Name

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

    OtpAuthUrl

    Gets or Sets OtpAuthUrl

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

    Period

    Gets or Sets Period

    Declaration
    [DataMember(Name = "period", EmitDefaultValue = true)]
    public int? Period { get; set; }
    Property Value
    Type Description
    int?
    View Source

    Username

    Gets or Sets Username

    Declaration
    [DataMember(Name = "username", EmitDefaultValue = true)]
    public string Username { get; set; }
    Property Value
    Type Description
    string

    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.