Name | Type | Description | Notes |
---|---|---|---|
Name | Pointer to string | The name of the role Changed in version 2.3.0: A minimum character length requirement ('minLength') is added. | [optional] |
Actions | Pointer to []ActionResource | [optional] |
func NewRole() *Role
NewRole instantiates a new Role 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 NewRoleWithDefaults() *Role
NewRoleWithDefaults instantiates a new Role 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 *Role) GetName() string
GetName returns the Name field if non-nil, zero value otherwise.
func (o *Role) 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 *Role) SetName(v string)
SetName sets Name field to given value.
func (o *Role) HasName() bool
HasName returns a boolean if a field has been set.
func (o *Role) GetActions() []ActionResource
GetActions returns the Actions field if non-nil, zero value otherwise.
func (o *Role) GetActionsOk() (*[]ActionResource, bool)
GetActionsOk returns a tuple with the Actions field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Role) SetActions(v []ActionResource)
SetActions sets Actions field to given value.
func (o *Role) HasActions() bool
HasActions returns a boolean if a field has been set.