Search Results for

    Show / Hide Table of Contents

    Class TotpDeviceDto

    TotpDeviceDto

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

    Constructors

    View Source

    TotpDeviceDto()

    Initializes a new instance of the TotpDeviceDto class.

    Declaration
    [JsonConstructor]
    protected TotpDeviceDto()
    View Source

    TotpDeviceDto(Guid, string, string, string, int?, int?, string, DateTime, DateTime)

    Initializes a new instance of the TotpDeviceDto class.

    Declaration
    public TotpDeviceDto(Guid id = default, string name = null, string username = null, string issuer = null, int? digits = null, int? period = null, string algorithm = null, DateTime createdAt = default, DateTime updatedAt = default)
    Parameters
    Type Name Description
    Guid id

    id (required).

    string name

    name.

    string username

    username.

    string issuer

    issuer.

    int? digits

    digits.

    int? period

    period.

    string algorithm

    algorithm.

    DateTime createdAt

    createdAt (required).

    DateTime updatedAt

    updatedAt (required).

    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

    CreatedAt

    Gets or Sets CreatedAt

    Declaration
    [DataMember(Name = "createdAt", IsRequired = true, EmitDefaultValue = true)]
    public DateTime CreatedAt { get; set; }
    Property Value
    Type Description
    DateTime
    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

    Id

    Gets or Sets Id

    Declaration
    [DataMember(Name = "id", IsRequired = true, EmitDefaultValue = true)]
    public Guid Id { get; set; }
    Property Value
    Type Description
    Guid
    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

    Period

    Gets or Sets Period

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

    UpdatedAt

    Gets or Sets UpdatedAt

    Declaration
    [DataMember(Name = "updatedAt", IsRequired = true, EmitDefaultValue = true)]
    public DateTime UpdatedAt { get; set; }
    Property Value
    Type Description
    DateTime
    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.