diff --git a/.generator/schemas/v1/openapi.yaml b/.generator/schemas/v1/openapi.yaml index a0bee37b6436..6c8ee7fc40af 100644 --- a/.generator/schemas/v1/openapi.yaml +++ b/.generator/schemas/v1/openapi.yaml @@ -1427,6 +1427,12 @@ components: A dashboard is Datadog’s tool for visually tracking, analyzing, and displaying key performance metrics, which enable you to monitor the health of your infrastructure. properties: + archived_at: + description: Archive date of the dashboard. + format: date-time + nullable: true + readOnly: true + type: string author_handle: description: Identifier of the dashboard author. example: test@datadoghq.com diff --git a/lib/datadog_api_client/v1/models/dashboard.rb b/lib/datadog_api_client/v1/models/dashboard.rb index b2705757ee82..2dc307d115e8 100644 --- a/lib/datadog_api_client/v1/models/dashboard.rb +++ b/lib/datadog_api_client/v1/models/dashboard.rb @@ -22,6 +22,9 @@ module DatadogAPIClient::V1 class Dashboard include BaseGenericModel + # Archive date of the dashboard. + attr_accessor :archived_at + # Identifier of the dashboard author. attr_accessor :author_handle @@ -92,6 +95,7 @@ class Dashboard # @!visibility private def self.attribute_map { + :'archived_at' => :'archived_at', :'author_handle' => :'author_handle', :'author_name' => :'author_name', :'created_at' => :'created_at', @@ -119,6 +123,7 @@ def self.attribute_map # @!visibility private def self.openapi_types { + :'archived_at' => :'Time', :'author_handle' => :'String', :'author_name' => :'String', :'created_at' => :'Time', @@ -146,6 +151,7 @@ def self.openapi_types # @!visibility private def self.openapi_nullable Set.new([ + :'archived_at', :'author_name', :'description', :'notify_list', @@ -174,6 +180,10 @@ def initialize(attributes = {}) end } + if attributes.key?(:'archived_at') + self.archived_at = attributes[:'archived_at'] + end + if attributes.key?(:'author_handle') self.author_handle = attributes[:'author_handle'] end @@ -357,6 +367,7 @@ def to_hash def ==(o) return true if self.equal?(o) self.class == o.class && + archived_at == o.archived_at && author_handle == o.author_handle && author_name == o.author_name && created_at == o.created_at && @@ -384,7 +395,7 @@ def ==(o) # @return [Integer] Hash code # @!visibility private def hash - [author_handle, author_name, created_at, default_timeframe, description, experience_type, id, is_read_only, layout_type, modified_at, notify_list, reflow_type, restricted_roles, tabs, tags, template_variable_presets, template_variables, title, url, widgets, additional_properties].hash + [archived_at, author_handle, author_name, created_at, default_timeframe, description, experience_type, id, is_read_only, layout_type, modified_at, notify_list, reflow_type, restricted_roles, tabs, tags, template_variable_presets, template_variables, title, url, widgets, additional_properties].hash end end end