Skip to content

Commit 5c0f76d

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit 949f90e2 of spec repo
1 parent 7d84218 commit 5c0f76d

3 files changed

Lines changed: 29 additions & 4 deletions

File tree

.apigentools-info

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@
44
"spec_versions": {
55
"v1": {
66
"apigentools_version": "1.6.6",
7-
"regenerated": "2025-06-25 11:39:38.764041",
8-
"spec_repo_commit": "5d86661b"
7+
"regenerated": "2025-06-25 15:29:09.182477",
8+
"spec_repo_commit": "949f90e2"
99
},
1010
"v2": {
1111
"apigentools_version": "1.6.6",
12-
"regenerated": "2025-06-25 11:39:38.780354",
13-
"spec_repo_commit": "5d86661b"
12+
"regenerated": "2025-06-25 15:29:09.200784",
13+
"spec_repo_commit": "949f90e2"
1414
}
1515
}
1616
}

.generator/schemas/v1/openapi.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10965,19 +10965,24 @@ components:
1096510965
example: {}
1096610966
properties:
1096710967
aggr:
10968+
deprecated: true
1096810969
description: Query aggregator function.
1096910970
type: string
1097010971
expression:
10972+
deprecated: true
1097110973
description: Query expression.
1097210974
type: string
1097310975
metric:
10976+
deprecated: true
1097410977
description: Query metric used.
1097510978
type: string
1097610979
query_index:
10980+
deprecated: true
1097710981
description: Query index from original combined query.
1097810982
format: int64
1097910983
type: integer
1098010984
scope:
10985+
deprecated: true
1098110986
description: Query scope.
1098210987
type: string
1098310988
unit:

api/datadogV1/model_slo_history_metrics_series_metadata.go

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,14 +11,19 @@ import (
1111
// SLOHistoryMetricsSeriesMetadata Query metadata.
1212
type 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
5056
func (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
6067
func (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
7381
func (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
7887
func (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
8898
func (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
101112
func (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
106118
func (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
116129
func (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
129143
func (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
134149
func (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
144160
func (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
157174
func (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
162180
func (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
172191
func (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
185205
func (o *SLOHistoryMetricsSeriesMetadata) SetScope(v string) {
186206
o.Scope = &v
187207
}

0 commit comments

Comments
 (0)