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
6 changes: 6 additions & 0 deletions .generator/schemas/v1/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
13 changes: 12 additions & 1 deletion lib/datadog_api_client/v1/models/dashboard.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -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',
Expand Down Expand Up @@ -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',
Expand Down Expand Up @@ -146,6 +151,7 @@ def self.openapi_types
# @!visibility private
def self.openapi_nullable
Set.new([
:'archived_at',
:'author_name',
:'description',
:'notify_list',
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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 &&
Expand Down Expand Up @@ -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
Loading