Name | Type | Description | Notes |
---|---|---|---|
Name | string | Name of the role. | |
Description | Pointer to string | Description of the role. | [optional] |
FilterPredicate | Pointer to string | A search filter to restrict access to specific logs. The filter is silently added to the beginning of each query a user runs. For example, using '!_sourceCategory=billing' as a filter predicate will prevent users assigned to the role from viewing logs from the source category named 'billing'. | [optional] |
Users | Pointer to []string | List of user identifiers to assign the role to. | [optional] |
Capabilities | Pointer to []string | List of capabilities associated with this role. Valid values are ### Data Management - viewCollectors - manageCollectors - manageBudgets - manageDataVolumeFeed - viewFieldExtraction - manageFieldExtractionRules - manageS3DataForwarding - manageContent - dataVolumeIndex - manageConnections - viewScheduledViews - manageScheduledViews - viewPartitions - managePartitions - viewFields - manageFields - viewAccountOverview - manageTokens ### Entity management - manageEntityTypeConfig ### Metrics - metricsTransformation - metricsExtraction - metricsRules ### Security - managePasswordPolicy - ipAllowlisting - createAccessKeys - manageAccessKeys - manageSupportAccountAccess - manageAuditDataFeed - manageSaml - shareDashboardOutsideOrg - manageOrgSettings - changeDataAccessLevel ### Dashboards - shareDashboardWorld - shareDashboardAllowlist ### UserManagement - manageUsersAndRoles ### Observability - searchAuditIndex - auditEventIndex ### Cloud SIEM Enterprise - viewCse ### Alerting - viewMonitorsV2 - manageMonitorsV2 - viewAlerts | [optional] |
AutofillDependencies | Pointer to bool | Set this to true if you want to automatically append all missing capability requirements. If set to false an error will be thrown if any capabilities are missing their dependencies. | [optional] [default to true] |
CreatedAt | time.Time | Creation timestamp in UTC in RFC3339 format. | |
CreatedBy | string | Identifier of the user who created the resource. | |
ModifiedAt | time.Time | Last modification timestamp in UTC. | |
ModifiedBy | string | Identifier of the user who last modified the resource. | |
Id | string | Unique identifier for the role. | |
SystemDefined | Pointer to bool | Role is system or user defined. | [optional] |
func NewRoleModel(name string, createdAt time.Time, createdBy string, modifiedAt time.Time, modifiedBy string, id string, ) *RoleModel
NewRoleModel instantiates a new RoleModel 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 NewRoleModelWithDefaults() *RoleModel
NewRoleModelWithDefaults instantiates a new RoleModel 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 *RoleModel) GetName() string
GetName returns the Name field if non-nil, zero value otherwise.
func (o *RoleModel) 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 *RoleModel) SetName(v string)
SetName sets Name field to given value.
func (o *RoleModel) GetDescription() string
GetDescription returns the Description field if non-nil, zero value otherwise.
func (o *RoleModel) 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 *RoleModel) SetDescription(v string)
SetDescription sets Description field to given value.
func (o *RoleModel) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (o *RoleModel) GetFilterPredicate() string
GetFilterPredicate returns the FilterPredicate field if non-nil, zero value otherwise.
func (o *RoleModel) GetFilterPredicateOk() (*string, bool)
GetFilterPredicateOk returns a tuple with the FilterPredicate field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *RoleModel) SetFilterPredicate(v string)
SetFilterPredicate sets FilterPredicate field to given value.
func (o *RoleModel) HasFilterPredicate() bool
HasFilterPredicate returns a boolean if a field has been set.
func (o *RoleModel) GetUsers() []string
GetUsers returns the Users field if non-nil, zero value otherwise.
func (o *RoleModel) GetUsersOk() (*[]string, bool)
GetUsersOk returns a tuple with the Users field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *RoleModel) SetUsers(v []string)
SetUsers sets Users field to given value.
func (o *RoleModel) HasUsers() bool
HasUsers returns a boolean if a field has been set.
func (o *RoleModel) GetCapabilities() []string
GetCapabilities returns the Capabilities field if non-nil, zero value otherwise.
func (o *RoleModel) GetCapabilitiesOk() (*[]string, bool)
GetCapabilitiesOk returns a tuple with the Capabilities field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *RoleModel) SetCapabilities(v []string)
SetCapabilities sets Capabilities field to given value.
func (o *RoleModel) HasCapabilities() bool
HasCapabilities returns a boolean if a field has been set.
func (o *RoleModel) GetAutofillDependencies() bool
GetAutofillDependencies returns the AutofillDependencies field if non-nil, zero value otherwise.
func (o *RoleModel) GetAutofillDependenciesOk() (*bool, bool)
GetAutofillDependenciesOk returns a tuple with the AutofillDependencies field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *RoleModel) SetAutofillDependencies(v bool)
SetAutofillDependencies sets AutofillDependencies field to given value.
func (o *RoleModel) HasAutofillDependencies() bool
HasAutofillDependencies returns a boolean if a field has been set.
func (o *RoleModel) GetCreatedAt() time.Time
GetCreatedAt returns the CreatedAt field if non-nil, zero value otherwise.
func (o *RoleModel) GetCreatedAtOk() (*time.Time, bool)
GetCreatedAtOk returns a tuple with the CreatedAt field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *RoleModel) SetCreatedAt(v time.Time)
SetCreatedAt sets CreatedAt field to given value.
func (o *RoleModel) GetCreatedBy() string
GetCreatedBy returns the CreatedBy field if non-nil, zero value otherwise.
func (o *RoleModel) GetCreatedByOk() (*string, bool)
GetCreatedByOk returns a tuple with the CreatedBy field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *RoleModel) SetCreatedBy(v string)
SetCreatedBy sets CreatedBy field to given value.
func (o *RoleModel) GetModifiedAt() time.Time
GetModifiedAt returns the ModifiedAt field if non-nil, zero value otherwise.
func (o *RoleModel) GetModifiedAtOk() (*time.Time, bool)
GetModifiedAtOk returns a tuple with the ModifiedAt field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *RoleModel) SetModifiedAt(v time.Time)
SetModifiedAt sets ModifiedAt field to given value.
func (o *RoleModel) GetModifiedBy() string
GetModifiedBy returns the ModifiedBy field if non-nil, zero value otherwise.
func (o *RoleModel) GetModifiedByOk() (*string, bool)
GetModifiedByOk returns a tuple with the ModifiedBy field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *RoleModel) SetModifiedBy(v string)
SetModifiedBy sets ModifiedBy field to given value.
func (o *RoleModel) GetId() string
GetId returns the Id field if non-nil, zero value otherwise.
func (o *RoleModel) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *RoleModel) SetId(v string)
SetId sets Id field to given value.
func (o *RoleModel) GetSystemDefined() bool
GetSystemDefined returns the SystemDefined field if non-nil, zero value otherwise.
func (o *RoleModel) GetSystemDefinedOk() (*bool, bool)
GetSystemDefinedOk returns a tuple with the SystemDefined field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *RoleModel) SetSystemDefined(v bool)
SetSystemDefined sets SystemDefined field to given value.
func (o *RoleModel) HasSystemDefined() bool
HasSystemDefined returns a boolean if a field has been set.