Skip to content

Latest commit

 

History

History
212 lines (115 loc) · 6.49 KB

SecurityMonitoringRuleQuery.md

File metadata and controls

212 lines (115 loc) · 6.49 KB

SecurityMonitoringRuleQuery

Properties

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]

Methods

NewSecurityMonitoringRuleQuery

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.

NewSecurityMonitoringRuleQueryWithDefaults

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.

GetAgentRule

func (o *SecurityMonitoringRuleQuery) GetAgentRule() SecurityMonitoringRuntimeAgentRule

GetAgentRule returns the AgentRule field if non-nil, zero value otherwise.

GetAgentRuleOk

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.

SetAgentRule

func (o *SecurityMonitoringRuleQuery) SetAgentRule(v SecurityMonitoringRuntimeAgentRule)

SetAgentRule sets AgentRule field to given value.

HasAgentRule

func (o *SecurityMonitoringRuleQuery) HasAgentRule() bool

HasAgentRule returns a boolean if a field has been set.

GetAggregation

func (o *SecurityMonitoringRuleQuery) GetAggregation() SecurityMonitoringRuleQueryAggregation

GetAggregation returns the Aggregation field if non-nil, zero value otherwise.

GetAggregationOk

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.

SetAggregation

func (o *SecurityMonitoringRuleQuery) SetAggregation(v SecurityMonitoringRuleQueryAggregation)

SetAggregation sets Aggregation field to given value.

HasAggregation

func (o *SecurityMonitoringRuleQuery) HasAggregation() bool

HasAggregation returns a boolean if a field has been set.

GetDistinctFields

func (o *SecurityMonitoringRuleQuery) GetDistinctFields() []string

GetDistinctFields returns the DistinctFields field if non-nil, zero value otherwise.

GetDistinctFieldsOk

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.

SetDistinctFields

func (o *SecurityMonitoringRuleQuery) SetDistinctFields(v []string)

SetDistinctFields sets DistinctFields field to given value.

HasDistinctFields

func (o *SecurityMonitoringRuleQuery) HasDistinctFields() bool

HasDistinctFields returns a boolean if a field has been set.

GetGroupByFields

func (o *SecurityMonitoringRuleQuery) GetGroupByFields() []string

GetGroupByFields returns the GroupByFields field if non-nil, zero value otherwise.

GetGroupByFieldsOk

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.

SetGroupByFields

func (o *SecurityMonitoringRuleQuery) SetGroupByFields(v []string)

SetGroupByFields sets GroupByFields field to given value.

HasGroupByFields

func (o *SecurityMonitoringRuleQuery) HasGroupByFields() bool

HasGroupByFields returns a boolean if a field has been set.

GetMetric

func (o *SecurityMonitoringRuleQuery) GetMetric() string

GetMetric returns the Metric field if non-nil, zero value otherwise.

GetMetricOk

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.

SetMetric

func (o *SecurityMonitoringRuleQuery) SetMetric(v string)

SetMetric sets Metric field to given value.

HasMetric

func (o *SecurityMonitoringRuleQuery) HasMetric() bool

HasMetric returns a boolean if a field has been set.

GetName

func (o *SecurityMonitoringRuleQuery) GetName() string

GetName returns the Name field if non-nil, zero value otherwise.

GetNameOk

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.

SetName

func (o *SecurityMonitoringRuleQuery) SetName(v string)

SetName sets Name field to given value.

HasName

func (o *SecurityMonitoringRuleQuery) HasName() bool

HasName returns a boolean if a field has been set.

GetQuery

func (o *SecurityMonitoringRuleQuery) GetQuery() string

GetQuery returns the Query field if non-nil, zero value otherwise.

GetQueryOk

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.

SetQuery

func (o *SecurityMonitoringRuleQuery) SetQuery(v string)

SetQuery sets Query field to given value.

HasQuery

func (o *SecurityMonitoringRuleQuery) HasQuery() bool

HasQuery returns a boolean if a field has been set.

[Back to Model list] [Back to API list] [Back to README]