Skip to content

Latest commit

 

History

History
108 lines (59 loc) · 3.14 KB

CreateRoleRequest.md

File metadata and controls

108 lines (59 loc) · 3.14 KB

CreateRoleRequest

Properties

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]

Methods

NewCreateRoleRequest

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

NewCreateRoleRequestWithDefaults

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

GetDescription

func (o *CreateRoleRequest) GetDescription() string

GetDescription returns the Description field if non-nil, zero value otherwise.

GetDescriptionOk

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.

SetDescription

func (o *CreateRoleRequest) SetDescription(v string)

SetDescription sets Description field to given value.

HasDescription

func (o *CreateRoleRequest) HasDescription() bool

HasDescription returns a boolean if a field has been set.

GetPrivileges

func (o *CreateRoleRequest) GetPrivileges() []Privilege

GetPrivileges returns the Privileges field if non-nil, zero value otherwise.

GetPrivilegesOk

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.

SetPrivileges

func (o *CreateRoleRequest) SetPrivileges(v []Privilege)

SetPrivileges sets Privileges field to given value.

HasPrivileges

func (o *CreateRoleRequest) HasPrivileges() bool

HasPrivileges returns a boolean if a field has been set.

GetRoleName

func (o *CreateRoleRequest) GetRoleName() string

GetRoleName returns the RoleName field if non-nil, zero value otherwise.

GetRoleNameOk

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.

SetRoleName

func (o *CreateRoleRequest) SetRoleName(v string)

SetRoleName sets RoleName field to given value.

HasRoleName

func (o *CreateRoleRequest) HasRoleName() bool

HasRoleName returns a boolean if a field has been set.

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