Name | Type | Description | Notes |
---|---|---|---|
Description | string | Description of the role | |
Label | string | Unique label for the role | |
Permissions | []string | Array of permissions that the role will grant. See Permission Types. |
func NewCreateIamRoleRequest(description string, label string, permissions []string, ) *CreateIamRoleRequest
NewCreateIamRoleRequest instantiates a new CreateIamRoleRequest 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 NewCreateIamRoleRequestWithDefaults() *CreateIamRoleRequest
NewCreateIamRoleRequestWithDefaults instantiates a new CreateIamRoleRequest 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 *CreateIamRoleRequest) GetDescription() string
GetDescription returns the Description field if non-nil, zero value otherwise.
func (o *CreateIamRoleRequest) 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 *CreateIamRoleRequest) SetDescription(v string)
SetDescription sets Description field to given value.
func (o *CreateIamRoleRequest) GetLabel() string
GetLabel returns the Label field if non-nil, zero value otherwise.
func (o *CreateIamRoleRequest) GetLabelOk() (*string, bool)
GetLabelOk returns a tuple with the Label field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CreateIamRoleRequest) SetLabel(v string)
SetLabel sets Label field to given value.
func (o *CreateIamRoleRequest) GetPermissions() []string
GetPermissions returns the Permissions field if non-nil, zero value otherwise.
func (o *CreateIamRoleRequest) GetPermissionsOk() (*[]string, bool)
GetPermissionsOk returns a tuple with the Permissions field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CreateIamRoleRequest) SetPermissions(v []string)
SetPermissions sets Permissions field to given value.