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] |
Comment | Pointer to string | Deprecated - use description | [optional] |
DeleteProtection | Pointer to string | Protection from accidental deletion of this object [true/false] | [optional] |
Description | Pointer to string | Description of the object | [optional] |
EventCenterAccess | Pointer to string | Allow this role to view Event Center. Currently only 'none', 'own' and 'all' values are supported | [optional] |
EventForwardersAccess | 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 | |
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 NewCreateRole(name string, ) *CreateRole
NewCreateRole instantiates a new CreateRole 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 NewCreateRoleWithDefaults() *CreateRole
NewCreateRoleWithDefaults instantiates a new CreateRole 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 *CreateRole) GetAnalyticsAccess() string
GetAnalyticsAccess returns the AnalyticsAccess field if non-nil, zero value otherwise.
func (o *CreateRole) 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 *CreateRole) SetAnalyticsAccess(v string)
SetAnalyticsAccess sets AnalyticsAccess field to given value.
func (o *CreateRole) HasAnalyticsAccess() bool
HasAnalyticsAccess returns a boolean if a field has been set.
func (o *CreateRole) GetAuditAccess() string
GetAuditAccess returns the AuditAccess field if non-nil, zero value otherwise.
func (o *CreateRole) 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 *CreateRole) SetAuditAccess(v string)
SetAuditAccess sets AuditAccess field to given value.
func (o *CreateRole) HasAuditAccess() bool
HasAuditAccess returns a boolean if a field has been set.
func (o *CreateRole) GetComment() string
GetComment returns the Comment field if non-nil, zero value otherwise.
func (o *CreateRole) 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 *CreateRole) SetComment(v string)
SetComment sets Comment field to given value.
func (o *CreateRole) HasComment() bool
HasComment returns a boolean if a field has been set.
func (o *CreateRole) GetDeleteProtection() string
GetDeleteProtection returns the DeleteProtection field if non-nil, zero value otherwise.
func (o *CreateRole) 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 *CreateRole) SetDeleteProtection(v string)
SetDeleteProtection sets DeleteProtection field to given value.
func (o *CreateRole) HasDeleteProtection() bool
HasDeleteProtection returns a boolean if a field has been set.
func (o *CreateRole) GetDescription() string
GetDescription returns the Description field if non-nil, zero value otherwise.
func (o *CreateRole) 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 *CreateRole) SetDescription(v string)
SetDescription sets Description field to given value.
func (o *CreateRole) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (o *CreateRole) GetEventCenterAccess() string
GetEventCenterAccess returns the EventCenterAccess field if non-nil, zero value otherwise.
func (o *CreateRole) 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 *CreateRole) SetEventCenterAccess(v string)
SetEventCenterAccess sets EventCenterAccess field to given value.
func (o *CreateRole) HasEventCenterAccess() bool
HasEventCenterAccess returns a boolean if a field has been set.
func (o *CreateRole) GetEventForwardersAccess() string
GetEventForwardersAccess returns the EventForwardersAccess field if non-nil, zero value otherwise.
func (o *CreateRole) GetEventForwardersAccessOk() (*string, bool)
GetEventForwardersAccessOk returns a tuple with the EventForwardersAccess field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CreateRole) SetEventForwardersAccess(v string)
SetEventForwardersAccess sets EventForwardersAccess field to given value.
func (o *CreateRole) HasEventForwardersAccess() bool
HasEventForwardersAccess returns a boolean if a field has been set.
func (o *CreateRole) GetGwAnalyticsAccess() string
GetGwAnalyticsAccess returns the GwAnalyticsAccess field if non-nil, zero value otherwise.
func (o *CreateRole) 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 *CreateRole) SetGwAnalyticsAccess(v string)
SetGwAnalyticsAccess sets GwAnalyticsAccess field to given value.
func (o *CreateRole) HasGwAnalyticsAccess() bool
HasGwAnalyticsAccess returns a boolean if a field has been set.
func (o *CreateRole) GetJson() bool
GetJson returns the Json field if non-nil, zero value otherwise.
func (o *CreateRole) 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 *CreateRole) SetJson(v bool)
SetJson sets Json field to given value.
func (o *CreateRole) HasJson() bool
HasJson returns a boolean if a field has been set.
func (o *CreateRole) GetName() string
GetName returns the Name field if non-nil, zero value otherwise.
func (o *CreateRole) 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 *CreateRole) SetName(v string)
SetName sets Name field to given value.
func (o *CreateRole) GetSraReportsAccess() string
GetSraReportsAccess returns the SraReportsAccess field if non-nil, zero value otherwise.
func (o *CreateRole) 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 *CreateRole) SetSraReportsAccess(v string)
SetSraReportsAccess sets SraReportsAccess field to given value.
func (o *CreateRole) HasSraReportsAccess() bool
HasSraReportsAccess returns a boolean if a field has been set.
func (o *CreateRole) GetToken() string
GetToken returns the Token field if non-nil, zero value otherwise.
func (o *CreateRole) 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 *CreateRole) SetToken(v string)
SetToken sets Token field to given value.
func (o *CreateRole) HasToken() bool
HasToken returns a boolean if a field has been set.
func (o *CreateRole) GetUidToken() string
GetUidToken returns the UidToken field if non-nil, zero value otherwise.
func (o *CreateRole) 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 *CreateRole) SetUidToken(v string)
SetUidToken sets UidToken field to given value.
func (o *CreateRole) HasUidToken() bool
HasUidToken returns a boolean if a field has been set.
func (o *CreateRole) GetUsageReportsAccess() string
GetUsageReportsAccess returns the UsageReportsAccess field if non-nil, zero value otherwise.
func (o *CreateRole) 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 *CreateRole) SetUsageReportsAccess(v string)
SetUsageReportsAccess sets UsageReportsAccess field to given value.
func (o *CreateRole) HasUsageReportsAccess() bool
HasUsageReportsAccess returns a boolean if a field has been set.