Skip to content

Latest commit

 

History

History
56 lines (31 loc) · 1.53 KB

UserRoleGrants.md

File metadata and controls

56 lines (31 loc) · 1.53 KB

UserRoleGrants

Properties

Name Type Description Notes
Roles []BuiltInRole
UserId string

Methods

NewUserRoleGrants

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.

NewUserRoleGrantsWithDefaults

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.

GetRoles

func (o *UserRoleGrants) GetRoles() []BuiltInRole

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

SetRoles

func (o *UserRoleGrants) SetRoles(v []BuiltInRole)

SetRoles sets Roles field to given value.

GetUserId

func (o *UserRoleGrants) GetUserId() string

GetUserId returns the UserId field if non-nil, zero value otherwise.

SetUserId

func (o *UserRoleGrants) SetUserId(v string)

SetUserId sets UserId field to given value.

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