Skip to content

Latest commit

 

History

History
118 lines (65 loc) · 3.05 KB

File metadata and controls

118 lines (65 loc) · 3.05 KB

Grant

Properties

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]

Methods

NewGrant

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

NewGrantWithDefaults

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

GetId

func (o *Grant) GetId() int32

GetId returns the Id field if non-nil, zero value otherwise.

GetIdOk

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.

SetId

func (o *Grant) SetId(v int32)

SetId sets Id field to given value.

HasId

func (o *Grant) HasId() bool

HasId returns a boolean if a field has been set.

GetLabel

func (o *Grant) GetLabel() string

GetLabel returns the Label field if non-nil, zero value otherwise.

GetLabelOk

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.

SetLabel

func (o *Grant) SetLabel(v string)

SetLabel sets Label field to given value.

HasLabel

func (o *Grant) HasLabel() bool

HasLabel returns a boolean if a field has been set.

GetPermissions

func (o *Grant) GetPermissions() string

GetPermissions returns the Permissions field if non-nil, zero value otherwise.

GetPermissionsOk

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.

SetPermissions

func (o *Grant) SetPermissions(v string)

SetPermissions sets Permissions field to given value.

HasPermissions

func (o *Grant) HasPermissions() bool

HasPermissions returns a boolean if a field has been set.

SetPermissionsNil

func (o *Grant) SetPermissionsNil(b bool)

SetPermissionsNil sets the value for Permissions to be an explicit nil

UnsetPermissions

func (o *Grant) UnsetPermissions()

UnsetPermissions ensures that no value is present for Permissions, not even an explicit nil

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