Skip to content

Commit d15f1bb

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit 91411f12 of spec repo
1 parent db3cc2b commit d15f1bb

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-05-27 17:12:18.286841",
8-
"spec_repo_commit": "ed439f7c"
7+
"regenerated": "2025-06-03 19:04:25.678199",
8+
"spec_repo_commit": "91411f12"
99
},
1010
"v2": {
1111
"apigentools_version": "1.6.6",
12-
"regenerated": "2025-05-27 17:12:18.303167",
13-
"spec_repo_commit": "ed439f7c"
12+
"regenerated": "2025-06-03 19:04:25.696011",
13+
"spec_repo_commit": "91411f12"
1414
}
1515
}
1616
}

.generator/schemas/v1/openapi.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10939,19 +10939,24 @@ components:
1093910939
example: {}
1094010940
properties:
1094110941
aggr:
10942+
deprecated: true
1094210943
description: Query aggregator function.
1094310944
type: string
1094410945
expression:
10946+
deprecated: true
1094510947
description: Query expression.
1094610948
type: string
1094710949
metric:
10950+
deprecated: true
1094810951
description: Query metric used.
1094910952
type: string
1095010953
query_index:
10954+
deprecated: true
1095110955
description: Query index from original combined query.
1095210956
format: int64
1095310957
type: integer
1095410958
scope:
10959+
deprecated: true
1095510960
description: Query scope.
1095610961
type: string
1095710962
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)