Class CreateTotpDeviceOtpAuthUrlOptions
CreateTotpDeviceOtpAuthUrlOptions
Implements
Inherited Members
Namespace: mailslurp.Model
Assembly: mailslurp.dll
Syntax
[DataContract(Name = "CreateTotpDeviceOtpAuthUrlOptions")]
public class CreateTotpDeviceOtpAuthUrlOptions : IValidatableObject
Constructors
View SourceCreateTotpDeviceOtpAuthUrlOptions()
Initializes a new instance of the CreateTotpDeviceOtpAuthUrlOptions class.
Declaration
[JsonConstructor]
protected CreateTotpDeviceOtpAuthUrlOptions()
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 SourceAlgorithm
Gets or Sets Algorithm
Declaration
[DataMember(Name = "algorithm", EmitDefaultValue = true)]
public string Algorithm { get; set; }
Property Value
Type | Description |
---|---|
string |
Digits
Gets or Sets Digits
Declaration
[DataMember(Name = "digits", EmitDefaultValue = true)]
public int? Digits { get; set; }
Property Value
Type | Description |
---|---|
int? |
Issuer
Gets or Sets Issuer
Declaration
[DataMember(Name = "issuer", EmitDefaultValue = true)]
public string Issuer { get; set; }
Property Value
Type | Description |
---|---|
string |
Name
Gets or Sets Name
Declaration
[DataMember(Name = "name", EmitDefaultValue = true)]
public string Name { get; set; }
Property Value
Type | Description |
---|---|
string |
OtpAuthUrl
Gets or Sets OtpAuthUrl
Declaration
[DataMember(Name = "otpAuthUrl", IsRequired = true, EmitDefaultValue = true)]
public string OtpAuthUrl { get; set; }
Property Value
Type | Description |
---|---|
string |
Period
Gets or Sets Period
Declaration
[DataMember(Name = "period", EmitDefaultValue = true)]
public int? Period { get; set; }
Property Value
Type | Description |
---|---|
int? |
Username
Gets or Sets Username
Declaration
[DataMember(Name = "username", EmitDefaultValue = true)]
public string Username { get; set; }
Property Value
Type | Description |
---|---|
string |
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 |