Name | Type | Description | Notes |
---|---|---|---|
Aggregator | Pointer to FormulaAndFunctionMetricAggregation | [optional] | |
DataSource | FormulaAndFunctionProcessQueryDataSource | ||
Name | string | Name of query for use in formulas. | |
Query | string | Metrics query definition. | |
Compute | FormulaAndFunctionEventQueryDefinitionCompute | ||
GroupBy | Pointer to []FormulaAndFunctionEventQueryGroupBy | Group by options. | [optional] |
Indexes | Pointer to []string | An array of index names to query in the stream. Omit or use `[]` to query all indexes at once. | [optional] |
Search | Pointer to FormulaAndFunctionEventQueryDefinitionSearch | [optional] | |
IsNormalizedCpu | Pointer to bool | Whether to normalize the CPU percentages. | [optional] |
Limit | Pointer to int64 | Number of hits to return. | [optional] |
Metric | string | Process metric name. | |
Sort | Pointer to QuerySortOrder | [optional] [default to QUERYSORTORDER_DESC] | |
TagFilters | Pointer to []string | An array of tags to filter by. | [optional] |
TextFilter | Pointer to string | Text to use as filter. | [optional] |
func NewFormulaAndFunctionQueryDefinition(dataSource FormulaAndFunctionProcessQueryDataSource, name string, query string, compute FormulaAndFunctionEventQueryDefinitionCompute, metric string, ) *FormulaAndFunctionQueryDefinition
NewFormulaAndFunctionQueryDefinition instantiates a new FormulaAndFunctionQueryDefinition 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 NewFormulaAndFunctionQueryDefinitionWithDefaults() *FormulaAndFunctionQueryDefinition
NewFormulaAndFunctionQueryDefinitionWithDefaults instantiates a new FormulaAndFunctionQueryDefinition 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 *FormulaAndFunctionQueryDefinition) GetAggregator() FormulaAndFunctionMetricAggregation
GetAggregator returns the Aggregator field if non-nil, zero value otherwise.
func (o *FormulaAndFunctionQueryDefinition) GetAggregatorOk() (*FormulaAndFunctionMetricAggregation, bool)
GetAggregatorOk returns a tuple with the Aggregator field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *FormulaAndFunctionQueryDefinition) SetAggregator(v FormulaAndFunctionMetricAggregation)
SetAggregator sets Aggregator field to given value.
func (o *FormulaAndFunctionQueryDefinition) HasAggregator() bool
HasAggregator returns a boolean if a field has been set.
func (o *FormulaAndFunctionQueryDefinition) GetDataSource() FormulaAndFunctionProcessQueryDataSource
GetDataSource returns the DataSource field if non-nil, zero value otherwise.
func (o *FormulaAndFunctionQueryDefinition) GetDataSourceOk() (*FormulaAndFunctionProcessQueryDataSource, bool)
GetDataSourceOk returns a tuple with the DataSource field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *FormulaAndFunctionQueryDefinition) SetDataSource(v FormulaAndFunctionProcessQueryDataSource)
SetDataSource sets DataSource field to given value.
func (o *FormulaAndFunctionQueryDefinition) GetName() string
GetName returns the Name field if non-nil, zero value otherwise.
func (o *FormulaAndFunctionQueryDefinition) 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 *FormulaAndFunctionQueryDefinition) SetName(v string)
SetName sets Name field to given value.
func (o *FormulaAndFunctionQueryDefinition) GetQuery() string
GetQuery returns the Query field if non-nil, zero value otherwise.
func (o *FormulaAndFunctionQueryDefinition) 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 *FormulaAndFunctionQueryDefinition) SetQuery(v string)
SetQuery sets Query field to given value.
func (o *FormulaAndFunctionQueryDefinition) GetCompute() FormulaAndFunctionEventQueryDefinitionCompute
GetCompute returns the Compute field if non-nil, zero value otherwise.
func (o *FormulaAndFunctionQueryDefinition) GetComputeOk() (*FormulaAndFunctionEventQueryDefinitionCompute, bool)
GetComputeOk returns a tuple with the Compute field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *FormulaAndFunctionQueryDefinition) SetCompute(v FormulaAndFunctionEventQueryDefinitionCompute)
SetCompute sets Compute field to given value.
func (o *FormulaAndFunctionQueryDefinition) GetGroupBy() []FormulaAndFunctionEventQueryGroupBy
GetGroupBy returns the GroupBy field if non-nil, zero value otherwise.
func (o *FormulaAndFunctionQueryDefinition) GetGroupByOk() (*[]FormulaAndFunctionEventQueryGroupBy, bool)
GetGroupByOk returns a tuple with the GroupBy field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *FormulaAndFunctionQueryDefinition) SetGroupBy(v []FormulaAndFunctionEventQueryGroupBy)
SetGroupBy sets GroupBy field to given value.
func (o *FormulaAndFunctionQueryDefinition) HasGroupBy() bool
HasGroupBy returns a boolean if a field has been set.
func (o *FormulaAndFunctionQueryDefinition) GetIndexes() []string
GetIndexes returns the Indexes field if non-nil, zero value otherwise.
func (o *FormulaAndFunctionQueryDefinition) GetIndexesOk() (*[]string, bool)
GetIndexesOk returns a tuple with the Indexes field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *FormulaAndFunctionQueryDefinition) SetIndexes(v []string)
SetIndexes sets Indexes field to given value.
func (o *FormulaAndFunctionQueryDefinition) HasIndexes() bool
HasIndexes returns a boolean if a field has been set.
func (o *FormulaAndFunctionQueryDefinition) GetSearch() FormulaAndFunctionEventQueryDefinitionSearch
GetSearch returns the Search field if non-nil, zero value otherwise.
func (o *FormulaAndFunctionQueryDefinition) GetSearchOk() (*FormulaAndFunctionEventQueryDefinitionSearch, bool)
GetSearchOk returns a tuple with the Search field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *FormulaAndFunctionQueryDefinition) SetSearch(v FormulaAndFunctionEventQueryDefinitionSearch)
SetSearch sets Search field to given value.
func (o *FormulaAndFunctionQueryDefinition) HasSearch() bool
HasSearch returns a boolean if a field has been set.
func (o *FormulaAndFunctionQueryDefinition) GetIsNormalizedCpu() bool
GetIsNormalizedCpu returns the IsNormalizedCpu field if non-nil, zero value otherwise.
func (o *FormulaAndFunctionQueryDefinition) GetIsNormalizedCpuOk() (*bool, bool)
GetIsNormalizedCpuOk returns a tuple with the IsNormalizedCpu field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *FormulaAndFunctionQueryDefinition) SetIsNormalizedCpu(v bool)
SetIsNormalizedCpu sets IsNormalizedCpu field to given value.
func (o *FormulaAndFunctionQueryDefinition) HasIsNormalizedCpu() bool
HasIsNormalizedCpu returns a boolean if a field has been set.
func (o *FormulaAndFunctionQueryDefinition) GetLimit() int64
GetLimit returns the Limit field if non-nil, zero value otherwise.
func (o *FormulaAndFunctionQueryDefinition) GetLimitOk() (*int64, bool)
GetLimitOk returns a tuple with the Limit field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *FormulaAndFunctionQueryDefinition) SetLimit(v int64)
SetLimit sets Limit field to given value.
func (o *FormulaAndFunctionQueryDefinition) HasLimit() bool
HasLimit returns a boolean if a field has been set.
func (o *FormulaAndFunctionQueryDefinition) GetMetric() string
GetMetric returns the Metric field if non-nil, zero value otherwise.
func (o *FormulaAndFunctionQueryDefinition) 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 *FormulaAndFunctionQueryDefinition) SetMetric(v string)
SetMetric sets Metric field to given value.
func (o *FormulaAndFunctionQueryDefinition) GetSort() QuerySortOrder
GetSort returns the Sort field if non-nil, zero value otherwise.
func (o *FormulaAndFunctionQueryDefinition) GetSortOk() (*QuerySortOrder, bool)
GetSortOk returns a tuple with the Sort field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *FormulaAndFunctionQueryDefinition) SetSort(v QuerySortOrder)
SetSort sets Sort field to given value.
func (o *FormulaAndFunctionQueryDefinition) HasSort() bool
HasSort returns a boolean if a field has been set.
func (o *FormulaAndFunctionQueryDefinition) GetTagFilters() []string
GetTagFilters returns the TagFilters field if non-nil, zero value otherwise.
func (o *FormulaAndFunctionQueryDefinition) GetTagFiltersOk() (*[]string, bool)
GetTagFiltersOk returns a tuple with the TagFilters field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *FormulaAndFunctionQueryDefinition) SetTagFilters(v []string)
SetTagFilters sets TagFilters field to given value.
func (o *FormulaAndFunctionQueryDefinition) HasTagFilters() bool
HasTagFilters returns a boolean if a field has been set.
func (o *FormulaAndFunctionQueryDefinition) GetTextFilter() string
GetTextFilter returns the TextFilter field if non-nil, zero value otherwise.
func (o *FormulaAndFunctionQueryDefinition) GetTextFilterOk() (*string, bool)
GetTextFilterOk returns a tuple with the TextFilter field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *FormulaAndFunctionQueryDefinition) SetTextFilter(v string)
SetTextFilter sets TextFilter field to given value.
func (o *FormulaAndFunctionQueryDefinition) HasTextFilter() bool
HasTextFilter returns a boolean if a field has been set.