Name | Type | Description | Notes |
---|---|---|---|
Id | string | The ID of the custom role | |
Links | map[string]Link | The location and content type of related resources | |
Access | Pointer to Access | [optional] | |
Description | Pointer to string | The description of the custom role | [optional] |
Key | string | The key of the custom role | |
Name | string | The name of the custom role | |
Policy | []Statement | An array of the policies that comprise this custom role | |
BasePermissions | Pointer to string | [optional] |
func NewCustomRole(id string, links map[string]Link, key string, name string, policy []Statement, ) *CustomRole
NewCustomRole instantiates a new CustomRole 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 NewCustomRoleWithDefaults() *CustomRole
NewCustomRoleWithDefaults instantiates a new CustomRole 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 *CustomRole) GetId() string
GetId returns the Id field if non-nil, zero value otherwise.
func (o *CustomRole) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CustomRole) SetId(v string)
SetId sets Id field to given value.
func (o *CustomRole) GetLinks() map[string]Link
GetLinks returns the Links field if non-nil, zero value otherwise.
func (o *CustomRole) GetLinksOk() (*map[string]Link, bool)
GetLinksOk returns a tuple with the Links field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CustomRole) SetLinks(v map[string]Link)
SetLinks sets Links field to given value.
func (o *CustomRole) GetAccess() Access
GetAccess returns the Access field if non-nil, zero value otherwise.
func (o *CustomRole) GetAccessOk() (*Access, bool)
GetAccessOk returns a tuple with the Access field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CustomRole) SetAccess(v Access)
SetAccess sets Access field to given value.
func (o *CustomRole) HasAccess() bool
HasAccess returns a boolean if a field has been set.
func (o *CustomRole) GetDescription() string
GetDescription returns the Description field if non-nil, zero value otherwise.
func (o *CustomRole) 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 *CustomRole) SetDescription(v string)
SetDescription sets Description field to given value.
func (o *CustomRole) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (o *CustomRole) GetKey() string
GetKey returns the Key field if non-nil, zero value otherwise.
func (o *CustomRole) GetKeyOk() (*string, bool)
GetKeyOk returns a tuple with the Key field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CustomRole) SetKey(v string)
SetKey sets Key field to given value.
func (o *CustomRole) GetName() string
GetName returns the Name field if non-nil, zero value otherwise.
func (o *CustomRole) 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 *CustomRole) SetName(v string)
SetName sets Name field to given value.
func (o *CustomRole) GetPolicy() []Statement
GetPolicy returns the Policy field if non-nil, zero value otherwise.
func (o *CustomRole) GetPolicyOk() (*[]Statement, bool)
GetPolicyOk returns a tuple with the Policy field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CustomRole) SetPolicy(v []Statement)
SetPolicy sets Policy field to given value.
func (o *CustomRole) GetBasePermissions() string
GetBasePermissions returns the BasePermissions field if non-nil, zero value otherwise.
func (o *CustomRole) GetBasePermissionsOk() (*string, bool)
GetBasePermissionsOk returns a tuple with the BasePermissions field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CustomRole) SetBasePermissions(v string)
SetBasePermissions sets BasePermissions field to given value.
func (o *CustomRole) HasBasePermissions() bool
HasBasePermissions returns a boolean if a field has been set.