Name | Type | Description | Notes |
---|---|---|---|
Conditions | Pointer to map[string]interface{} | Conditions may be added to an authentication policy using the following conditional language: ``` <conditions> ::= <expression> <expression> ::= <deviceEncrypted> | <deviceManaged> |
Description | Pointer to string | [optional] | |
Disabled | Pointer to bool | [optional] | |
Effect | Pointer to AuthnPolicyEffect | [optional] | |
Id | Pointer to string | [optional] [readonly] | |
Name | Pointer to string | [optional] | |
Targets | Pointer to AuthnPolicyTargets | [optional] | |
Type | Pointer to AuthnPolicyType | [optional] [default to AUTHNPOLICYTYPE_USER_PORTAL] |
func NewAuthnPolicy() *AuthnPolicy
NewAuthnPolicy instantiates a new AuthnPolicy 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 NewAuthnPolicyWithDefaults() *AuthnPolicy
NewAuthnPolicyWithDefaults instantiates a new AuthnPolicy 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 *AuthnPolicy) GetConditions() map[string]interface{}
GetConditions returns the Conditions field if non-nil, zero value otherwise.
func (o *AuthnPolicy) GetConditionsOk() (*map[string]interface{}, bool)
GetConditionsOk returns a tuple with the Conditions field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *AuthnPolicy) SetConditions(v map[string]interface{})
SetConditions sets Conditions field to given value.
func (o *AuthnPolicy) HasConditions() bool
HasConditions returns a boolean if a field has been set.
func (o *AuthnPolicy) GetDescription() string
GetDescription returns the Description field if non-nil, zero value otherwise.
func (o *AuthnPolicy) GetDescriptionOk() (*string, bool)
GetDescriptionOk returns a tuple with the Description field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *AuthnPolicy) SetDescription(v string)
SetDescription sets Description field to given value.
func (o *AuthnPolicy) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (o *AuthnPolicy) GetDisabled() bool
GetDisabled returns the Disabled field if non-nil, zero value otherwise.
func (o *AuthnPolicy) GetDisabledOk() (*bool, bool)
GetDisabledOk returns a tuple with the Disabled field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *AuthnPolicy) SetDisabled(v bool)
SetDisabled sets Disabled field to given value.
func (o *AuthnPolicy) HasDisabled() bool
HasDisabled returns a boolean if a field has been set.
func (o *AuthnPolicy) GetEffect() AuthnPolicyEffect
GetEffect returns the Effect field if non-nil, zero value otherwise.
func (o *AuthnPolicy) GetEffectOk() (*AuthnPolicyEffect, bool)
GetEffectOk returns a tuple with the Effect field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *AuthnPolicy) SetEffect(v AuthnPolicyEffect)
SetEffect sets Effect field to given value.
func (o *AuthnPolicy) HasEffect() bool
HasEffect returns a boolean if a field has been set.
func (o *AuthnPolicy) GetId() string
GetId returns the Id field if non-nil, zero value otherwise.
func (o *AuthnPolicy) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *AuthnPolicy) SetId(v string)
SetId sets Id field to given value.
func (o *AuthnPolicy) HasId() bool
HasId returns a boolean if a field has been set.
func (o *AuthnPolicy) GetName() string
GetName returns the Name field if non-nil, zero value otherwise.
func (o *AuthnPolicy) 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 *AuthnPolicy) SetName(v string)
SetName sets Name field to given value.
func (o *AuthnPolicy) HasName() bool
HasName returns a boolean if a field has been set.
func (o *AuthnPolicy) GetTargets() AuthnPolicyTargets
GetTargets returns the Targets field if non-nil, zero value otherwise.
func (o *AuthnPolicy) GetTargetsOk() (*AuthnPolicyTargets, bool)
GetTargetsOk returns a tuple with the Targets field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *AuthnPolicy) SetTargets(v AuthnPolicyTargets)
SetTargets sets Targets field to given value.
func (o *AuthnPolicy) HasTargets() bool
HasTargets returns a boolean if a field has been set.
func (o *AuthnPolicy) GetType() AuthnPolicyType
GetType returns the Type field if non-nil, zero value otherwise.
func (o *AuthnPolicy) GetTypeOk() (*AuthnPolicyType, bool)
GetTypeOk returns a tuple with the Type field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *AuthnPolicy) SetType(v AuthnPolicyType)
SetType sets Type field to given value.
func (o *AuthnPolicy) HasType() bool
HasType returns a boolean if a field has been set.