Skip to content

Commit 6d4b831

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit ffed3856 of spec repo
1 parent bf1fb22 commit 6d4b831

File tree

9 files changed

+42
-15
lines changed

9 files changed

+42
-15
lines changed

.apigentools-info

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@
44
"spec_versions": {
55
"v1": {
66
"apigentools_version": "1.6.6",
7-
"regenerated": "2024-08-21 15:17:00.453751",
8-
"spec_repo_commit": "4470dfc1"
7+
"regenerated": "2024-08-21 16:52:47.024586",
8+
"spec_repo_commit": "ffed3856"
99
},
1010
"v2": {
1111
"apigentools_version": "1.6.6",
12-
"regenerated": "2024-08-21 15:17:00.482428",
13-
"spec_repo_commit": "4470dfc1"
12+
"regenerated": "2024-08-21 16:52:47.050568",
13+
"spec_repo_commit": "ffed3856"
1414
}
1515
}
1616
}

.generator/schemas/v2/openapi.yaml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12649,11 +12649,14 @@ components:
1264912649
readOnly: true
1265012650
type: object
1265112651
MetricAssetAttributes:
12652-
description: Assets where only included attribute is its title
12652+
description: Assets related to the object, including title and url.
1265312653
properties:
1265412654
title:
1265512655
description: Title of the asset.
1265612656
type: string
12657+
url:
12658+
description: URL path of the asset.
12659+
type: string
1265712660
type: object
1265812661
MetricAssetDashboardRelationship:
1265912662
description: An object of type `dashboard` that can be referenced in the `included`
@@ -13033,7 +13036,8 @@ components:
1303313036
- type
1303413037
type: object
1303513038
MetricDashboardAttributes:
13036-
description: Attributes related to the dashboard, including title and popularity.
13039+
description: Attributes related to the dashboard, including title, popularity,
13040+
and url.
1303713041
properties:
1303813042
popularity:
1303913043
description: Value from 0 to 5 that ranks popularity of the dashboard.
@@ -13044,6 +13048,9 @@ components:
1304413048
title:
1304513049
description: Title of the asset.
1304613050
type: string
13051+
url:
13052+
description: URL path of the asset.
13053+
type: string
1304713054
type: object
1304813055
MetricDashboardID:
1304913056
description: The related dashboard's ID.

src/datadog_api_client/v2/model/metric_asset_attributes.py

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,19 +18,26 @@ class MetricAssetAttributes(ModelNormal):
1818
def openapi_types(_):
1919
return {
2020
"title": (str,),
21+
"url": (str,),
2122
}
2223

2324
attribute_map = {
2425
"title": "title",
26+
"url": "url",
2527
}
2628

27-
def __init__(self_, title: Union[str, UnsetType] = unset, **kwargs):
29+
def __init__(self_, title: Union[str, UnsetType] = unset, url: Union[str, UnsetType] = unset, **kwargs):
2830
"""
29-
Assets where only included attribute is its title
31+
Assets related to the object, including title and url.
3032
3133
:param title: Title of the asset.
3234
:type title: str, optional
35+
36+
:param url: URL path of the asset.
37+
:type url: str, optional
3338
"""
3439
if title is not unset:
3540
kwargs["title"] = title
41+
if url is not unset:
42+
kwargs["url"] = url
3643
super().__init__(kwargs)

src/datadog_api_client/v2/model/metric_asset_response_included.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ def __init__(self, **kwargs):
1515
"""
1616
List of included assets with full set of attributes.
1717
18-
:param attributes: Attributes related to the dashboard, including title and popularity.
18+
:param attributes: Attributes related to the dashboard, including title, popularity, and url.
1919
:type attributes: MetricDashboardAttributes, optional
2020
2121
:param id: The related dashboard's ID.

src/datadog_api_client/v2/model/metric_dashboard_asset.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ def __init__(
4646
"""
4747
A dashboard object with title and popularity.
4848
49-
:param attributes: Attributes related to the dashboard, including title and popularity.
49+
:param attributes: Attributes related to the dashboard, including title, popularity, and url.
5050
:type attributes: MetricDashboardAttributes, optional
5151
5252
:param id: The related dashboard's ID.

src/datadog_api_client/v2/model/metric_dashboard_attributes.py

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,25 +26,38 @@ def openapi_types(_):
2626
return {
2727
"popularity": (float,),
2828
"title": (str,),
29+
"url": (str,),
2930
}
3031

3132
attribute_map = {
3233
"popularity": "popularity",
3334
"title": "title",
35+
"url": "url",
3436
}
3537

36-
def __init__(self_, popularity: Union[float, UnsetType] = unset, title: Union[str, UnsetType] = unset, **kwargs):
38+
def __init__(
39+
self_,
40+
popularity: Union[float, UnsetType] = unset,
41+
title: Union[str, UnsetType] = unset,
42+
url: Union[str, UnsetType] = unset,
43+
**kwargs,
44+
):
3745
"""
38-
Attributes related to the dashboard, including title and popularity.
46+
Attributes related to the dashboard, including title, popularity, and url.
3947
4048
:param popularity: Value from 0 to 5 that ranks popularity of the dashboard.
4149
:type popularity: float, optional
4250
4351
:param title: Title of the asset.
4452
:type title: str, optional
53+
54+
:param url: URL path of the asset.
55+
:type url: str, optional
4556
"""
4657
if popularity is not unset:
4758
kwargs["popularity"] = popularity
4859
if title is not unset:
4960
kwargs["title"] = title
61+
if url is not unset:
62+
kwargs["url"] = url
5063
super().__init__(kwargs)

src/datadog_api_client/v2/model/metric_monitor_asset.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ def __init__(
4242
"""
4343
A monitor object with title.
4444
45-
:param attributes: Assets where only included attribute is its title
45+
:param attributes: Assets related to the object, including title and url.
4646
:type attributes: MetricAssetAttributes, optional
4747
4848
:param id: The related monitor's ID.

src/datadog_api_client/v2/model/metric_notebook_asset.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ def __init__(
4242
"""
4343
A notebook object with title.
4444
45-
:param attributes: Assets where only included attribute is its title
45+
:param attributes: Assets related to the object, including title and url.
4646
:type attributes: MetricAssetAttributes, optional
4747
4848
:param id: The related notebook's ID.

src/datadog_api_client/v2/model/metric_slo_asset.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ def __init__(
4242
"""
4343
A SLO object with title.
4444
45-
:param attributes: Assets where only included attribute is its title
45+
:param attributes: Assets related to the object, including title and url.
4646
:type attributes: MetricAssetAttributes, optional
4747
4848
:param id: The SLO ID.

0 commit comments

Comments
 (0)