Skip to content
Merged
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
4 changes: 2 additions & 2 deletions .generated-info
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"spec_repo_commit": "e4f653f",
"generated": "2025-07-25 14:07:18.059"
"spec_repo_commit": "b737cc4",
"generated": "2025-07-28 13:11:24.660"
}
11 changes: 11 additions & 0 deletions .generator/schemas/v2/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22867,6 +22867,17 @@ components:
maximum: 5
minimum: 0
type: number
tags:
description: List of tag keys used in the asset.
example:
- env
- service
- host
- datacenter
items:
description: Tag key used in assets.
type: string
type: array
title:
description: Title of the asset.
type: string
Expand Down
14 changes: 13 additions & 1 deletion lib/datadog_api_client/v2/models/metric_dashboard_attributes.rb
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,9 @@ class MetricDashboardAttributes
# Value from 0 to 5 that ranks popularity of the dashboard.
attr_reader :popularity

# List of tag keys used in the asset.
attr_accessor :tags

# Title of the asset.
attr_accessor :title

Expand All @@ -37,6 +40,7 @@ class MetricDashboardAttributes
def self.attribute_map
{
:'popularity' => :'popularity',
:'tags' => :'tags',
:'title' => :'title',
:'url' => :'url'
}
Expand All @@ -47,6 +51,7 @@ def self.attribute_map
def self.openapi_types
{
:'popularity' => :'Float',
:'tags' => :'Array<String>',
:'title' => :'String',
:'url' => :'String'
}
Expand Down Expand Up @@ -74,6 +79,12 @@ def initialize(attributes = {})
self.popularity = attributes[:'popularity']
end

if attributes.key?(:'tags')
if (value = attributes[:'tags']).is_a?(Array)
self.tags = value
end
end

if attributes.key?(:'title')
self.title = attributes[:'title']
end
Expand Down Expand Up @@ -132,6 +143,7 @@ def ==(o)
return true if self.equal?(o)
self.class == o.class &&
popularity == o.popularity &&
tags == o.tags &&
title == o.title &&
url == o.url &&
additional_properties == o.additional_properties
Expand All @@ -141,7 +153,7 @@ def ==(o)
# @return [Integer] Hash code
# @!visibility private
def hash
[popularity, title, url, additional_properties].hash
[popularity, tags, title, url, additional_properties].hash
end
end
end
Loading