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] |
AuthUrl | Pointer to string | sts URL | [optional] [default to "https://iam.myhwclouds.com:443/v3"] |
BoundDomainId | Pointer to []string | A list of domain IDs that the access is restricted to | [optional] |
BoundDomainName | Pointer to []string | A list of domain names that the access is restricted to | [optional] |
BoundIps | Pointer to []string | A CIDR whitelist with the IPs that the access is restricted to | [optional] |
BoundTenantId | Pointer to []string | A list of full tenant ids that the access is restricted to | [optional] |
BoundTenantName | Pointer to []string | A list of full tenant names that the access is restricted to | [optional] |
BoundUserId | Pointer to []string | A list of full user ids that the access is restricted to | [optional] |
BoundUserName | Pointer to []string | A list of full user-name 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 | |
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 NewCreateAuthMethodHuawei(name string, ) *CreateAuthMethodHuawei
NewCreateAuthMethodHuawei instantiates a new CreateAuthMethodHuawei 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 NewCreateAuthMethodHuaweiWithDefaults() *CreateAuthMethodHuawei
NewCreateAuthMethodHuaweiWithDefaults instantiates a new CreateAuthMethodHuawei 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 *CreateAuthMethodHuawei) GetAccessExpires() int64
GetAccessExpires returns the AccessExpires field if non-nil, zero value otherwise.
func (o *CreateAuthMethodHuawei) 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 *CreateAuthMethodHuawei) SetAccessExpires(v int64)
SetAccessExpires sets AccessExpires field to given value.
func (o *CreateAuthMethodHuawei) HasAccessExpires() bool
HasAccessExpires returns a boolean if a field has been set.
func (o *CreateAuthMethodHuawei) GetAuthUrl() string
GetAuthUrl returns the AuthUrl field if non-nil, zero value otherwise.
func (o *CreateAuthMethodHuawei) GetAuthUrlOk() (*string, bool)
GetAuthUrlOk returns a tuple with the AuthUrl field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CreateAuthMethodHuawei) SetAuthUrl(v string)
SetAuthUrl sets AuthUrl field to given value.
func (o *CreateAuthMethodHuawei) HasAuthUrl() bool
HasAuthUrl returns a boolean if a field has been set.
func (o *CreateAuthMethodHuawei) GetBoundDomainId() []string
GetBoundDomainId returns the BoundDomainId field if non-nil, zero value otherwise.
func (o *CreateAuthMethodHuawei) GetBoundDomainIdOk() (*[]string, bool)
GetBoundDomainIdOk returns a tuple with the BoundDomainId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CreateAuthMethodHuawei) SetBoundDomainId(v []string)
SetBoundDomainId sets BoundDomainId field to given value.
func (o *CreateAuthMethodHuawei) HasBoundDomainId() bool
HasBoundDomainId returns a boolean if a field has been set.
func (o *CreateAuthMethodHuawei) GetBoundDomainName() []string
GetBoundDomainName returns the BoundDomainName field if non-nil, zero value otherwise.
func (o *CreateAuthMethodHuawei) GetBoundDomainNameOk() (*[]string, bool)
GetBoundDomainNameOk returns a tuple with the BoundDomainName field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CreateAuthMethodHuawei) SetBoundDomainName(v []string)
SetBoundDomainName sets BoundDomainName field to given value.
func (o *CreateAuthMethodHuawei) HasBoundDomainName() bool
HasBoundDomainName returns a boolean if a field has been set.
func (o *CreateAuthMethodHuawei) GetBoundIps() []string
GetBoundIps returns the BoundIps field if non-nil, zero value otherwise.
func (o *CreateAuthMethodHuawei) 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 *CreateAuthMethodHuawei) SetBoundIps(v []string)
SetBoundIps sets BoundIps field to given value.
func (o *CreateAuthMethodHuawei) HasBoundIps() bool
HasBoundIps returns a boolean if a field has been set.
func (o *CreateAuthMethodHuawei) GetBoundTenantId() []string
GetBoundTenantId returns the BoundTenantId field if non-nil, zero value otherwise.
func (o *CreateAuthMethodHuawei) GetBoundTenantIdOk() (*[]string, bool)
GetBoundTenantIdOk returns a tuple with the BoundTenantId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CreateAuthMethodHuawei) SetBoundTenantId(v []string)
SetBoundTenantId sets BoundTenantId field to given value.
func (o *CreateAuthMethodHuawei) HasBoundTenantId() bool
HasBoundTenantId returns a boolean if a field has been set.
func (o *CreateAuthMethodHuawei) GetBoundTenantName() []string
GetBoundTenantName returns the BoundTenantName field if non-nil, zero value otherwise.
func (o *CreateAuthMethodHuawei) GetBoundTenantNameOk() (*[]string, bool)
GetBoundTenantNameOk returns a tuple with the BoundTenantName field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CreateAuthMethodHuawei) SetBoundTenantName(v []string)
SetBoundTenantName sets BoundTenantName field to given value.
func (o *CreateAuthMethodHuawei) HasBoundTenantName() bool
HasBoundTenantName returns a boolean if a field has been set.
func (o *CreateAuthMethodHuawei) GetBoundUserId() []string
GetBoundUserId returns the BoundUserId field if non-nil, zero value otherwise.
func (o *CreateAuthMethodHuawei) GetBoundUserIdOk() (*[]string, bool)
GetBoundUserIdOk returns a tuple with the BoundUserId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CreateAuthMethodHuawei) SetBoundUserId(v []string)
SetBoundUserId sets BoundUserId field to given value.
func (o *CreateAuthMethodHuawei) HasBoundUserId() bool
HasBoundUserId returns a boolean if a field has been set.
func (o *CreateAuthMethodHuawei) GetBoundUserName() []string
GetBoundUserName returns the BoundUserName field if non-nil, zero value otherwise.
func (o *CreateAuthMethodHuawei) GetBoundUserNameOk() (*[]string, bool)
GetBoundUserNameOk returns a tuple with the BoundUserName field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CreateAuthMethodHuawei) SetBoundUserName(v []string)
SetBoundUserName sets BoundUserName field to given value.
func (o *CreateAuthMethodHuawei) HasBoundUserName() bool
HasBoundUserName returns a boolean if a field has been set.
func (o *CreateAuthMethodHuawei) GetForceSubClaims() bool
GetForceSubClaims returns the ForceSubClaims field if non-nil, zero value otherwise.
func (o *CreateAuthMethodHuawei) 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 *CreateAuthMethodHuawei) SetForceSubClaims(v bool)
SetForceSubClaims sets ForceSubClaims field to given value.
func (o *CreateAuthMethodHuawei) HasForceSubClaims() bool
HasForceSubClaims returns a boolean if a field has been set.
func (o *CreateAuthMethodHuawei) GetGwBoundIps() []string
GetGwBoundIps returns the GwBoundIps field if non-nil, zero value otherwise.
func (o *CreateAuthMethodHuawei) 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 *CreateAuthMethodHuawei) SetGwBoundIps(v []string)
SetGwBoundIps sets GwBoundIps field to given value.
func (o *CreateAuthMethodHuawei) HasGwBoundIps() bool
HasGwBoundIps returns a boolean if a field has been set.
func (o *CreateAuthMethodHuawei) GetJson() bool
GetJson returns the Json field if non-nil, zero value otherwise.
func (o *CreateAuthMethodHuawei) 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 *CreateAuthMethodHuawei) SetJson(v bool)
SetJson sets Json field to given value.
func (o *CreateAuthMethodHuawei) HasJson() bool
HasJson returns a boolean if a field has been set.
func (o *CreateAuthMethodHuawei) GetJwtTtl() int64
GetJwtTtl returns the JwtTtl field if non-nil, zero value otherwise.
func (o *CreateAuthMethodHuawei) 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 *CreateAuthMethodHuawei) SetJwtTtl(v int64)
SetJwtTtl sets JwtTtl field to given value.
func (o *CreateAuthMethodHuawei) HasJwtTtl() bool
HasJwtTtl returns a boolean if a field has been set.
func (o *CreateAuthMethodHuawei) GetName() string
GetName returns the Name field if non-nil, zero value otherwise.
func (o *CreateAuthMethodHuawei) 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 *CreateAuthMethodHuawei) SetName(v string)
SetName sets Name field to given value.
func (o *CreateAuthMethodHuawei) GetToken() string
GetToken returns the Token field if non-nil, zero value otherwise.
func (o *CreateAuthMethodHuawei) 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 *CreateAuthMethodHuawei) SetToken(v string)
SetToken sets Token field to given value.
func (o *CreateAuthMethodHuawei) HasToken() bool
HasToken returns a boolean if a field has been set.
func (o *CreateAuthMethodHuawei) GetUidToken() string
GetUidToken returns the UidToken field if non-nil, zero value otherwise.
func (o *CreateAuthMethodHuawei) 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 *CreateAuthMethodHuawei) SetUidToken(v string)
SetUidToken sets UidToken field to given value.
func (o *CreateAuthMethodHuawei) HasUidToken() bool
HasUidToken returns a boolean if a field has been set.