Name | Type | Description | Notes |
---|---|---|---|
Users | Pointer to []int32 | An array of user IDs. | |
Roles | Pointer to []int32 | An array of role IDs. |
func (o *RoleAssign) GetUsers() []int32
GetUsers returns the Users field if non-nil, zero value otherwise.
func (o *RoleAssign) GetUsersOk() ([]int32, bool)
GetUsersOk returns a tuple with the Users field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *RoleAssign) HasUsers() bool
HasUsers returns a boolean if a field has been set.
func (o *RoleAssign) SetUsers(v []int32)
SetUsers gets a reference to the given []int32 and assigns it to the Users field.
func (o *RoleAssign) GetRoles() []int32
GetRoles returns the Roles field if non-nil, zero value otherwise.
func (o *RoleAssign) GetRolesOk() ([]int32, bool)
GetRolesOk returns a tuple with the Roles field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *RoleAssign) HasRoles() bool
HasRoles returns a boolean if a field has been set.
func (o *RoleAssign) SetRoles(v []int32)
SetRoles gets a reference to the given []int32 and assigns it to the Roles field.