Name | Type | Description | Notes |
---|---|---|---|
UserId | UserId | ||
Roles | []UserRole | A list of the roles |
func NewUserRoleCollection(userId UserId, roles []UserRole, ) *UserRoleCollection
NewUserRoleCollection instantiates a new UserRoleCollection 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
func NewUserRoleCollectionWithDefaults() *UserRoleCollection
NewUserRoleCollectionWithDefaults instantiates a new UserRoleCollection 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
func (o *UserRoleCollection) GetUserId() UserId
GetUserId returns the UserId field if non-nil, zero value otherwise.
func (o *UserRoleCollection) GetUserIdOk() (*UserId, bool)
GetUserIdOk returns a tuple with the UserId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *UserRoleCollection) SetUserId(v UserId)
SetUserId sets UserId field to given value.
func (o *UserRoleCollection) GetRoles() []UserRole
GetRoles returns the Roles field if non-nil, zero value otherwise.
func (o *UserRoleCollection) GetRolesOk() (*[]UserRole, 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 *UserRoleCollection) SetRoles(v []UserRole)
SetRoles sets Roles field to given value.