Name | Type | Description | Notes |
---|---|---|---|
Name | Pointer to string | Name of the role. | |
Description | Pointer to string | Description of the role. | [optional] |
Acl | Pointer to string | The `Access Control List` json defining the role of the user. This represents the access control on the user level. | |
Members | Pointer to []int32 | An array of user identifiers. |
func (o *NewRole) GetName() string
GetName returns the Name field if non-nil, zero value otherwise.
func (o *NewRole) GetNameOk() (string, bool)
GetNameOk returns a tuple with the Name field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *NewRole) HasName() bool
HasName returns a boolean if a field has been set.
func (o *NewRole) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (o *NewRole) GetDescription() string
GetDescription returns the Description field if non-nil, zero value otherwise.
func (o *NewRole) GetDescriptionOk() (string, bool)
GetDescriptionOk returns a tuple with the Description field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *NewRole) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (o *NewRole) SetDescription(v string)
SetDescription gets a reference to the given string and assigns it to the Description field.
func (o *NewRole) GetAcl() string
GetAcl returns the Acl field if non-nil, zero value otherwise.
func (o *NewRole) GetAclOk() (string, bool)
GetAclOk returns a tuple with the Acl field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *NewRole) HasAcl() bool
HasAcl returns a boolean if a field has been set.
func (o *NewRole) SetAcl(v string)
SetAcl gets a reference to the given string and assigns it to the Acl field.
func (o *NewRole) GetMembers() []int32
GetMembers returns the Members field if non-nil, zero value otherwise.
func (o *NewRole) GetMembersOk() ([]int32, bool)
GetMembersOk returns a tuple with the Members field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *NewRole) HasMembers() bool
HasMembers returns a boolean if a field has been set.
func (o *NewRole) SetMembers(v []int32)
SetMembers gets a reference to the given []int32 and assigns it to the Members field.