Name | Type | Description | Notes |
---|---|---|---|
Name | string | The name of the custom role | |
Description | Pointer to string | A more detailed description of the custom role and what use it's intended for | [optional] |
Type | Pointer to string | Custom root roles (type=root-custom) are root roles with a custom set of permissions. Custom project roles (type=custom) contain a specific set of permissions for project resources. | [optional] |
Permissions | Pointer to []CreateRoleWithPermissionsSchemaAnyOf1PermissionsInner | A list of permissions assigned to this role | [optional] |
func NewCreateRoleWithPermissionsSchema(name string, ) *CreateRoleWithPermissionsSchema
NewCreateRoleWithPermissionsSchema instantiates a new CreateRoleWithPermissionsSchema 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 NewCreateRoleWithPermissionsSchemaWithDefaults() *CreateRoleWithPermissionsSchema
NewCreateRoleWithPermissionsSchemaWithDefaults instantiates a new CreateRoleWithPermissionsSchema 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 *CreateRoleWithPermissionsSchema) GetName() string
GetName returns the Name field if non-nil, zero value otherwise.
func (o *CreateRoleWithPermissionsSchema) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CreateRoleWithPermissionsSchema) SetName(v string)
SetName sets Name field to given value.
func (o *CreateRoleWithPermissionsSchema) GetDescription() string
GetDescription returns the Description field if non-nil, zero value otherwise.
func (o *CreateRoleWithPermissionsSchema) 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 *CreateRoleWithPermissionsSchema) SetDescription(v string)
SetDescription sets Description field to given value.
func (o *CreateRoleWithPermissionsSchema) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (o *CreateRoleWithPermissionsSchema) GetType() string
GetType returns the Type field if non-nil, zero value otherwise.
func (o *CreateRoleWithPermissionsSchema) GetTypeOk() (*string, bool)
GetTypeOk returns a tuple with the Type field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CreateRoleWithPermissionsSchema) SetType(v string)
SetType sets Type field to given value.
func (o *CreateRoleWithPermissionsSchema) HasType() bool
HasType returns a boolean if a field has been set.
func (o *CreateRoleWithPermissionsSchema) GetPermissions() []CreateRoleWithPermissionsSchemaAnyOf1PermissionsInner
GetPermissions returns the Permissions field if non-nil, zero value otherwise.
func (o *CreateRoleWithPermissionsSchema) GetPermissionsOk() (*[]CreateRoleWithPermissionsSchemaAnyOf1PermissionsInner, 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 *CreateRoleWithPermissionsSchema) SetPermissions(v []CreateRoleWithPermissionsSchemaAnyOf1PermissionsInner)
SetPermissions sets Permissions field to given value.
func (o *CreateRoleWithPermissionsSchema) HasPermissions() bool
HasPermissions returns a boolean if a field has been set.