Name | Type | Description | Notes |
---|---|---|---|
Roles | []BuiltInRole | ||
UserId | string |
func NewUserRoleGrants(roles []BuiltInRole, userId string, ) *UserRoleGrants
NewUserRoleGrants instantiates a new UserRoleGrants 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 NewUserRoleGrantsWithDefaults() *UserRoleGrants
NewUserRoleGrantsWithDefaults instantiates a new UserRoleGrants 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 *UserRoleGrants) GetRoles() []BuiltInRole
GetRoles returns the Roles field if non-nil, zero value otherwise.
func (o *UserRoleGrants) SetRoles(v []BuiltInRole)
SetRoles sets Roles field to given value.
func (o *UserRoleGrants) GetUserId() string
GetUserId returns the UserId field if non-nil, zero value otherwise.
func (o *UserRoleGrants) SetUserId(v string)
SetUserId sets UserId field to given value.