Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .apigentools-info
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@
"spec_versions": {
"v1": {
"apigentools_version": "1.6.6",
"regenerated": "2025-07-08 07:29:02.458919",
"spec_repo_commit": "d9879085"
"regenerated": "2025-07-08 17:06:31.711586",
"spec_repo_commit": "811e2579"
},
"v2": {
"apigentools_version": "1.6.6",
"regenerated": "2025-07-08 07:29:02.475424",
"spec_repo_commit": "d9879085"
"regenerated": "2025-07-08 17:06:31.728139",
"spec_repo_commit": "811e2579"
}
}
}
4 changes: 0 additions & 4 deletions .generator/schemas/v1/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11880,10 +11880,6 @@ components:
description: A monitor tag.
type: string
type: array
name:
description: The name of the service level objective object.
example: Custom Metric SLO
type: string
query:
$ref: '#/components/schemas/ServiceLevelObjectiveQuery'
sli_specification:
Expand Down
12 changes: 1 addition & 11 deletions lib/datadog_api_client/v1/models/slo_response_data.rb
Original file line number Diff line number Diff line change
Expand Up @@ -68,9 +68,6 @@ class SLOResponseData
# determined entirely by the `monitor_ids` field).
attr_accessor :monitor_tags

# The name of the service level objective object.
attr_accessor :name

# A metric-based SLO. **Required if type is `metric`**. Note that Datadog only allows the sum by aggregator
# to be used because this will sum up all request counts instead of averaging them, or taking the max or
# min of all of those requests.
Expand Down Expand Up @@ -120,7 +117,6 @@ def self.attribute_map
:'modified_at' => :'modified_at',
:'monitor_ids' => :'monitor_ids',
:'monitor_tags' => :'monitor_tags',
:'name' => :'name',
:'query' => :'query',
:'sli_specification' => :'sli_specification',
:'tags' => :'tags',
Expand All @@ -145,7 +141,6 @@ def self.openapi_types
:'modified_at' => :'Integer',
:'monitor_ids' => :'Array<Integer>',
:'monitor_tags' => :'Array<String>',
:'name' => :'String',
:'query' => :'ServiceLevelObjectiveQuery',
:'sli_specification' => :'SLOSliSpec',
:'tags' => :'Array<String>',
Expand Down Expand Up @@ -227,10 +222,6 @@ def initialize(attributes = {})
end
end

if attributes.key?(:'name')
self.name = attributes[:'name']
end

if attributes.key?(:'query')
self.query = attributes[:'query']
end
Expand Down Expand Up @@ -303,7 +294,6 @@ def ==(o)
modified_at == o.modified_at &&
monitor_ids == o.monitor_ids &&
monitor_tags == o.monitor_tags &&
name == o.name &&
query == o.query &&
sli_specification == o.sli_specification &&
tags == o.tags &&
Expand All @@ -319,7 +309,7 @@ def ==(o)
# @return [Integer] Hash code
# @!visibility private
def hash
[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
[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
end
end
end
Loading