Skip to content

Latest commit

 

History

History
108 lines (59 loc) · 2.95 KB

Permissions.md

File metadata and controls

108 lines (59 loc) · 2.95 KB

Permissions

Properties

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]

Methods

NewPermissions

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

NewPermissionsWithDefaults

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

GetCanRead

func (o *Permissions) GetCanRead() bool

GetCanRead returns the CanRead field if non-nil, zero value otherwise.

GetCanReadOk

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.

SetCanRead

func (o *Permissions) SetCanRead(v bool)

SetCanRead sets CanRead field to given value.

HasCanRead

func (o *Permissions) HasCanRead() bool

HasCanRead returns a boolean if a field has been set.

GetCanWrite

func (o *Permissions) GetCanWrite() bool

GetCanWrite returns the CanWrite field if non-nil, zero value otherwise.

GetCanWriteOk

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.

SetCanWrite

func (o *Permissions) SetCanWrite(v bool)

SetCanWrite sets CanWrite field to given value.

HasCanWrite

func (o *Permissions) HasCanWrite() bool

HasCanWrite returns a boolean if a field has been set.

GetCanDelete

func (o *Permissions) GetCanDelete() bool

GetCanDelete returns the CanDelete field if non-nil, zero value otherwise.

GetCanDeleteOk

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.

SetCanDelete

func (o *Permissions) SetCanDelete(v bool)

SetCanDelete sets CanDelete field to given value.

HasCanDelete

func (o *Permissions) HasCanDelete() bool

HasCanDelete returns a boolean if a field has been set.

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