diff --git a/.generated-info b/.generated-info index db2daa7bdddb..a9d1c67e40aa 100644 --- a/.generated-info +++ b/.generated-info @@ -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" } diff --git a/.generator/schemas/v2/openapi.yaml b/.generator/schemas/v2/openapi.yaml index 64cfcb7b7c4d..c8e3b92e109e 100644 --- a/.generator/schemas/v2/openapi.yaml +++ b/.generator/schemas/v2/openapi.yaml @@ -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 diff --git a/lib/datadog_api_client/v2/models/metric_dashboard_attributes.rb b/lib/datadog_api_client/v2/models/metric_dashboard_attributes.rb index 72ce5ed02827..923d8e9dad0f 100644 --- a/lib/datadog_api_client/v2/models/metric_dashboard_attributes.rb +++ b/lib/datadog_api_client/v2/models/metric_dashboard_attributes.rb @@ -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 @@ -37,6 +40,7 @@ class MetricDashboardAttributes def self.attribute_map { :'popularity' => :'popularity', + :'tags' => :'tags', :'title' => :'title', :'url' => :'url' } @@ -47,6 +51,7 @@ def self.attribute_map def self.openapi_types { :'popularity' => :'Float', + :'tags' => :'Array', :'title' => :'String', :'url' => :'String' } @@ -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 @@ -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 @@ -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