Name | Type | Description | Notes |
---|---|---|---|
AgentRule | Pointer to SecurityMonitoringRuntimeAgentRule | [optional] | |
Aggregation | Pointer to SecurityMonitoringRuleQueryAggregation | [optional] | |
DistinctFields | Pointer to []string | Field for which the cardinality is measured. Sent as an array. | [optional] |
GroupByFields | Pointer to []string | Fields to group by. | [optional] |
Metric | Pointer to string | The target field to aggregate over when using the sum or max aggregations. | [optional] |
Name | Pointer to string | Name of the query. | [optional] |
Query | Pointer to string | Query to run on logs. | [optional] |
func NewSecurityMonitoringRuleQuery() *SecurityMonitoringRuleQuery
NewSecurityMonitoringRuleQuery instantiates a new SecurityMonitoringRuleQuery 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 NewSecurityMonitoringRuleQueryWithDefaults() *SecurityMonitoringRuleQuery
NewSecurityMonitoringRuleQueryWithDefaults instantiates a new SecurityMonitoringRuleQuery 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 *SecurityMonitoringRuleQuery) GetAgentRule() SecurityMonitoringRuntimeAgentRule
GetAgentRule returns the AgentRule field if non-nil, zero value otherwise.
func (o *SecurityMonitoringRuleQuery) GetAgentRuleOk() (*SecurityMonitoringRuntimeAgentRule, bool)
GetAgentRuleOk returns a tuple with the AgentRule field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *SecurityMonitoringRuleQuery) SetAgentRule(v SecurityMonitoringRuntimeAgentRule)
SetAgentRule sets AgentRule field to given value.
func (o *SecurityMonitoringRuleQuery) HasAgentRule() bool
HasAgentRule returns a boolean if a field has been set.
func (o *SecurityMonitoringRuleQuery) GetAggregation() SecurityMonitoringRuleQueryAggregation
GetAggregation returns the Aggregation field if non-nil, zero value otherwise.
func (o *SecurityMonitoringRuleQuery) GetAggregationOk() (*SecurityMonitoringRuleQueryAggregation, bool)
GetAggregationOk returns a tuple with the Aggregation field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *SecurityMonitoringRuleQuery) SetAggregation(v SecurityMonitoringRuleQueryAggregation)
SetAggregation sets Aggregation field to given value.
func (o *SecurityMonitoringRuleQuery) HasAggregation() bool
HasAggregation returns a boolean if a field has been set.
func (o *SecurityMonitoringRuleQuery) GetDistinctFields() []string
GetDistinctFields returns the DistinctFields field if non-nil, zero value otherwise.
func (o *SecurityMonitoringRuleQuery) GetDistinctFieldsOk() (*[]string, bool)
GetDistinctFieldsOk returns a tuple with the DistinctFields field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *SecurityMonitoringRuleQuery) SetDistinctFields(v []string)
SetDistinctFields sets DistinctFields field to given value.
func (o *SecurityMonitoringRuleQuery) HasDistinctFields() bool
HasDistinctFields returns a boolean if a field has been set.
func (o *SecurityMonitoringRuleQuery) GetGroupByFields() []string
GetGroupByFields returns the GroupByFields field if non-nil, zero value otherwise.
func (o *SecurityMonitoringRuleQuery) GetGroupByFieldsOk() (*[]string, bool)
GetGroupByFieldsOk returns a tuple with the GroupByFields field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *SecurityMonitoringRuleQuery) SetGroupByFields(v []string)
SetGroupByFields sets GroupByFields field to given value.
func (o *SecurityMonitoringRuleQuery) HasGroupByFields() bool
HasGroupByFields returns a boolean if a field has been set.
func (o *SecurityMonitoringRuleQuery) GetMetric() string
GetMetric returns the Metric field if non-nil, zero value otherwise.
func (o *SecurityMonitoringRuleQuery) GetMetricOk() (*string, bool)
GetMetricOk returns a tuple with the Metric field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *SecurityMonitoringRuleQuery) SetMetric(v string)
SetMetric sets Metric field to given value.
func (o *SecurityMonitoringRuleQuery) HasMetric() bool
HasMetric returns a boolean if a field has been set.
func (o *SecurityMonitoringRuleQuery) GetName() string
GetName returns the Name field if non-nil, zero value otherwise.
func (o *SecurityMonitoringRuleQuery) 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 *SecurityMonitoringRuleQuery) SetName(v string)
SetName sets Name field to given value.
func (o *SecurityMonitoringRuleQuery) HasName() bool
HasName returns a boolean if a field has been set.
func (o *SecurityMonitoringRuleQuery) GetQuery() string
GetQuery returns the Query field if non-nil, zero value otherwise.
func (o *SecurityMonitoringRuleQuery) GetQueryOk() (*string, bool)
GetQueryOk returns a tuple with the Query field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *SecurityMonitoringRuleQuery) SetQuery(v string)
SetQuery sets Query field to given value.
func (o *SecurityMonitoringRuleQuery) HasQuery() bool
HasQuery returns a boolean if a field has been set.