Name | Type | Description | Notes |
---|---|---|---|
Name | Pointer to string | Name of the role. | [optional] |
Description | Pointer to string | Description of the role. | [optional] |
Permissions | Pointer to RoleV2Permissions | [optional] | |
Members | Pointer to []int32 | A list of user IDs the role is assigned to. | [optional] |
func (o *RoleV2Base) GetName() string
GetName returns the Name field if non-nil, zero value otherwise.
func (o *RoleV2Base) 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 *RoleV2Base) HasName() bool
HasName returns a boolean if a field has been set.
func (o *RoleV2Base) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (o *RoleV2Base) GetDescription() string
GetDescription returns the Description field if non-nil, zero value otherwise.
func (o *RoleV2Base) 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 *RoleV2Base) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (o *RoleV2Base) SetDescription(v string)
SetDescription gets a reference to the given string and assigns it to the Description field.
func (o *RoleV2Base) GetPermissions() RoleV2Permissions
GetPermissions returns the Permissions field if non-nil, zero value otherwise.
func (o *RoleV2Base) GetPermissionsOk() (RoleV2Permissions, 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 *RoleV2Base) HasPermissions() bool
HasPermissions returns a boolean if a field has been set.
func (o *RoleV2Base) SetPermissions(v RoleV2Permissions)
SetPermissions gets a reference to the given RoleV2Permissions and assigns it to the Permissions field.
func (o *RoleV2Base) GetMembers() []int32
GetMembers returns the Members field if non-nil, zero value otherwise.
func (o *RoleV2Base) 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 *RoleV2Base) HasMembers() bool
HasMembers returns a boolean if a field has been set.
func (o *RoleV2Base) SetMembers(v []int32)
SetMembers gets a reference to the given []int32 and assigns it to the Members field.