Name | Type | Description | Notes |
---|---|---|---|
Scope | string | Regex string to match queries to apply coloring to. | |
SingleSeriesAggregateFunction | string | Function to aggregate one series into one single value. | |
MultipleSeriesAggregateFunction | string | Function to aggregate the aggregate values of multiple time series into one single value. | |
ColorThresholds | Pointer to []ColoringThreshold | Color thresholds. | [optional] |
func NewColoringRule(scope string, singleSeriesAggregateFunction string, multipleSeriesAggregateFunction string, ) *ColoringRule
NewColoringRule instantiates a new ColoringRule 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 NewColoringRuleWithDefaults() *ColoringRule
NewColoringRuleWithDefaults instantiates a new ColoringRule 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 *ColoringRule) GetScope() string
GetScope returns the Scope field if non-nil, zero value otherwise.
func (o *ColoringRule) GetScopeOk() (*string, bool)
GetScopeOk returns a tuple with the Scope field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ColoringRule) SetScope(v string)
SetScope sets Scope field to given value.
func (o *ColoringRule) GetSingleSeriesAggregateFunction() string
GetSingleSeriesAggregateFunction returns the SingleSeriesAggregateFunction field if non-nil, zero value otherwise.
func (o *ColoringRule) GetSingleSeriesAggregateFunctionOk() (*string, bool)
GetSingleSeriesAggregateFunctionOk returns a tuple with the SingleSeriesAggregateFunction field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ColoringRule) SetSingleSeriesAggregateFunction(v string)
SetSingleSeriesAggregateFunction sets SingleSeriesAggregateFunction field to given value.
func (o *ColoringRule) GetMultipleSeriesAggregateFunction() string
GetMultipleSeriesAggregateFunction returns the MultipleSeriesAggregateFunction field if non-nil, zero value otherwise.
func (o *ColoringRule) GetMultipleSeriesAggregateFunctionOk() (*string, bool)
GetMultipleSeriesAggregateFunctionOk returns a tuple with the MultipleSeriesAggregateFunction field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ColoringRule) SetMultipleSeriesAggregateFunction(v string)
SetMultipleSeriesAggregateFunction sets MultipleSeriesAggregateFunction field to given value.
func (o *ColoringRule) GetColorThresholds() []ColoringThreshold
GetColorThresholds returns the ColorThresholds field if non-nil, zero value otherwise.
func (o *ColoringRule) GetColorThresholdsOk() (*[]ColoringThreshold, bool)
GetColorThresholdsOk returns a tuple with the ColorThresholds field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ColoringRule) SetColorThresholds(v []ColoringThreshold)
SetColorThresholds sets ColorThresholds field to given value.
func (o *ColoringRule) HasColorThresholds() bool
HasColorThresholds returns a boolean if a field has been set.