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] |
AuditLogsClaims | Pointer to []string | Subclaims to include in audit logs, e.g "--audit-logs-claims email --audit-logs-claims username" | [optional] |
BoundIps | Pointer to []string | A CIDR whitelist with the IPs that the access is restricted to | [optional] |
DeleteProtection | Pointer to string | Protection from accidental deletion of this object [true/false] | [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] |
func NewAuthMethodCreateOCI(groupOcid []string, name string, tenantOcid string, ) *AuthMethodCreateOCI
NewAuthMethodCreateOCI instantiates a new AuthMethodCreateOCI 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 NewAuthMethodCreateOCIWithDefaults() *AuthMethodCreateOCI
NewAuthMethodCreateOCIWithDefaults instantiates a new AuthMethodCreateOCI 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 *AuthMethodCreateOCI) GetAccessExpires() int64
GetAccessExpires returns the AccessExpires field if non-nil, zero value otherwise.
func (o *AuthMethodCreateOCI) 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.
func (o *AuthMethodCreateOCI) SetAccessExpires(v int64)
SetAccessExpires sets AccessExpires field to given value.
func (o *AuthMethodCreateOCI) HasAccessExpires() bool
HasAccessExpires returns a boolean if a field has been set.
func (o *AuthMethodCreateOCI) GetAuditLogsClaims() []string
GetAuditLogsClaims returns the AuditLogsClaims field if non-nil, zero value otherwise.
func (o *AuthMethodCreateOCI) GetAuditLogsClaimsOk() (*[]string, bool)
GetAuditLogsClaimsOk returns a tuple with the AuditLogsClaims field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *AuthMethodCreateOCI) SetAuditLogsClaims(v []string)
SetAuditLogsClaims sets AuditLogsClaims field to given value.
func (o *AuthMethodCreateOCI) HasAuditLogsClaims() bool
HasAuditLogsClaims returns a boolean if a field has been set.
func (o *AuthMethodCreateOCI) GetBoundIps() []string
GetBoundIps returns the BoundIps field if non-nil, zero value otherwise.
func (o *AuthMethodCreateOCI) 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.
func (o *AuthMethodCreateOCI) SetBoundIps(v []string)
SetBoundIps sets BoundIps field to given value.
func (o *AuthMethodCreateOCI) HasBoundIps() bool
HasBoundIps returns a boolean if a field has been set.
func (o *AuthMethodCreateOCI) GetDeleteProtection() string
GetDeleteProtection returns the DeleteProtection field if non-nil, zero value otherwise.
func (o *AuthMethodCreateOCI) GetDeleteProtectionOk() (*string, bool)
GetDeleteProtectionOk returns a tuple with the DeleteProtection field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *AuthMethodCreateOCI) SetDeleteProtection(v string)
SetDeleteProtection sets DeleteProtection field to given value.
func (o *AuthMethodCreateOCI) HasDeleteProtection() bool
HasDeleteProtection returns a boolean if a field has been set.
func (o *AuthMethodCreateOCI) GetDescription() string
GetDescription returns the Description field if non-nil, zero value otherwise.
func (o *AuthMethodCreateOCI) 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 *AuthMethodCreateOCI) SetDescription(v string)
SetDescription sets Description field to given value.
func (o *AuthMethodCreateOCI) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (o *AuthMethodCreateOCI) GetForceSubClaims() bool
GetForceSubClaims returns the ForceSubClaims field if non-nil, zero value otherwise.
func (o *AuthMethodCreateOCI) 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.
func (o *AuthMethodCreateOCI) SetForceSubClaims(v bool)
SetForceSubClaims sets ForceSubClaims field to given value.
func (o *AuthMethodCreateOCI) HasForceSubClaims() bool
HasForceSubClaims returns a boolean if a field has been set.
func (o *AuthMethodCreateOCI) GetGroupOcid() []string
GetGroupOcid returns the GroupOcid field if non-nil, zero value otherwise.
func (o *AuthMethodCreateOCI) 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.
func (o *AuthMethodCreateOCI) SetGroupOcid(v []string)
SetGroupOcid sets GroupOcid field to given value.
func (o *AuthMethodCreateOCI) GetGwBoundIps() []string
GetGwBoundIps returns the GwBoundIps field if non-nil, zero value otherwise.
func (o *AuthMethodCreateOCI) 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.
func (o *AuthMethodCreateOCI) SetGwBoundIps(v []string)
SetGwBoundIps sets GwBoundIps field to given value.
func (o *AuthMethodCreateOCI) HasGwBoundIps() bool
HasGwBoundIps returns a boolean if a field has been set.
func (o *AuthMethodCreateOCI) GetJson() bool
GetJson returns the Json field if non-nil, zero value otherwise.
func (o *AuthMethodCreateOCI) 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.
func (o *AuthMethodCreateOCI) SetJson(v bool)
SetJson sets Json field to given value.
func (o *AuthMethodCreateOCI) HasJson() bool
HasJson returns a boolean if a field has been set.
func (o *AuthMethodCreateOCI) GetJwtTtl() int64
GetJwtTtl returns the JwtTtl field if non-nil, zero value otherwise.
func (o *AuthMethodCreateOCI) 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.
func (o *AuthMethodCreateOCI) SetJwtTtl(v int64)
SetJwtTtl sets JwtTtl field to given value.
func (o *AuthMethodCreateOCI) HasJwtTtl() bool
HasJwtTtl returns a boolean if a field has been set.
func (o *AuthMethodCreateOCI) GetName() string
GetName returns the Name field if non-nil, zero value otherwise.
func (o *AuthMethodCreateOCI) 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 *AuthMethodCreateOCI) SetName(v string)
SetName sets Name field to given value.
func (o *AuthMethodCreateOCI) GetProductType() []string
GetProductType returns the ProductType field if non-nil, zero value otherwise.
func (o *AuthMethodCreateOCI) 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.
func (o *AuthMethodCreateOCI) SetProductType(v []string)
SetProductType sets ProductType field to given value.
func (o *AuthMethodCreateOCI) HasProductType() bool
HasProductType returns a boolean if a field has been set.
func (o *AuthMethodCreateOCI) GetTenantOcid() string
GetTenantOcid returns the TenantOcid field if non-nil, zero value otherwise.
func (o *AuthMethodCreateOCI) 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.
func (o *AuthMethodCreateOCI) SetTenantOcid(v string)
SetTenantOcid sets TenantOcid field to given value.
func (o *AuthMethodCreateOCI) GetToken() string
GetToken returns the Token field if non-nil, zero value otherwise.
func (o *AuthMethodCreateOCI) 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.
func (o *AuthMethodCreateOCI) SetToken(v string)
SetToken sets Token field to given value.
func (o *AuthMethodCreateOCI) HasToken() bool
HasToken returns a boolean if a field has been set.
func (o *AuthMethodCreateOCI) GetUidToken() string
GetUidToken returns the UidToken field if non-nil, zero value otherwise.
func (o *AuthMethodCreateOCI) 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.
func (o *AuthMethodCreateOCI) SetUidToken(v string)
SetUidToken sets UidToken field to given value.
func (o *AuthMethodCreateOCI) HasUidToken() bool
HasUidToken returns a boolean if a field has been set.