Name | Type | Description | Notes |
---|---|---|---|
Id | Pointer to int32 | The ID of the entity this grant applies to. | [optional] |
Label | Pointer to string | The current label of the entity this grant applies to, for display purposes. | [optional] [readonly] |
Permissions | Pointer to NullableString | The level of access this User has to this entity. If null, this User has no access. | [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) GetId() int32
GetId returns the Id field if non-nil, zero value otherwise.
func (o *Grant) GetIdOk() (*int32, bool)
GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Grant) SetId(v int32)
SetId sets Id field to given value.
func (o *Grant) HasId() bool
HasId returns a boolean if a field has been set.
func (o *Grant) GetLabel() string
GetLabel returns the Label field if non-nil, zero value otherwise.
func (o *Grant) GetLabelOk() (*string, bool)
GetLabelOk returns a tuple with the Label field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Grant) SetLabel(v string)
SetLabel sets Label field to given value.
func (o *Grant) HasLabel() bool
HasLabel returns a boolean if a field has been set.
func (o *Grant) GetPermissions() string
GetPermissions returns the Permissions field if non-nil, zero value otherwise.
func (o *Grant) GetPermissionsOk() (*string, bool)
GetPermissionsOk returns a tuple with the Permissions field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Grant) SetPermissions(v string)
SetPermissions sets Permissions field to given value.
func (o *Grant) HasPermissions() bool
HasPermissions returns a boolean if a field has been set.
func (o *Grant) SetPermissionsNil(b bool)
SetPermissionsNil sets the value for Permissions to be an explicit nil
func (o *Grant) UnsetPermissions()
UnsetPermissions ensures that no value is present for Permissions, not even an explicit nil