Name | Type | Description | Notes |
---|---|---|---|
CanRead | Pointer to bool | Indicates whether the user can read a given resource. | [optional] [readonly] |
CanWrite | Pointer to bool | Indicates whether the user can write a given resource. | [optional] [readonly] |
CanDelete | Pointer to bool | Indicates whether the user can delete a given resource. | [optional] [readonly] |
func NewPermissions() *Permissions
NewPermissions instantiates a new Permissions 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 NewPermissionsWithDefaults() *Permissions
NewPermissionsWithDefaults instantiates a new Permissions 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 *Permissions) GetCanRead() bool
GetCanRead returns the CanRead field if non-nil, zero value otherwise.
func (o *Permissions) GetCanReadOk() (*bool, bool)
GetCanReadOk returns a tuple with the CanRead field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Permissions) SetCanRead(v bool)
SetCanRead sets CanRead field to given value.
func (o *Permissions) HasCanRead() bool
HasCanRead returns a boolean if a field has been set.
func (o *Permissions) GetCanWrite() bool
GetCanWrite returns the CanWrite field if non-nil, zero value otherwise.
func (o *Permissions) GetCanWriteOk() (*bool, bool)
GetCanWriteOk returns a tuple with the CanWrite field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Permissions) SetCanWrite(v bool)
SetCanWrite sets CanWrite field to given value.
func (o *Permissions) HasCanWrite() bool
HasCanWrite returns a boolean if a field has been set.
func (o *Permissions) GetCanDelete() bool
GetCanDelete returns the CanDelete field if non-nil, zero value otherwise.
func (o *Permissions) GetCanDeleteOk() (*bool, bool)
GetCanDeleteOk returns a tuple with the CanDelete field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Permissions) SetCanDelete(v bool)
SetCanDelete sets CanDelete field to given value.
func (o *Permissions) HasCanDelete() bool
HasCanDelete returns a boolean if a field has been set.