Name | Type | Description | Notes |
---|---|---|---|
Description | Pointer to string | Description for the role. | [optional] |
Privileges | Pointer to []Privilege | List of privileges that will be associated with the role. | [optional] |
RoleName | Pointer to string | Unique identifier for the role. | [optional] |
func NewCreateRoleRequest() *CreateRoleRequest
NewCreateRoleRequest instantiates a new CreateRoleRequest 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 NewCreateRoleRequestWithDefaults() *CreateRoleRequest
NewCreateRoleRequestWithDefaults instantiates a new CreateRoleRequest 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 *CreateRoleRequest) GetDescription() string
GetDescription returns the Description field if non-nil, zero value otherwise.
func (o *CreateRoleRequest) GetDescriptionOk() (*string, bool)
GetDescriptionOk returns a tuple with the Description field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CreateRoleRequest) SetDescription(v string)
SetDescription sets Description field to given value.
func (o *CreateRoleRequest) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (o *CreateRoleRequest) GetPrivileges() []Privilege
GetPrivileges returns the Privileges field if non-nil, zero value otherwise.
func (o *CreateRoleRequest) GetPrivilegesOk() (*[]Privilege, bool)
GetPrivilegesOk returns a tuple with the Privileges field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CreateRoleRequest) SetPrivileges(v []Privilege)
SetPrivileges sets Privileges field to given value.
func (o *CreateRoleRequest) HasPrivileges() bool
HasPrivileges returns a boolean if a field has been set.
func (o *CreateRoleRequest) GetRoleName() string
GetRoleName returns the RoleName field if non-nil, zero value otherwise.
func (o *CreateRoleRequest) GetRoleNameOk() (*string, bool)
GetRoleNameOk returns a tuple with the RoleName field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CreateRoleRequest) SetRoleName(v string)
SetRoleName sets RoleName field to given value.
func (o *CreateRoleRequest) HasRoleName() bool
HasRoleName returns a boolean if a field has been set.