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
9 changes: 9 additions & 0 deletions src/datadog_api_client/v1/model/dashboard.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ def openapi_types(_):
from datadog_api_client.v1.model.widget import Widget

return {
"archived_at": (datetime, none_type),
"author_handle": (str,),
"author_name": (str, none_type),
"created_at": (datetime,),
Expand All @@ -73,6 +74,7 @@ def openapi_types(_):
}

attribute_map = {
"archived_at": "archived_at",
"author_handle": "author_handle",
"author_name": "author_name",
"created_at": "created_at",
Expand All @@ -95,6 +97,7 @@ def openapi_types(_):
"widgets": "widgets",
}
read_only_vars = {
"archived_at",
"author_handle",
"author_name",
"created_at",
Expand All @@ -109,6 +112,7 @@ def __init__(
layout_type: DashboardLayoutType,
title: str,
widgets: List[Widget],
archived_at: Union[datetime, none_type, UnsetType] = unset,
author_handle: Union[str, UnsetType] = unset,
author_name: Union[str, none_type, UnsetType] = unset,
created_at: Union[datetime, UnsetType] = unset,
Expand All @@ -134,6 +138,9 @@ def __init__(
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.

:param archived_at: Archive date of the dashboard.
:type archived_at: datetime, none_type, optional

:param author_handle: Identifier of the dashboard author.
:type author_handle: str, optional

Expand Down Expand Up @@ -198,6 +205,8 @@ def __init__(
:param widgets: List of widgets to display on the dashboard.
:type widgets: [Widget]
"""
if archived_at is not unset:
kwargs["archived_at"] = archived_at
if author_handle is not unset:
kwargs["author_handle"] = author_handle
if author_name is not unset:
Expand Down
Loading