Skip to content

Commit e87571a

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit f9205865 of spec repo
1 parent 1843384 commit e87571a

File tree

3 files changed

+18
-4
lines changed

3 files changed

+18
-4
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": "2025-02-14 15:03:51.274934",
8-
"spec_repo_commit": "a739b49f"
7+
"regenerated": "2025-02-18 09:41:21.670827",
8+
"spec_repo_commit": "f9205865"
99
},
1010
"v2": {
1111
"apigentools_version": "1.6.6",
12-
"regenerated": "2025-02-14 15:03:51.291086",
13-
"spec_repo_commit": "a739b49f"
12+
"regenerated": "2025-02-18 09:41:21.686992",
13+
"spec_repo_commit": "f9205865"
1414
}
1515
}
1616
}

.generator/schemas/v1/openapi.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6688,6 +6688,11 @@ components:
66886688
Monitor:
66896689
description: Object describing a monitor.
66906690
properties:
6691+
classification:
6692+
description: The classification of the monitor.
6693+
example: log
6694+
readOnly: true
6695+
type: string
66916696
created:
66926697
description: Timestamp of the monitor creation.
66936698
format: date-time

src/datadog_api_client/v1/model/monitor.py

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ def openapi_types(_):
3535
from datadog_api_client.v1.model.monitor_type import MonitorType
3636

3737
return {
38+
"classification": (str,),
3839
"created": (datetime,),
3940
"creator": (Creator,),
4041
"deleted": (datetime, none_type),
@@ -55,6 +56,7 @@ def openapi_types(_):
5556
}
5657

5758
attribute_map = {
59+
"classification": "classification",
5860
"created": "created",
5961
"creator": "creator",
6062
"deleted": "deleted",
@@ -74,6 +76,7 @@ def openapi_types(_):
7476
"type": "type",
7577
}
7678
read_only_vars = {
79+
"classification",
7780
"created",
7881
"creator",
7982
"deleted",
@@ -88,6 +91,7 @@ def __init__(
8891
self_,
8992
query: str,
9093
type: MonitorType,
94+
classification: Union[str, UnsetType] = unset,
9195
created: Union[datetime, UnsetType] = unset,
9296
creator: Union[Creator, UnsetType] = unset,
9397
deleted: Union[datetime, none_type, UnsetType] = unset,
@@ -108,6 +112,9 @@ def __init__(
108112
"""
109113
Object describing a monitor.
110114
115+
:param classification: The classification of the monitor.
116+
:type classification: str, optional
117+
111118
:param created: Timestamp of the monitor creation.
112119
:type created: datetime, optional
113120
@@ -159,6 +166,8 @@ def __init__(
159166
:param type: The type of the monitor. For more information about ``type`` , see the `monitor options <https://docs.datadoghq.com/monitors/guide/monitor_api_options/>`_ docs.
160167
:type type: MonitorType
161168
"""
169+
if classification is not unset:
170+
kwargs["classification"] = classification
162171
if created is not unset:
163172
kwargs["created"] = created
164173
if creator is not unset:

0 commit comments

Comments
 (0)