Skip to main content

LockoutConfiguration

Properties

NameTypeDescriptionNotes
MaximumAttemptsPointer to int32The maximum attempts allowed before lockout occurs.[optional]
LockoutDurationPointer to int32The total time in minutes a user will be locked out.[optional]
LockoutWindowPointer to int32A rolling window where authentication attempts in a series count towards the maximum before lockout occurs.[optional]

Methods

NewLockoutConfiguration

func NewLockoutConfiguration() *LockoutConfiguration

NewLockoutConfiguration instantiates a new LockoutConfiguration 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

NewLockoutConfigurationWithDefaults

func NewLockoutConfigurationWithDefaults() *LockoutConfiguration

NewLockoutConfigurationWithDefaults instantiates a new LockoutConfiguration 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

GetMaximumAttempts

func (o *LockoutConfiguration) GetMaximumAttempts() int32

GetMaximumAttempts returns the MaximumAttempts field if non-nil, zero value otherwise.

GetMaximumAttemptsOk

func (o *LockoutConfiguration) GetMaximumAttemptsOk() (*int32, bool)

GetMaximumAttemptsOk returns a tuple with the MaximumAttempts field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetMaximumAttempts

func (o *LockoutConfiguration) SetMaximumAttempts(v int32)

SetMaximumAttempts sets MaximumAttempts field to given value.

HasMaximumAttempts

func (o *LockoutConfiguration) HasMaximumAttempts() bool

HasMaximumAttempts returns a boolean if a field has been set.

GetLockoutDuration

func (o *LockoutConfiguration) GetLockoutDuration() int32

GetLockoutDuration returns the LockoutDuration field if non-nil, zero value otherwise.

GetLockoutDurationOk

func (o *LockoutConfiguration) GetLockoutDurationOk() (*int32, bool)

GetLockoutDurationOk returns a tuple with the LockoutDuration field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetLockoutDuration

func (o *LockoutConfiguration) SetLockoutDuration(v int32)

SetLockoutDuration sets LockoutDuration field to given value.

HasLockoutDuration

func (o *LockoutConfiguration) HasLockoutDuration() bool

HasLockoutDuration returns a boolean if a field has been set.

GetLockoutWindow

func (o *LockoutConfiguration) GetLockoutWindow() int32

GetLockoutWindow returns the LockoutWindow field if non-nil, zero value otherwise.

GetLockoutWindowOk

func (o *LockoutConfiguration) GetLockoutWindowOk() (*int32, bool)

GetLockoutWindowOk returns a tuple with the LockoutWindow field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetLockoutWindow

func (o *LockoutConfiguration) SetLockoutWindow(v int32)

SetLockoutWindow sets LockoutWindow field to given value.

HasLockoutWindow

func (o *LockoutConfiguration) HasLockoutWindow() bool

HasLockoutWindow returns a boolean if a field has been set.