Name | Type | Description | Notes |
---|---|---|---|
Secret | Pointer to string | [optional] | |
Digits | int32 | ||
Period | int32 | ||
HashAlgorithm | HashAlgorithm |
func NewOneTimePasswordInfo(digits int32, period int32, hashAlgorithm HashAlgorithm, ) *OneTimePasswordInfo
NewOneTimePasswordInfo instantiates a new OneTimePasswordInfo object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewOneTimePasswordInfoWithDefaults() *OneTimePasswordInfo
NewOneTimePasswordInfoWithDefaults instantiates a new OneTimePasswordInfo object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (o *OneTimePasswordInfo) GetSecret() string
GetSecret returns the Secret field if non-nil, zero value otherwise.
func (o *OneTimePasswordInfo) GetSecretOk() (*string, bool)
GetSecretOk returns a tuple with the Secret field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *OneTimePasswordInfo) SetSecret(v string)
SetSecret sets Secret field to given value.
func (o *OneTimePasswordInfo) HasSecret() bool
HasSecret returns a boolean if a field has been set.
func (o *OneTimePasswordInfo) GetDigits() int32
GetDigits returns the Digits field if non-nil, zero value otherwise.
func (o *OneTimePasswordInfo) GetDigitsOk() (*int32, bool)
GetDigitsOk returns a tuple with the Digits field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *OneTimePasswordInfo) SetDigits(v int32)
SetDigits sets Digits field to given value.
func (o *OneTimePasswordInfo) GetPeriod() int32
GetPeriod returns the Period field if non-nil, zero value otherwise.
func (o *OneTimePasswordInfo) GetPeriodOk() (*int32, bool)
GetPeriodOk returns a tuple with the Period field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *OneTimePasswordInfo) SetPeriod(v int32)
SetPeriod sets Period field to given value.
func (o *OneTimePasswordInfo) GetHashAlgorithm() HashAlgorithm
GetHashAlgorithm returns the HashAlgorithm field if non-nil, zero value otherwise.
func (o *OneTimePasswordInfo) GetHashAlgorithmOk() (*HashAlgorithm, bool)
GetHashAlgorithmOk returns a tuple with the HashAlgorithm field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *OneTimePasswordInfo) SetHashAlgorithm(v HashAlgorithm)
SetHashAlgorithm sets HashAlgorithm field to given value.