Skip to content

Latest commit

 

History

History
285 lines (154 loc) · 7.75 KB

UpdateAuthMethod.md

File metadata and controls

285 lines (154 loc) · 7.75 KB

UpdateAuthMethod

Properties

Name Type Description Notes
AccessExpires Pointer to int64 Access expiration date in Unix timestamp (select 0 for access without expiry date) [optional] [default to 0]
BoundIps Pointer to []string A CIDR whitelist with the IPs that the access is restricted to [optional]
ForceSubClaims Pointer to bool if true: enforce role-association must include sub claims [optional]
GwBoundIps Pointer to []string A CIDR whitelist with the GW IPs that the access is restricted to [optional]
Json Pointer to bool Set output format to JSON [optional]
JwtTtl Pointer to int64 Jwt TTL [optional]
Name string Auth Method name
NewName Pointer to string Auth Method new name [optional]
Token Pointer to string Authentication token (see `/auth` and `/configure`) [optional]
UidToken Pointer to string The universal identity token, Required only for universal_identity authentication [optional]

Methods

NewUpdateAuthMethod

func NewUpdateAuthMethod(name string, ) *UpdateAuthMethod

NewUpdateAuthMethod instantiates a new UpdateAuthMethod 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

NewUpdateAuthMethodWithDefaults

func NewUpdateAuthMethodWithDefaults() *UpdateAuthMethod

NewUpdateAuthMethodWithDefaults instantiates a new UpdateAuthMethod 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

GetAccessExpires

func (o *UpdateAuthMethod) GetAccessExpires() int64

GetAccessExpires returns the AccessExpires field if non-nil, zero value otherwise.

GetAccessExpiresOk

func (o *UpdateAuthMethod) GetAccessExpiresOk() (*int64, bool)

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

SetAccessExpires

func (o *UpdateAuthMethod) SetAccessExpires(v int64)

SetAccessExpires sets AccessExpires field to given value.

HasAccessExpires

func (o *UpdateAuthMethod) HasAccessExpires() bool

HasAccessExpires returns a boolean if a field has been set.

GetBoundIps

func (o *UpdateAuthMethod) GetBoundIps() []string

GetBoundIps returns the BoundIps field if non-nil, zero value otherwise.

GetBoundIpsOk

func (o *UpdateAuthMethod) GetBoundIpsOk() (*[]string, bool)

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

SetBoundIps

func (o *UpdateAuthMethod) SetBoundIps(v []string)

SetBoundIps sets BoundIps field to given value.

HasBoundIps

func (o *UpdateAuthMethod) HasBoundIps() bool

HasBoundIps returns a boolean if a field has been set.

GetForceSubClaims

func (o *UpdateAuthMethod) GetForceSubClaims() bool

GetForceSubClaims returns the ForceSubClaims field if non-nil, zero value otherwise.

GetForceSubClaimsOk

func (o *UpdateAuthMethod) GetForceSubClaimsOk() (*bool, bool)

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

SetForceSubClaims

func (o *UpdateAuthMethod) SetForceSubClaims(v bool)

SetForceSubClaims sets ForceSubClaims field to given value.

HasForceSubClaims

func (o *UpdateAuthMethod) HasForceSubClaims() bool

HasForceSubClaims returns a boolean if a field has been set.

GetGwBoundIps

func (o *UpdateAuthMethod) GetGwBoundIps() []string

GetGwBoundIps returns the GwBoundIps field if non-nil, zero value otherwise.

GetGwBoundIpsOk

func (o *UpdateAuthMethod) GetGwBoundIpsOk() (*[]string, bool)

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

SetGwBoundIps

func (o *UpdateAuthMethod) SetGwBoundIps(v []string)

SetGwBoundIps sets GwBoundIps field to given value.

HasGwBoundIps

func (o *UpdateAuthMethod) HasGwBoundIps() bool

HasGwBoundIps returns a boolean if a field has been set.

GetJson

func (o *UpdateAuthMethod) GetJson() bool

GetJson returns the Json field if non-nil, zero value otherwise.

GetJsonOk

func (o *UpdateAuthMethod) GetJsonOk() (*bool, bool)

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

SetJson

func (o *UpdateAuthMethod) SetJson(v bool)

SetJson sets Json field to given value.

HasJson

func (o *UpdateAuthMethod) HasJson() bool

HasJson returns a boolean if a field has been set.

GetJwtTtl

func (o *UpdateAuthMethod) GetJwtTtl() int64

GetJwtTtl returns the JwtTtl field if non-nil, zero value otherwise.

GetJwtTtlOk

func (o *UpdateAuthMethod) GetJwtTtlOk() (*int64, bool)

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

SetJwtTtl

func (o *UpdateAuthMethod) SetJwtTtl(v int64)

SetJwtTtl sets JwtTtl field to given value.

HasJwtTtl

func (o *UpdateAuthMethod) HasJwtTtl() bool

HasJwtTtl returns a boolean if a field has been set.

GetName

func (o *UpdateAuthMethod) GetName() string

GetName returns the Name field if non-nil, zero value otherwise.

GetNameOk

func (o *UpdateAuthMethod) 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.

SetName

func (o *UpdateAuthMethod) SetName(v string)

SetName sets Name field to given value.

GetNewName

func (o *UpdateAuthMethod) GetNewName() string

GetNewName returns the NewName field if non-nil, zero value otherwise.

GetNewNameOk

func (o *UpdateAuthMethod) GetNewNameOk() (*string, bool)

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

SetNewName

func (o *UpdateAuthMethod) SetNewName(v string)

SetNewName sets NewName field to given value.

HasNewName

func (o *UpdateAuthMethod) HasNewName() bool

HasNewName returns a boolean if a field has been set.

GetToken

func (o *UpdateAuthMethod) GetToken() string

GetToken returns the Token field if non-nil, zero value otherwise.

GetTokenOk

func (o *UpdateAuthMethod) GetTokenOk() (*string, bool)

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

SetToken

func (o *UpdateAuthMethod) SetToken(v string)

SetToken sets Token field to given value.

HasToken

func (o *UpdateAuthMethod) HasToken() bool

HasToken returns a boolean if a field has been set.

GetUidToken

func (o *UpdateAuthMethod) GetUidToken() string

GetUidToken returns the UidToken field if non-nil, zero value otherwise.

GetUidTokenOk

func (o *UpdateAuthMethod) GetUidTokenOk() (*string, bool)

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

SetUidToken

func (o *UpdateAuthMethod) SetUidToken(v string)

SetUidToken sets UidToken field to given value.

HasUidToken

func (o *UpdateAuthMethod) HasUidToken() bool

HasUidToken returns a boolean if a field has been set.

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