Name | Type | Description | Notes |
---|---|---|---|
Pk | string | [readonly] | |
Name | string | ||
ExecutionLogging | Pointer to bool | When this option is enabled, all executions of this policy will be logged. By default, only execution errors are logged. | [optional] |
Component | string | Get object component so that we know how to edit the object | [readonly] |
VerboseName | string | Return object's verbose_name | [readonly] |
VerboseNamePlural | string | Return object's plural verbose_name | [readonly] |
MetaModelName | string | Return internal model name | [readonly] |
BoundTo | int32 | Return objects policy is bound to | [readonly] |
PasswordField | Pointer to string | Field key to check, field keys defined in Prompt stages are available. | [optional] |
AmountDigits | Pointer to int32 | [optional] | |
AmountUppercase | Pointer to int32 | [optional] | |
AmountLowercase | Pointer to int32 | [optional] | |
AmountSymbols | Pointer to int32 | [optional] | |
LengthMin | Pointer to int32 | [optional] | |
SymbolCharset | Pointer to string | [optional] | |
ErrorMessage | Pointer to string | [optional] | |
CheckStaticRules | Pointer to bool | [optional] | |
CheckHaveIBeenPwned | Pointer to bool | [optional] | |
CheckZxcvbn | Pointer to bool | [optional] | |
HibpAllowedCount | Pointer to int32 | How many times the password hash is allowed to be on haveibeenpwned | [optional] |
ZxcvbnScoreThreshold | Pointer to int32 | If the zxcvbn score is equal or less than this value, the policy will fail. | [optional] |
func NewPasswordPolicy(pk string, name string, component string, verboseName string, verboseNamePlural string, metaModelName string, boundTo int32, ) *PasswordPolicy
NewPasswordPolicy instantiates a new PasswordPolicy 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 NewPasswordPolicyWithDefaults() *PasswordPolicy
NewPasswordPolicyWithDefaults instantiates a new PasswordPolicy 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 *PasswordPolicy) GetPk() string
GetPk returns the Pk field if non-nil, zero value otherwise.
func (o *PasswordPolicy) GetPkOk() (*string, bool)
GetPkOk returns a tuple with the Pk field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *PasswordPolicy) SetPk(v string)
SetPk sets Pk field to given value.
func (o *PasswordPolicy) GetName() string
GetName returns the Name field if non-nil, zero value otherwise.
func (o *PasswordPolicy) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *PasswordPolicy) SetName(v string)
SetName sets Name field to given value.
func (o *PasswordPolicy) GetExecutionLogging() bool
GetExecutionLogging returns the ExecutionLogging field if non-nil, zero value otherwise.
func (o *PasswordPolicy) GetExecutionLoggingOk() (*bool, bool)
GetExecutionLoggingOk returns a tuple with the ExecutionLogging field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *PasswordPolicy) SetExecutionLogging(v bool)
SetExecutionLogging sets ExecutionLogging field to given value.
func (o *PasswordPolicy) HasExecutionLogging() bool
HasExecutionLogging returns a boolean if a field has been set.
func (o *PasswordPolicy) GetComponent() string
GetComponent returns the Component field if non-nil, zero value otherwise.
func (o *PasswordPolicy) GetComponentOk() (*string, bool)
GetComponentOk returns a tuple with the Component field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *PasswordPolicy) SetComponent(v string)
SetComponent sets Component field to given value.
func (o *PasswordPolicy) GetVerboseName() string
GetVerboseName returns the VerboseName field if non-nil, zero value otherwise.
func (o *PasswordPolicy) GetVerboseNameOk() (*string, bool)
GetVerboseNameOk returns a tuple with the VerboseName field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *PasswordPolicy) SetVerboseName(v string)
SetVerboseName sets VerboseName field to given value.
func (o *PasswordPolicy) GetVerboseNamePlural() string
GetVerboseNamePlural returns the VerboseNamePlural field if non-nil, zero value otherwise.
func (o *PasswordPolicy) GetVerboseNamePluralOk() (*string, bool)
GetVerboseNamePluralOk returns a tuple with the VerboseNamePlural field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *PasswordPolicy) SetVerboseNamePlural(v string)
SetVerboseNamePlural sets VerboseNamePlural field to given value.
func (o *PasswordPolicy) GetMetaModelName() string
GetMetaModelName returns the MetaModelName field if non-nil, zero value otherwise.
func (o *PasswordPolicy) GetMetaModelNameOk() (*string, bool)
GetMetaModelNameOk returns a tuple with the MetaModelName field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *PasswordPolicy) SetMetaModelName(v string)
SetMetaModelName sets MetaModelName field to given value.
func (o *PasswordPolicy) GetBoundTo() int32
GetBoundTo returns the BoundTo field if non-nil, zero value otherwise.
func (o *PasswordPolicy) GetBoundToOk() (*int32, bool)
GetBoundToOk returns a tuple with the BoundTo field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *PasswordPolicy) SetBoundTo(v int32)
SetBoundTo sets BoundTo field to given value.
func (o *PasswordPolicy) GetPasswordField() string
GetPasswordField returns the PasswordField field if non-nil, zero value otherwise.
func (o *PasswordPolicy) GetPasswordFieldOk() (*string, bool)
GetPasswordFieldOk returns a tuple with the PasswordField field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *PasswordPolicy) SetPasswordField(v string)
SetPasswordField sets PasswordField field to given value.
func (o *PasswordPolicy) HasPasswordField() bool
HasPasswordField returns a boolean if a field has been set.
func (o *PasswordPolicy) GetAmountDigits() int32
GetAmountDigits returns the AmountDigits field if non-nil, zero value otherwise.
func (o *PasswordPolicy) GetAmountDigitsOk() (*int32, bool)
GetAmountDigitsOk returns a tuple with the AmountDigits field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *PasswordPolicy) SetAmountDigits(v int32)
SetAmountDigits sets AmountDigits field to given value.
func (o *PasswordPolicy) HasAmountDigits() bool
HasAmountDigits returns a boolean if a field has been set.
func (o *PasswordPolicy) GetAmountUppercase() int32
GetAmountUppercase returns the AmountUppercase field if non-nil, zero value otherwise.
func (o *PasswordPolicy) GetAmountUppercaseOk() (*int32, bool)
GetAmountUppercaseOk returns a tuple with the AmountUppercase field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *PasswordPolicy) SetAmountUppercase(v int32)
SetAmountUppercase sets AmountUppercase field to given value.
func (o *PasswordPolicy) HasAmountUppercase() bool
HasAmountUppercase returns a boolean if a field has been set.
func (o *PasswordPolicy) GetAmountLowercase() int32
GetAmountLowercase returns the AmountLowercase field if non-nil, zero value otherwise.
func (o *PasswordPolicy) GetAmountLowercaseOk() (*int32, bool)
GetAmountLowercaseOk returns a tuple with the AmountLowercase field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *PasswordPolicy) SetAmountLowercase(v int32)
SetAmountLowercase sets AmountLowercase field to given value.
func (o *PasswordPolicy) HasAmountLowercase() bool
HasAmountLowercase returns a boolean if a field has been set.
func (o *PasswordPolicy) GetAmountSymbols() int32
GetAmountSymbols returns the AmountSymbols field if non-nil, zero value otherwise.
func (o *PasswordPolicy) GetAmountSymbolsOk() (*int32, bool)
GetAmountSymbolsOk returns a tuple with the AmountSymbols field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *PasswordPolicy) SetAmountSymbols(v int32)
SetAmountSymbols sets AmountSymbols field to given value.
func (o *PasswordPolicy) HasAmountSymbols() bool
HasAmountSymbols returns a boolean if a field has been set.
func (o *PasswordPolicy) GetLengthMin() int32
GetLengthMin returns the LengthMin field if non-nil, zero value otherwise.
func (o *PasswordPolicy) GetLengthMinOk() (*int32, bool)
GetLengthMinOk returns a tuple with the LengthMin field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *PasswordPolicy) SetLengthMin(v int32)
SetLengthMin sets LengthMin field to given value.
func (o *PasswordPolicy) HasLengthMin() bool
HasLengthMin returns a boolean if a field has been set.
func (o *PasswordPolicy) GetSymbolCharset() string
GetSymbolCharset returns the SymbolCharset field if non-nil, zero value otherwise.
func (o *PasswordPolicy) GetSymbolCharsetOk() (*string, bool)
GetSymbolCharsetOk returns a tuple with the SymbolCharset field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *PasswordPolicy) SetSymbolCharset(v string)
SetSymbolCharset sets SymbolCharset field to given value.
func (o *PasswordPolicy) HasSymbolCharset() bool
HasSymbolCharset returns a boolean if a field has been set.
func (o *PasswordPolicy) GetErrorMessage() string
GetErrorMessage returns the ErrorMessage field if non-nil, zero value otherwise.
func (o *PasswordPolicy) GetErrorMessageOk() (*string, bool)
GetErrorMessageOk returns a tuple with the ErrorMessage field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *PasswordPolicy) SetErrorMessage(v string)
SetErrorMessage sets ErrorMessage field to given value.
func (o *PasswordPolicy) HasErrorMessage() bool
HasErrorMessage returns a boolean if a field has been set.
func (o *PasswordPolicy) GetCheckStaticRules() bool
GetCheckStaticRules returns the CheckStaticRules field if non-nil, zero value otherwise.
func (o *PasswordPolicy) GetCheckStaticRulesOk() (*bool, bool)
GetCheckStaticRulesOk returns a tuple with the CheckStaticRules field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *PasswordPolicy) SetCheckStaticRules(v bool)
SetCheckStaticRules sets CheckStaticRules field to given value.
func (o *PasswordPolicy) HasCheckStaticRules() bool
HasCheckStaticRules returns a boolean if a field has been set.
func (o *PasswordPolicy) GetCheckHaveIBeenPwned() bool
GetCheckHaveIBeenPwned returns the CheckHaveIBeenPwned field if non-nil, zero value otherwise.
func (o *PasswordPolicy) GetCheckHaveIBeenPwnedOk() (*bool, bool)
GetCheckHaveIBeenPwnedOk returns a tuple with the CheckHaveIBeenPwned field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *PasswordPolicy) SetCheckHaveIBeenPwned(v bool)
SetCheckHaveIBeenPwned sets CheckHaveIBeenPwned field to given value.
func (o *PasswordPolicy) HasCheckHaveIBeenPwned() bool
HasCheckHaveIBeenPwned returns a boolean if a field has been set.
func (o *PasswordPolicy) GetCheckZxcvbn() bool
GetCheckZxcvbn returns the CheckZxcvbn field if non-nil, zero value otherwise.
func (o *PasswordPolicy) GetCheckZxcvbnOk() (*bool, bool)
GetCheckZxcvbnOk returns a tuple with the CheckZxcvbn field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *PasswordPolicy) SetCheckZxcvbn(v bool)
SetCheckZxcvbn sets CheckZxcvbn field to given value.
func (o *PasswordPolicy) HasCheckZxcvbn() bool
HasCheckZxcvbn returns a boolean if a field has been set.
func (o *PasswordPolicy) GetHibpAllowedCount() int32
GetHibpAllowedCount returns the HibpAllowedCount field if non-nil, zero value otherwise.
func (o *PasswordPolicy) GetHibpAllowedCountOk() (*int32, bool)
GetHibpAllowedCountOk returns a tuple with the HibpAllowedCount field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *PasswordPolicy) SetHibpAllowedCount(v int32)
SetHibpAllowedCount sets HibpAllowedCount field to given value.
func (o *PasswordPolicy) HasHibpAllowedCount() bool
HasHibpAllowedCount returns a boolean if a field has been set.
func (o *PasswordPolicy) GetZxcvbnScoreThreshold() int32
GetZxcvbnScoreThreshold returns the ZxcvbnScoreThreshold field if non-nil, zero value otherwise.
func (o *PasswordPolicy) GetZxcvbnScoreThresholdOk() (*int32, bool)
GetZxcvbnScoreThresholdOk returns a tuple with the ZxcvbnScoreThreshold field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *PasswordPolicy) SetZxcvbnScoreThreshold(v int32)
SetZxcvbnScoreThreshold sets ZxcvbnScoreThreshold field to given value.
func (o *PasswordPolicy) HasZxcvbnScoreThreshold() bool
HasZxcvbnScoreThreshold returns a boolean if a field has been set.