Skip to content

Latest commit

 

History

History
369 lines (198 loc) · 11.7 KB

FormulaAndFunctionQueryDefinition.md

File metadata and controls

369 lines (198 loc) · 11.7 KB

FormulaAndFunctionQueryDefinition

Properties

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]

Methods

NewFormulaAndFunctionQueryDefinition

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

NewFormulaAndFunctionQueryDefinitionWithDefaults

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

GetAggregator

func (o *FormulaAndFunctionQueryDefinition) GetAggregator() FormulaAndFunctionMetricAggregation

GetAggregator returns the Aggregator field if non-nil, zero value otherwise.

GetAggregatorOk

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.

SetAggregator

func (o *FormulaAndFunctionQueryDefinition) SetAggregator(v FormulaAndFunctionMetricAggregation)

SetAggregator sets Aggregator field to given value.

HasAggregator

func (o *FormulaAndFunctionQueryDefinition) HasAggregator() bool

HasAggregator returns a boolean if a field has been set.

GetDataSource

func (o *FormulaAndFunctionQueryDefinition) GetDataSource() FormulaAndFunctionProcessQueryDataSource

GetDataSource returns the DataSource field if non-nil, zero value otherwise.

GetDataSourceOk

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.

SetDataSource

func (o *FormulaAndFunctionQueryDefinition) SetDataSource(v FormulaAndFunctionProcessQueryDataSource)

SetDataSource sets DataSource field to given value.

GetName

func (o *FormulaAndFunctionQueryDefinition) GetName() string

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

GetNameOk

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.

SetName

func (o *FormulaAndFunctionQueryDefinition) SetName(v string)

SetName sets Name field to given value.

GetQuery

func (o *FormulaAndFunctionQueryDefinition) GetQuery() string

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

GetQueryOk

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.

SetQuery

func (o *FormulaAndFunctionQueryDefinition) SetQuery(v string)

SetQuery sets Query field to given value.

GetCompute

func (o *FormulaAndFunctionQueryDefinition) GetCompute() FormulaAndFunctionEventQueryDefinitionCompute

GetCompute returns the Compute field if non-nil, zero value otherwise.

GetComputeOk

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.

SetCompute

func (o *FormulaAndFunctionQueryDefinition) SetCompute(v FormulaAndFunctionEventQueryDefinitionCompute)

SetCompute sets Compute field to given value.

GetGroupBy

func (o *FormulaAndFunctionQueryDefinition) GetGroupBy() []FormulaAndFunctionEventQueryGroupBy

GetGroupBy returns the GroupBy field if non-nil, zero value otherwise.

GetGroupByOk

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.

SetGroupBy

func (o *FormulaAndFunctionQueryDefinition) SetGroupBy(v []FormulaAndFunctionEventQueryGroupBy)

SetGroupBy sets GroupBy field to given value.

HasGroupBy

func (o *FormulaAndFunctionQueryDefinition) HasGroupBy() bool

HasGroupBy returns a boolean if a field has been set.

GetIndexes

func (o *FormulaAndFunctionQueryDefinition) GetIndexes() []string

GetIndexes returns the Indexes field if non-nil, zero value otherwise.

GetIndexesOk

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.

SetIndexes

func (o *FormulaAndFunctionQueryDefinition) SetIndexes(v []string)

SetIndexes sets Indexes field to given value.

HasIndexes

func (o *FormulaAndFunctionQueryDefinition) HasIndexes() bool

HasIndexes returns a boolean if a field has been set.

GetSearch

func (o *FormulaAndFunctionQueryDefinition) GetSearch() FormulaAndFunctionEventQueryDefinitionSearch

GetSearch returns the Search field if non-nil, zero value otherwise.

GetSearchOk

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.

SetSearch

func (o *FormulaAndFunctionQueryDefinition) SetSearch(v FormulaAndFunctionEventQueryDefinitionSearch)

SetSearch sets Search field to given value.

HasSearch

func (o *FormulaAndFunctionQueryDefinition) HasSearch() bool

HasSearch returns a boolean if a field has been set.

GetIsNormalizedCpu

func (o *FormulaAndFunctionQueryDefinition) GetIsNormalizedCpu() bool

GetIsNormalizedCpu returns the IsNormalizedCpu field if non-nil, zero value otherwise.

GetIsNormalizedCpuOk

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.

SetIsNormalizedCpu

func (o *FormulaAndFunctionQueryDefinition) SetIsNormalizedCpu(v bool)

SetIsNormalizedCpu sets IsNormalizedCpu field to given value.

HasIsNormalizedCpu

func (o *FormulaAndFunctionQueryDefinition) HasIsNormalizedCpu() bool

HasIsNormalizedCpu returns a boolean if a field has been set.

GetLimit

func (o *FormulaAndFunctionQueryDefinition) GetLimit() int64

GetLimit returns the Limit field if non-nil, zero value otherwise.

GetLimitOk

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.

SetLimit

func (o *FormulaAndFunctionQueryDefinition) SetLimit(v int64)

SetLimit sets Limit field to given value.

HasLimit

func (o *FormulaAndFunctionQueryDefinition) HasLimit() bool

HasLimit returns a boolean if a field has been set.

GetMetric

func (o *FormulaAndFunctionQueryDefinition) GetMetric() string

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

GetMetricOk

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.

SetMetric

func (o *FormulaAndFunctionQueryDefinition) SetMetric(v string)

SetMetric sets Metric field to given value.

GetSort

func (o *FormulaAndFunctionQueryDefinition) GetSort() QuerySortOrder

GetSort returns the Sort field if non-nil, zero value otherwise.

GetSortOk

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.

SetSort

func (o *FormulaAndFunctionQueryDefinition) SetSort(v QuerySortOrder)

SetSort sets Sort field to given value.

HasSort

func (o *FormulaAndFunctionQueryDefinition) HasSort() bool

HasSort returns a boolean if a field has been set.

GetTagFilters

func (o *FormulaAndFunctionQueryDefinition) GetTagFilters() []string

GetTagFilters returns the TagFilters field if non-nil, zero value otherwise.

GetTagFiltersOk

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.

SetTagFilters

func (o *FormulaAndFunctionQueryDefinition) SetTagFilters(v []string)

SetTagFilters sets TagFilters field to given value.

HasTagFilters

func (o *FormulaAndFunctionQueryDefinition) HasTagFilters() bool

HasTagFilters returns a boolean if a field has been set.

GetTextFilter

func (o *FormulaAndFunctionQueryDefinition) GetTextFilter() string

GetTextFilter returns the TextFilter field if non-nil, zero value otherwise.

GetTextFilterOk

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.

SetTextFilter

func (o *FormulaAndFunctionQueryDefinition) SetTextFilter(v string)

SetTextFilter sets TextFilter field to given value.

HasTextFilter

func (o *FormulaAndFunctionQueryDefinition) HasTextFilter() bool

HasTextFilter returns a boolean if a field has been set.

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