Skip to content

Add integration_id field for dashboard list item #1579

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
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
8 changes: 4 additions & 4 deletions .apigentools-info
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@
"spec_versions": {
"v1": {
"apigentools_version": "1.6.5",
"regenerated": "2023-07-13 19:08:05.234547",
"spec_repo_commit": "9ad4f63e"
"regenerated": "2023-07-13 19:35:43.377556",
"spec_repo_commit": "b37fc521"
},
"v2": {
"apigentools_version": "1.6.5",
"regenerated": "2023-07-13 19:08:05.246545",
"spec_repo_commit": "9ad4f63e"
"regenerated": "2023-07-13 19:35:43.395282",
"spec_repo_commit": "b37fc521"
}
}
}
5 changes: 5 additions & 0 deletions .generator/schemas/v2/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3523,6 +3523,11 @@ components:
description: ID of the dashboard.
example: q5j-nti-fv6
type: string
integration_id:
description: The short name of the integration.
nullable: true
readOnly: true
type: string
is_favorite:
description: Whether or not the dashboard is in the favorites.
readOnly: true
Expand Down
9 changes: 9 additions & 0 deletions src/datadog_api_client/v2/model/dashboard_list_item.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ def openapi_types(_):
"created": (datetime,),
"icon": (str, none_type),
"id": (str,),
"integration_id": (str, none_type),
"is_favorite": (bool,),
"is_read_only": (bool,),
"is_shared": (bool,),
Expand All @@ -52,6 +53,7 @@ def openapi_types(_):
"created": "created",
"icon": "icon",
"id": "id",
"integration_id": "integration_id",
"is_favorite": "is_favorite",
"is_read_only": "is_read_only",
"is_shared": "is_shared",
Expand All @@ -64,6 +66,7 @@ def openapi_types(_):
read_only_vars = {
"created",
"icon",
"integration_id",
"is_favorite",
"is_read_only",
"is_shared",
Expand All @@ -80,6 +83,7 @@ def __init__(
author: Union[Creator, UnsetType] = unset,
created: Union[datetime, UnsetType] = unset,
icon: Union[str, none_type, UnsetType] = unset,
integration_id: Union[str, none_type, UnsetType] = unset,
is_favorite: Union[bool, UnsetType] = unset,
is_read_only: Union[bool, UnsetType] = unset,
is_shared: Union[bool, UnsetType] = unset,
Expand All @@ -104,6 +108,9 @@ def __init__(
:param id: ID of the dashboard.
:type id: str

:param integration_id: The short name of the integration.
:type integration_id: str, none_type, optional

:param is_favorite: Whether or not the dashboard is in the favorites.
:type is_favorite: bool, optional

Expand Down Expand Up @@ -134,6 +141,8 @@ def __init__(
kwargs["created"] = created
if icon is not unset:
kwargs["icon"] = icon
if integration_id is not unset:
kwargs["integration_id"] = integration_id
if is_favorite is not unset:
kwargs["is_favorite"] = is_favorite
if is_read_only is not unset:
Expand Down