Skip to content

Commit 366a745

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit 1832279f of spec repo
1 parent d8d376f commit 366a745

File tree

3 files changed

+5
-19
lines changed

3 files changed

+5
-19
lines changed

.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-07-08 07:29:02.458919",
8-
"spec_repo_commit": "d9879085"
7+
"regenerated": "2025-07-08 16:38:39.611636",
8+
"spec_repo_commit": "1832279f"
99
},
1010
"v2": {
1111
"apigentools_version": "1.6.6",
12-
"regenerated": "2025-07-08 07:29:02.475424",
13-
"spec_repo_commit": "d9879085"
12+
"regenerated": "2025-07-08 16:38:39.635862",
13+
"spec_repo_commit": "1832279f"
1414
}
1515
}
1616
}

.generator/schemas/v1/openapi.yaml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11880,10 +11880,6 @@ components:
1188011880
description: A monitor tag.
1188111881
type: string
1188211882
type: array
11883-
name:
11884-
description: The name of the service level objective object.
11885-
example: Custom Metric SLO
11886-
type: string
1188711883
query:
1188811884
$ref: '#/components/schemas/ServiceLevelObjectiveQuery'
1188911885
sli_specification:

lib/datadog_api_client/v1/models/slo_response_data.rb

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -68,9 +68,6 @@ class SLOResponseData
6868
# determined entirely by the `monitor_ids` field).
6969
attr_accessor :monitor_tags
7070

71-
# The name of the service level objective object.
72-
attr_accessor :name
73-
7471
# A metric-based SLO. **Required if type is `metric`**. Note that Datadog only allows the sum by aggregator
7572
# to be used because this will sum up all request counts instead of averaging them, or taking the max or
7673
# min of all of those requests.
@@ -120,7 +117,6 @@ def self.attribute_map
120117
:'modified_at' => :'modified_at',
121118
:'monitor_ids' => :'monitor_ids',
122119
:'monitor_tags' => :'monitor_tags',
123-
:'name' => :'name',
124120
:'query' => :'query',
125121
:'sli_specification' => :'sli_specification',
126122
:'tags' => :'tags',
@@ -145,7 +141,6 @@ def self.openapi_types
145141
:'modified_at' => :'Integer',
146142
:'monitor_ids' => :'Array<Integer>',
147143
:'monitor_tags' => :'Array<String>',
148-
:'name' => :'String',
149144
:'query' => :'ServiceLevelObjectiveQuery',
150145
:'sli_specification' => :'SLOSliSpec',
151146
:'tags' => :'Array<String>',
@@ -227,10 +222,6 @@ def initialize(attributes = {})
227222
end
228223
end
229224

230-
if attributes.key?(:'name')
231-
self.name = attributes[:'name']
232-
end
233-
234225
if attributes.key?(:'query')
235226
self.query = attributes[:'query']
236227
end
@@ -303,7 +294,6 @@ def ==(o)
303294
modified_at == o.modified_at &&
304295
monitor_ids == o.monitor_ids &&
305296
monitor_tags == o.monitor_tags &&
306-
name == o.name &&
307297
query == o.query &&
308298
sli_specification == o.sli_specification &&
309299
tags == o.tags &&
@@ -319,7 +309,7 @@ def ==(o)
319309
# @return [Integer] Hash code
320310
# @!visibility private
321311
def hash
322-
[configured_alert_ids, created_at, creator, description, groups, id, modified_at, monitor_ids, monitor_tags, name, query, sli_specification, tags, target_threshold, thresholds, timeframe, type, warning_threshold, additional_properties].hash
312+
[configured_alert_ids, created_at, creator, description, groups, id, modified_at, monitor_ids, monitor_tags, query, sli_specification, tags, target_threshold, thresholds, timeframe, type, warning_threshold, additional_properties].hash
323313
end
324314
end
325315
end

0 commit comments

Comments
 (0)