Skip to content

Latest commit

 

History

History
65 lines (34 loc) · 1.55 KB

RoleAssign.md

File metadata and controls

65 lines (34 loc) · 1.55 KB

RoleAssign

Properties

Name Type Description Notes
Users Pointer to []int32 An array of user IDs.
Roles Pointer to []int32 An array of role IDs.

Methods

GetUsers

func (o *RoleAssign) GetUsers() []int32

GetUsers returns the Users field if non-nil, zero value otherwise.

GetUsersOk

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.

HasUsers

func (o *RoleAssign) HasUsers() bool

HasUsers returns a boolean if a field has been set.

SetUsers

func (o *RoleAssign) SetUsers(v []int32)

SetUsers gets a reference to the given []int32 and assigns it to the Users field.

GetRoles

func (o *RoleAssign) GetRoles() []int32

GetRoles returns the Roles field if non-nil, zero value otherwise.

GetRolesOk

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.

HasRoles

func (o *RoleAssign) HasRoles() bool

HasRoles returns a boolean if a field has been set.

SetRoles

func (o *RoleAssign) SetRoles(v []int32)

SetRoles gets a reference to the given []int32 and assigns it to the Roles field.

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