@@ -11,14 +11,19 @@ import (
1111// SLOHistoryMetricsSeriesMetadata Query metadata.
1212type SLOHistoryMetricsSeriesMetadata struct {
1313 // Query aggregator function.
14+ // Deprecated
1415 Aggr * string `json:"aggr,omitempty"`
1516 // Query expression.
17+ // Deprecated
1618 Expression * string `json:"expression,omitempty"`
1719 // Query metric used.
20+ // Deprecated
1821 Metric * string `json:"metric,omitempty"`
1922 // Query index from original combined query.
23+ // Deprecated
2024 QueryIndex * int64 `json:"query_index,omitempty"`
2125 // Query scope.
26+ // Deprecated
2227 Scope * string `json:"scope,omitempty"`
2328 // An array of metric units that contains up to two unit objects.
2429 // For example, bytes represents one unit object and bytes per second represents two unit objects.
@@ -47,6 +52,7 @@ func NewSLOHistoryMetricsSeriesMetadataWithDefaults() *SLOHistoryMetricsSeriesMe
4752}
4853
4954// GetAggr returns the Aggr field value if set, zero value otherwise.
55+ // Deprecated
5056func (o * SLOHistoryMetricsSeriesMetadata ) GetAggr () string {
5157 if o == nil || o .Aggr == nil {
5258 var ret string
@@ -57,6 +63,7 @@ func (o *SLOHistoryMetricsSeriesMetadata) GetAggr() string {
5763
5864// GetAggrOk returns a tuple with the Aggr field value if set, nil otherwise
5965// and a boolean to check if the value has been set.
66+ // Deprecated
6067func (o * SLOHistoryMetricsSeriesMetadata ) GetAggrOk () (* string , bool ) {
6168 if o == nil || o .Aggr == nil {
6269 return nil , false
@@ -70,11 +77,13 @@ func (o *SLOHistoryMetricsSeriesMetadata) HasAggr() bool {
7077}
7178
7279// SetAggr gets a reference to the given string and assigns it to the Aggr field.
80+ // Deprecated
7381func (o * SLOHistoryMetricsSeriesMetadata ) SetAggr (v string ) {
7482 o .Aggr = & v
7583}
7684
7785// GetExpression returns the Expression field value if set, zero value otherwise.
86+ // Deprecated
7887func (o * SLOHistoryMetricsSeriesMetadata ) GetExpression () string {
7988 if o == nil || o .Expression == nil {
8089 var ret string
@@ -85,6 +94,7 @@ func (o *SLOHistoryMetricsSeriesMetadata) GetExpression() string {
8594
8695// GetExpressionOk returns a tuple with the Expression field value if set, nil otherwise
8796// and a boolean to check if the value has been set.
97+ // Deprecated
8898func (o * SLOHistoryMetricsSeriesMetadata ) GetExpressionOk () (* string , bool ) {
8999 if o == nil || o .Expression == nil {
90100 return nil , false
@@ -98,11 +108,13 @@ func (o *SLOHistoryMetricsSeriesMetadata) HasExpression() bool {
98108}
99109
100110// SetExpression gets a reference to the given string and assigns it to the Expression field.
111+ // Deprecated
101112func (o * SLOHistoryMetricsSeriesMetadata ) SetExpression (v string ) {
102113 o .Expression = & v
103114}
104115
105116// GetMetric returns the Metric field value if set, zero value otherwise.
117+ // Deprecated
106118func (o * SLOHistoryMetricsSeriesMetadata ) GetMetric () string {
107119 if o == nil || o .Metric == nil {
108120 var ret string
@@ -113,6 +125,7 @@ func (o *SLOHistoryMetricsSeriesMetadata) GetMetric() string {
113125
114126// GetMetricOk returns a tuple with the Metric field value if set, nil otherwise
115127// and a boolean to check if the value has been set.
128+ // Deprecated
116129func (o * SLOHistoryMetricsSeriesMetadata ) GetMetricOk () (* string , bool ) {
117130 if o == nil || o .Metric == nil {
118131 return nil , false
@@ -126,11 +139,13 @@ func (o *SLOHistoryMetricsSeriesMetadata) HasMetric() bool {
126139}
127140
128141// SetMetric gets a reference to the given string and assigns it to the Metric field.
142+ // Deprecated
129143func (o * SLOHistoryMetricsSeriesMetadata ) SetMetric (v string ) {
130144 o .Metric = & v
131145}
132146
133147// GetQueryIndex returns the QueryIndex field value if set, zero value otherwise.
148+ // Deprecated
134149func (o * SLOHistoryMetricsSeriesMetadata ) GetQueryIndex () int64 {
135150 if o == nil || o .QueryIndex == nil {
136151 var ret int64
@@ -141,6 +156,7 @@ func (o *SLOHistoryMetricsSeriesMetadata) GetQueryIndex() int64 {
141156
142157// GetQueryIndexOk returns a tuple with the QueryIndex field value if set, nil otherwise
143158// and a boolean to check if the value has been set.
159+ // Deprecated
144160func (o * SLOHistoryMetricsSeriesMetadata ) GetQueryIndexOk () (* int64 , bool ) {
145161 if o == nil || o .QueryIndex == nil {
146162 return nil , false
@@ -154,11 +170,13 @@ func (o *SLOHistoryMetricsSeriesMetadata) HasQueryIndex() bool {
154170}
155171
156172// SetQueryIndex gets a reference to the given int64 and assigns it to the QueryIndex field.
173+ // Deprecated
157174func (o * SLOHistoryMetricsSeriesMetadata ) SetQueryIndex (v int64 ) {
158175 o .QueryIndex = & v
159176}
160177
161178// GetScope returns the Scope field value if set, zero value otherwise.
179+ // Deprecated
162180func (o * SLOHistoryMetricsSeriesMetadata ) GetScope () string {
163181 if o == nil || o .Scope == nil {
164182 var ret string
@@ -169,6 +187,7 @@ func (o *SLOHistoryMetricsSeriesMetadata) GetScope() string {
169187
170188// GetScopeOk returns a tuple with the Scope field value if set, nil otherwise
171189// and a boolean to check if the value has been set.
190+ // Deprecated
172191func (o * SLOHistoryMetricsSeriesMetadata ) GetScopeOk () (* string , bool ) {
173192 if o == nil || o .Scope == nil {
174193 return nil , false
@@ -182,6 +201,7 @@ func (o *SLOHistoryMetricsSeriesMetadata) HasScope() bool {
182201}
183202
184203// SetScope gets a reference to the given string and assigns it to the Scope field.
204+ // Deprecated
185205func (o * SLOHistoryMetricsSeriesMetadata ) SetScope (v string ) {
186206 o .Scope = & v
187207}
0 commit comments