Name | Type | Description | Notes |
---|---|---|---|
AccessDate | Pointer to time.Time | [optional] | |
AccessDateDisplay | Pointer to string | [optional] | |
ClientPermissions | Pointer to []string | [optional] | |
Comment | Pointer to string | [optional] | |
CreationDate | Pointer to time.Time | [optional] | |
DeleteProtection | Pointer to bool | [optional] | |
ModificationDate | Pointer to time.Time | [optional] | |
RoleAuthMethodsAssoc | Pointer to []RoleAuthMethodAssociation | [optional] | |
RoleName | Pointer to string | [optional] | |
Rules | Pointer to Rules | [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) GetAccessDate() time.Time
GetAccessDate returns the AccessDate field if non-nil, zero value otherwise.
func (o *Role) GetAccessDateOk() (*time.Time, bool)
GetAccessDateOk returns a tuple with the AccessDate field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Role) SetAccessDate(v time.Time)
SetAccessDate sets AccessDate field to given value.
func (o *Role) HasAccessDate() bool
HasAccessDate returns a boolean if a field has been set.
func (o *Role) GetAccessDateDisplay() string
GetAccessDateDisplay returns the AccessDateDisplay field if non-nil, zero value otherwise.
func (o *Role) GetAccessDateDisplayOk() (*string, bool)
GetAccessDateDisplayOk returns a tuple with the AccessDateDisplay field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Role) SetAccessDateDisplay(v string)
SetAccessDateDisplay sets AccessDateDisplay field to given value.
func (o *Role) HasAccessDateDisplay() bool
HasAccessDateDisplay returns a boolean if a field has been set.
func (o *Role) GetClientPermissions() []string
GetClientPermissions returns the ClientPermissions field if non-nil, zero value otherwise.
func (o *Role) GetClientPermissionsOk() (*[]string, bool)
GetClientPermissionsOk returns a tuple with the ClientPermissions field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Role) SetClientPermissions(v []string)
SetClientPermissions sets ClientPermissions field to given value.
func (o *Role) HasClientPermissions() bool
HasClientPermissions returns a boolean if a field has been set.
func (o *Role) GetComment() string
GetComment returns the Comment field if non-nil, zero value otherwise.
func (o *Role) GetCommentOk() (*string, bool)
GetCommentOk returns a tuple with the Comment field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Role) SetComment(v string)
SetComment sets Comment field to given value.
func (o *Role) HasComment() bool
HasComment returns a boolean if a field has been set.
func (o *Role) GetCreationDate() time.Time
GetCreationDate returns the CreationDate field if non-nil, zero value otherwise.
func (o *Role) GetCreationDateOk() (*time.Time, bool)
GetCreationDateOk returns a tuple with the CreationDate field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Role) SetCreationDate(v time.Time)
SetCreationDate sets CreationDate field to given value.
func (o *Role) HasCreationDate() bool
HasCreationDate returns a boolean if a field has been set.
func (o *Role) GetDeleteProtection() bool
GetDeleteProtection returns the DeleteProtection field if non-nil, zero value otherwise.
func (o *Role) GetDeleteProtectionOk() (*bool, bool)
GetDeleteProtectionOk returns a tuple with the DeleteProtection field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Role) SetDeleteProtection(v bool)
SetDeleteProtection sets DeleteProtection field to given value.
func (o *Role) HasDeleteProtection() bool
HasDeleteProtection returns a boolean if a field has been set.
func (o *Role) GetModificationDate() time.Time
GetModificationDate returns the ModificationDate field if non-nil, zero value otherwise.
func (o *Role) GetModificationDateOk() (*time.Time, bool)
GetModificationDateOk returns a tuple with the ModificationDate field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Role) SetModificationDate(v time.Time)
SetModificationDate sets ModificationDate field to given value.
func (o *Role) HasModificationDate() bool
HasModificationDate returns a boolean if a field has been set.
func (o *Role) GetRoleAuthMethodsAssoc() []RoleAuthMethodAssociation
GetRoleAuthMethodsAssoc returns the RoleAuthMethodsAssoc field if non-nil, zero value otherwise.
func (o *Role) GetRoleAuthMethodsAssocOk() (*[]RoleAuthMethodAssociation, bool)
GetRoleAuthMethodsAssocOk returns a tuple with the RoleAuthMethodsAssoc field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Role) SetRoleAuthMethodsAssoc(v []RoleAuthMethodAssociation)
SetRoleAuthMethodsAssoc sets RoleAuthMethodsAssoc field to given value.
func (o *Role) HasRoleAuthMethodsAssoc() bool
HasRoleAuthMethodsAssoc returns a boolean if a field has been set.
func (o *Role) GetRoleName() string
GetRoleName returns the RoleName field if non-nil, zero value otherwise.
func (o *Role) GetRoleNameOk() (*string, bool)
GetRoleNameOk returns a tuple with the RoleName field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Role) SetRoleName(v string)
SetRoleName sets RoleName field to given value.
func (o *Role) HasRoleName() bool
HasRoleName returns a boolean if a field has been set.
func (o *Role) GetRules() Rules
GetRules returns the Rules field if non-nil, zero value otherwise.
func (o *Role) GetRulesOk() (*Rules, bool)
GetRulesOk returns a tuple with the Rules field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Role) SetRules(v Rules)
SetRules sets Rules field to given value.
func (o *Role) HasRules() bool
HasRules returns a boolean if a field has been set.