Skip to content

Latest commit

 

History

History
353 lines (190 loc) · 9.95 KB

CreateAuthMethodOCI.md

File metadata and controls

353 lines (190 loc) · 9.95 KB

CreateAuthMethodOCI

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]
Description Pointer to string Auth Method description [optional]
ForceSubClaims Pointer to bool if true: enforce role-association must include sub claims [optional]
GroupOcid []string A list of required groups ocids
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] [default to false]
JwtTtl Pointer to int64 Jwt TTL [optional] [default to 0]
Name string Auth Method name
ProductType Pointer to []string Choose the relevant product type for the auth method [sm, sra, pm, dp, ca] [optional]
TenantOcid string The Oracle Cloud tenant ID
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

NewCreateAuthMethodOCI

func NewCreateAuthMethodOCI(groupOcid []string, name string, tenantOcid string, ) *CreateAuthMethodOCI

NewCreateAuthMethodOCI instantiates a new CreateAuthMethodOCI 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

NewCreateAuthMethodOCIWithDefaults

func NewCreateAuthMethodOCIWithDefaults() *CreateAuthMethodOCI

NewCreateAuthMethodOCIWithDefaults instantiates a new CreateAuthMethodOCI 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 *CreateAuthMethodOCI) GetAccessExpires() int64

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

GetAccessExpiresOk

func (o *CreateAuthMethodOCI) 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 *CreateAuthMethodOCI) SetAccessExpires(v int64)

SetAccessExpires sets AccessExpires field to given value.

HasAccessExpires

func (o *CreateAuthMethodOCI) HasAccessExpires() bool

HasAccessExpires returns a boolean if a field has been set.

GetBoundIps

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

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

GetBoundIpsOk

func (o *CreateAuthMethodOCI) 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 *CreateAuthMethodOCI) SetBoundIps(v []string)

SetBoundIps sets BoundIps field to given value.

HasBoundIps

func (o *CreateAuthMethodOCI) HasBoundIps() bool

HasBoundIps returns a boolean if a field has been set.

GetDescription

func (o *CreateAuthMethodOCI) GetDescription() string

GetDescription returns the Description field if non-nil, zero value otherwise.

GetDescriptionOk

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

SetDescription

func (o *CreateAuthMethodOCI) SetDescription(v string)

SetDescription sets Description field to given value.

HasDescription

func (o *CreateAuthMethodOCI) HasDescription() bool

HasDescription returns a boolean if a field has been set.

GetForceSubClaims

func (o *CreateAuthMethodOCI) GetForceSubClaims() bool

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

GetForceSubClaimsOk

func (o *CreateAuthMethodOCI) 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 *CreateAuthMethodOCI) SetForceSubClaims(v bool)

SetForceSubClaims sets ForceSubClaims field to given value.

HasForceSubClaims

func (o *CreateAuthMethodOCI) HasForceSubClaims() bool

HasForceSubClaims returns a boolean if a field has been set.

GetGroupOcid

func (o *CreateAuthMethodOCI) GetGroupOcid() []string

GetGroupOcid returns the GroupOcid field if non-nil, zero value otherwise.

GetGroupOcidOk

func (o *CreateAuthMethodOCI) GetGroupOcidOk() (*[]string, bool)

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

SetGroupOcid

func (o *CreateAuthMethodOCI) SetGroupOcid(v []string)

SetGroupOcid sets GroupOcid field to given value.

GetGwBoundIps

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

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

GetGwBoundIpsOk

func (o *CreateAuthMethodOCI) 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 *CreateAuthMethodOCI) SetGwBoundIps(v []string)

SetGwBoundIps sets GwBoundIps field to given value.

HasGwBoundIps

func (o *CreateAuthMethodOCI) HasGwBoundIps() bool

HasGwBoundIps returns a boolean if a field has been set.

GetJson

func (o *CreateAuthMethodOCI) GetJson() bool

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

GetJsonOk

func (o *CreateAuthMethodOCI) 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 *CreateAuthMethodOCI) SetJson(v bool)

SetJson sets Json field to given value.

HasJson

func (o *CreateAuthMethodOCI) HasJson() bool

HasJson returns a boolean if a field has been set.

GetJwtTtl

func (o *CreateAuthMethodOCI) GetJwtTtl() int64

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

GetJwtTtlOk

func (o *CreateAuthMethodOCI) 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 *CreateAuthMethodOCI) SetJwtTtl(v int64)

SetJwtTtl sets JwtTtl field to given value.

HasJwtTtl

func (o *CreateAuthMethodOCI) HasJwtTtl() bool

HasJwtTtl returns a boolean if a field has been set.

GetName

func (o *CreateAuthMethodOCI) GetName() string

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

GetNameOk

func (o *CreateAuthMethodOCI) 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 *CreateAuthMethodOCI) SetName(v string)

SetName sets Name field to given value.

GetProductType

func (o *CreateAuthMethodOCI) GetProductType() []string

GetProductType returns the ProductType field if non-nil, zero value otherwise.

GetProductTypeOk

func (o *CreateAuthMethodOCI) GetProductTypeOk() (*[]string, bool)

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

SetProductType

func (o *CreateAuthMethodOCI) SetProductType(v []string)

SetProductType sets ProductType field to given value.

HasProductType

func (o *CreateAuthMethodOCI) HasProductType() bool

HasProductType returns a boolean if a field has been set.

GetTenantOcid

func (o *CreateAuthMethodOCI) GetTenantOcid() string

GetTenantOcid returns the TenantOcid field if non-nil, zero value otherwise.

GetTenantOcidOk

func (o *CreateAuthMethodOCI) GetTenantOcidOk() (*string, bool)

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

SetTenantOcid

func (o *CreateAuthMethodOCI) SetTenantOcid(v string)

SetTenantOcid sets TenantOcid field to given value.

GetToken

func (o *CreateAuthMethodOCI) GetToken() string

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

GetTokenOk

func (o *CreateAuthMethodOCI) 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 *CreateAuthMethodOCI) SetToken(v string)

SetToken sets Token field to given value.

HasToken

func (o *CreateAuthMethodOCI) HasToken() bool

HasToken returns a boolean if a field has been set.

GetUidToken

func (o *CreateAuthMethodOCI) GetUidToken() string

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

GetUidTokenOk

func (o *CreateAuthMethodOCI) 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 *CreateAuthMethodOCI) SetUidToken(v string)

SetUidToken sets UidToken field to given value.

HasUidToken

func (o *CreateAuthMethodOCI) HasUidToken() bool

HasUidToken returns a boolean if a field has been set.

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