Skip to content

Latest commit

 

History

History
119 lines (64 loc) · 3.27 KB

OneTimePasswordInfo.md

File metadata and controls

119 lines (64 loc) · 3.27 KB

OneTimePasswordInfo

Properties

Name Type Description Notes
Secret Pointer to string [optional]
Digits int32
Period int32
HashAlgorithm HashAlgorithm

Methods

NewOneTimePasswordInfo

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

NewOneTimePasswordInfoWithDefaults

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

GetSecret

func (o *OneTimePasswordInfo) GetSecret() string

GetSecret returns the Secret field if non-nil, zero value otherwise.

GetSecretOk

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.

SetSecret

func (o *OneTimePasswordInfo) SetSecret(v string)

SetSecret sets Secret field to given value.

HasSecret

func (o *OneTimePasswordInfo) HasSecret() bool

HasSecret returns a boolean if a field has been set.

GetDigits

func (o *OneTimePasswordInfo) GetDigits() int32

GetDigits returns the Digits field if non-nil, zero value otherwise.

GetDigitsOk

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.

SetDigits

func (o *OneTimePasswordInfo) SetDigits(v int32)

SetDigits sets Digits field to given value.

GetPeriod

func (o *OneTimePasswordInfo) GetPeriod() int32

GetPeriod returns the Period field if non-nil, zero value otherwise.

GetPeriodOk

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.

SetPeriod

func (o *OneTimePasswordInfo) SetPeriod(v int32)

SetPeriod sets Period field to given value.

GetHashAlgorithm

func (o *OneTimePasswordInfo) GetHashAlgorithm() HashAlgorithm

GetHashAlgorithm returns the HashAlgorithm field if non-nil, zero value otherwise.

GetHashAlgorithmOk

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.

SetHashAlgorithm

func (o *OneTimePasswordInfo) SetHashAlgorithm(v HashAlgorithm)

SetHashAlgorithm sets HashAlgorithm field to given value.

[Back to Model list] [Back to API list] [Back to README]