Role

Properties

NameTypeDescriptionNotes
NamePointer to stringThe name of the role Changed in version 2.3.0: A minimum character length requirement ('minLength') is added.[optional]
ActionsPointer to []ActionResource[optional]

Methods

NewRole

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

NewRoleWithDefaults

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

GetName

func (o *Role) GetName() string

GetName returns the Name field if non-nil, zero value otherwise.

GetNameOk

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.

SetName

func (o *Role) SetName(v string)

SetName sets Name field to given value.

HasName

func (o *Role) HasName() bool

HasName returns a boolean if a field has been set.

GetActions

func (o *Role) GetActions() []ActionResource

GetActions returns the Actions field if non-nil, zero value otherwise.

GetActionsOk

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.

SetActions

func (o *Role) SetActions(v []ActionResource)

SetActions sets Actions field to given value.

HasActions

func (o *Role) HasActions() bool

HasActions returns a boolean if a field has been set.

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