Name | Type | Description | Notes |
---|---|---|---|
AnalyticsAccess | Pointer to string | Allow this role to view analytics. Currently only 'none', 'own', 'all' values are supported, allowing associated auth methods to view reports produced by the same auth methods. | [optional] |
AuditAccess | Pointer to string | Allow this role to view audit logs. Currently only 'none', 'own' and 'all' values are supported, allowing associated auth methods to view audit logs produced by the same auth methods. | [optional] |
DeleteProtection | Pointer to string | Protection from accidental deletion of this object [true/false] | [optional] |
Description | Pointer to string | Description of the object | [optional] [default to "default_comment"] |
EventCenterAccess | Pointer to string | Allow this role to view Event Center. Currently only 'none', 'own' and 'all' values are supported | [optional] |
EventForwarderAccess | Pointer to string | Allow this role to manage Event Forwarders. Currently only 'none' and 'all' values are supported. | [optional] |
GwAnalyticsAccess | Pointer to string | Allow this role to view gw analytics. Currently only 'none', 'own', 'all' values are supported, allowing associated auth methods to view reports produced by the same auth methods. | [optional] |
Json | Pointer to bool | Set output format to JSON | [optional] [default to false] |
Name | string | Role name | |
NewComment | Pointer to string | Deprecated - use description | [optional] [default to "default_comment"] |
NewName | Pointer to string | New Role name | [optional] |
SraReportsAccess | Pointer to string | Allow this role to view SRA Clusters. Currently only 'none', 'own', 'all' values are supported. | [optional] |
Token | Pointer to string | Authentication token (see `/auth` and `/configure`) | [optional] |
UidToken | Pointer to string | The universal identity token, Required only for universal_identity authentication | [optional] |
UsageReportsAccess | Pointer to string | Allow this role to view Usage Report. Currently only 'none' and 'all' values are supported. | [optional] |
func NewUpdateRole(name string, ) *UpdateRole
NewUpdateRole instantiates a new UpdateRole 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 NewUpdateRoleWithDefaults() *UpdateRole
NewUpdateRoleWithDefaults instantiates a new UpdateRole 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 *UpdateRole) GetAnalyticsAccess() string
GetAnalyticsAccess returns the AnalyticsAccess field if non-nil, zero value otherwise.
func (o *UpdateRole) GetAnalyticsAccessOk() (*string, bool)
GetAnalyticsAccessOk returns a tuple with the AnalyticsAccess field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *UpdateRole) SetAnalyticsAccess(v string)
SetAnalyticsAccess sets AnalyticsAccess field to given value.
func (o *UpdateRole) HasAnalyticsAccess() bool
HasAnalyticsAccess returns a boolean if a field has been set.
func (o *UpdateRole) GetAuditAccess() string
GetAuditAccess returns the AuditAccess field if non-nil, zero value otherwise.
func (o *UpdateRole) GetAuditAccessOk() (*string, bool)
GetAuditAccessOk returns a tuple with the AuditAccess field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *UpdateRole) SetAuditAccess(v string)
SetAuditAccess sets AuditAccess field to given value.
func (o *UpdateRole) HasAuditAccess() bool
HasAuditAccess returns a boolean if a field has been set.
func (o *UpdateRole) GetDeleteProtection() string
GetDeleteProtection returns the DeleteProtection field if non-nil, zero value otherwise.
func (o *UpdateRole) GetDeleteProtectionOk() (*string, 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 *UpdateRole) SetDeleteProtection(v string)
SetDeleteProtection sets DeleteProtection field to given value.
func (o *UpdateRole) HasDeleteProtection() bool
HasDeleteProtection returns a boolean if a field has been set.
func (o *UpdateRole) GetDescription() string
GetDescription returns the Description field if non-nil, zero value otherwise.
func (o *UpdateRole) 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 *UpdateRole) SetDescription(v string)
SetDescription sets Description field to given value.
func (o *UpdateRole) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (o *UpdateRole) GetEventCenterAccess() string
GetEventCenterAccess returns the EventCenterAccess field if non-nil, zero value otherwise.
func (o *UpdateRole) GetEventCenterAccessOk() (*string, bool)
GetEventCenterAccessOk returns a tuple with the EventCenterAccess field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *UpdateRole) SetEventCenterAccess(v string)
SetEventCenterAccess sets EventCenterAccess field to given value.
func (o *UpdateRole) HasEventCenterAccess() bool
HasEventCenterAccess returns a boolean if a field has been set.
func (o *UpdateRole) GetEventForwarderAccess() string
GetEventForwarderAccess returns the EventForwarderAccess field if non-nil, zero value otherwise.
func (o *UpdateRole) GetEventForwarderAccessOk() (*string, bool)
GetEventForwarderAccessOk returns a tuple with the EventForwarderAccess field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *UpdateRole) SetEventForwarderAccess(v string)
SetEventForwarderAccess sets EventForwarderAccess field to given value.
func (o *UpdateRole) HasEventForwarderAccess() bool
HasEventForwarderAccess returns a boolean if a field has been set.
func (o *UpdateRole) GetGwAnalyticsAccess() string
GetGwAnalyticsAccess returns the GwAnalyticsAccess field if non-nil, zero value otherwise.
func (o *UpdateRole) GetGwAnalyticsAccessOk() (*string, bool)
GetGwAnalyticsAccessOk returns a tuple with the GwAnalyticsAccess field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *UpdateRole) SetGwAnalyticsAccess(v string)
SetGwAnalyticsAccess sets GwAnalyticsAccess field to given value.
func (o *UpdateRole) HasGwAnalyticsAccess() bool
HasGwAnalyticsAccess returns a boolean if a field has been set.
func (o *UpdateRole) GetJson() bool
GetJson returns the Json field if non-nil, zero value otherwise.
func (o *UpdateRole) GetJsonOk() (*bool, bool)
GetJsonOk returns a tuple with the Json field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *UpdateRole) SetJson(v bool)
SetJson sets Json field to given value.
func (o *UpdateRole) HasJson() bool
HasJson returns a boolean if a field has been set.
func (o *UpdateRole) GetName() string
GetName returns the Name field if non-nil, zero value otherwise.
func (o *UpdateRole) 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 *UpdateRole) SetName(v string)
SetName sets Name field to given value.
func (o *UpdateRole) GetNewComment() string
GetNewComment returns the NewComment field if non-nil, zero value otherwise.
func (o *UpdateRole) GetNewCommentOk() (*string, bool)
GetNewCommentOk returns a tuple with the NewComment field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *UpdateRole) SetNewComment(v string)
SetNewComment sets NewComment field to given value.
func (o *UpdateRole) HasNewComment() bool
HasNewComment returns a boolean if a field has been set.
func (o *UpdateRole) GetNewName() string
GetNewName returns the NewName field if non-nil, zero value otherwise.
func (o *UpdateRole) GetNewNameOk() (*string, bool)
GetNewNameOk returns a tuple with the NewName field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *UpdateRole) SetNewName(v string)
SetNewName sets NewName field to given value.
func (o *UpdateRole) HasNewName() bool
HasNewName returns a boolean if a field has been set.
func (o *UpdateRole) GetSraReportsAccess() string
GetSraReportsAccess returns the SraReportsAccess field if non-nil, zero value otherwise.
func (o *UpdateRole) GetSraReportsAccessOk() (*string, bool)
GetSraReportsAccessOk returns a tuple with the SraReportsAccess field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *UpdateRole) SetSraReportsAccess(v string)
SetSraReportsAccess sets SraReportsAccess field to given value.
func (o *UpdateRole) HasSraReportsAccess() bool
HasSraReportsAccess returns a boolean if a field has been set.
func (o *UpdateRole) GetToken() string
GetToken returns the Token field if non-nil, zero value otherwise.
func (o *UpdateRole) GetTokenOk() (*string, bool)
GetTokenOk returns a tuple with the Token field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *UpdateRole) SetToken(v string)
SetToken sets Token field to given value.
func (o *UpdateRole) HasToken() bool
HasToken returns a boolean if a field has been set.
func (o *UpdateRole) GetUidToken() string
GetUidToken returns the UidToken field if non-nil, zero value otherwise.
func (o *UpdateRole) GetUidTokenOk() (*string, bool)
GetUidTokenOk returns a tuple with the UidToken field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *UpdateRole) SetUidToken(v string)
SetUidToken sets UidToken field to given value.
func (o *UpdateRole) HasUidToken() bool
HasUidToken returns a boolean if a field has been set.
func (o *UpdateRole) GetUsageReportsAccess() string
GetUsageReportsAccess returns the UsageReportsAccess field if non-nil, zero value otherwise.
func (o *UpdateRole) GetUsageReportsAccessOk() (*string, bool)
GetUsageReportsAccessOk returns a tuple with the UsageReportsAccess field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *UpdateRole) SetUsageReportsAccess(v string)
SetUsageReportsAccess sets UsageReportsAccess field to given value.
func (o *UpdateRole) HasUsageReportsAccess() bool
HasUsageReportsAccess returns a boolean if a field has been set.