Name | Type | Description | Notes |
---|---|---|---|
Scopes | Pointer to []GrantScope | [optional] | |
Claims | Pointer to []string | The claims associated with the Grant. | [optional] |
AuthorizationDetails | Pointer to AuthzDetails | [optional] |
func NewGrant() *Grant
NewGrant instantiates a new Grant 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 NewGrantWithDefaults() *Grant
NewGrantWithDefaults instantiates a new Grant 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 *Grant) GetScopes() []GrantScope
GetScopes returns the Scopes field if non-nil, zero value otherwise.
func (o *Grant) GetScopesOk() (*[]GrantScope, bool)
GetScopesOk returns a tuple with the Scopes field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Grant) SetScopes(v []GrantScope)
SetScopes sets Scopes field to given value.
func (o *Grant) HasScopes() bool
HasScopes returns a boolean if a field has been set.
func (o *Grant) GetClaims() []string
GetClaims returns the Claims field if non-nil, zero value otherwise.
func (o *Grant) GetClaimsOk() (*[]string, bool)
GetClaimsOk returns a tuple with the Claims field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Grant) SetClaims(v []string)
SetClaims sets Claims field to given value.
func (o *Grant) HasClaims() bool
HasClaims returns a boolean if a field has been set.
func (o *Grant) GetAuthorizationDetails() AuthzDetails
GetAuthorizationDetails returns the AuthorizationDetails field if non-nil, zero value otherwise.
func (o *Grant) GetAuthorizationDetailsOk() (*AuthzDetails, bool)
GetAuthorizationDetailsOk returns a tuple with the AuthorizationDetails field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Grant) SetAuthorizationDetails(v AuthzDetails)
SetAuthorizationDetails sets AuthorizationDetails field to given value.
func (o *Grant) HasAuthorizationDetails() bool
HasAuthorizationDetails returns a boolean if a field has been set.