Skip to content

Commit a0a513e

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit 7f27ad2 of spec repo
1 parent dbdb803 commit a0a513e

File tree

6 files changed

+31
-8
lines changed

6 files changed

+31
-8
lines changed

.generated-info

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
{
2-
"spec_repo_commit": "214381f",
3-
"generated": "2025-07-17 15:36:40.869"
2+
"spec_repo_commit": "7f27ad2",
3+
"generated": "2025-07-17 18:25:47.067"
44
}

.generator/schemas/v2/openapi.yaml

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22346,8 +22346,19 @@ components:
2234622346
readOnly: true
2234722347
type: object
2234822348
MetricAssetAttributes:
22349-
description: Assets related to the object, including title and url.
22349+
description: Assets related to the object, including title, url, and tags.
2235022350
properties:
22351+
tags:
22352+
description: List of tag keys used in the asset.
22353+
example:
22354+
- env
22355+
- service
22356+
- host
22357+
- datacenter
22358+
items:
22359+
description: Tag key used in assets.
22360+
type: string
22361+
type: array
2235122362
title:
2235222363
description: Title of the asset.
2235322364
type: string

lib/datadog_api_client/v2/models/metric_asset_attributes.rb

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,13 @@
1717
require 'time'
1818

1919
module DatadogAPIClient::V2
20-
# Assets related to the object, including title and url.
20+
# Assets related to the object, including title, url, and tags.
2121
class MetricAssetAttributes
2222
include BaseGenericModel
2323

24+
# List of tag keys used in the asset.
25+
attr_accessor :tags
26+
2427
# Title of the asset.
2528
attr_accessor :title
2629

@@ -33,6 +36,7 @@ class MetricAssetAttributes
3336
# @!visibility private
3437
def self.attribute_map
3538
{
39+
:'tags' => :'tags',
3640
:'title' => :'title',
3741
:'url' => :'url'
3842
}
@@ -42,6 +46,7 @@ def self.attribute_map
4246
# @!visibility private
4347
def self.openapi_types
4448
{
49+
:'tags' => :'Array<String>',
4550
:'title' => :'String',
4651
:'url' => :'String'
4752
}
@@ -65,6 +70,12 @@ def initialize(attributes = {})
6570
end
6671
}
6772

73+
if attributes.key?(:'tags')
74+
if (value = attributes[:'tags']).is_a?(Array)
75+
self.tags = value
76+
end
77+
end
78+
6879
if attributes.key?(:'title')
6980
self.title = attributes[:'title']
7081
end
@@ -100,6 +111,7 @@ def to_hash
100111
def ==(o)
101112
return true if self.equal?(o)
102113
self.class == o.class &&
114+
tags == o.tags &&
103115
title == o.title &&
104116
url == o.url &&
105117
additional_properties == o.additional_properties
@@ -109,7 +121,7 @@ def ==(o)
109121
# @return [Integer] Hash code
110122
# @!visibility private
111123
def hash
112-
[title, url, additional_properties].hash
124+
[tags, title, url, additional_properties].hash
113125
end
114126
end
115127
end

lib/datadog_api_client/v2/models/metric_monitor_asset.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ module DatadogAPIClient::V2
2121
class MetricMonitorAsset
2222
include BaseGenericModel
2323

24-
# Assets related to the object, including title and url.
24+
# Assets related to the object, including title, url, and tags.
2525
attr_accessor :attributes
2626

2727
# The related monitor's ID.

lib/datadog_api_client/v2/models/metric_notebook_asset.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ module DatadogAPIClient::V2
2121
class MetricNotebookAsset
2222
include BaseGenericModel
2323

24-
# Assets related to the object, including title and url.
24+
# Assets related to the object, including title, url, and tags.
2525
attr_accessor :attributes
2626

2727
# The related notebook's ID.

lib/datadog_api_client/v2/models/metric_slo_asset.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ module DatadogAPIClient::V2
2121
class MetricSLOAsset
2222
include BaseGenericModel
2323

24-
# Assets related to the object, including title and url.
24+
# Assets related to the object, including title, url, and tags.
2525
attr_accessor :attributes
2626

2727
# The SLO ID.

0 commit comments

Comments
 (0)