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 | Comment about the role | [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] |
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] |
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) 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) 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.