Skip to content

Commit c963b6a

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit f89617c7 of spec repo
1 parent 841224a commit c963b6a

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-05-16 13:56:32.101158",
8-
"spec_repo_commit": "dac51bc6"
7+
"regenerated": "2025-05-19 15:26:11.948104",
8+
"spec_repo_commit": "f89617c7"
99
},
1010
"v2": {
1111
"apigentools_version": "1.6.6",
12-
"regenerated": "2025-05-16 13:56:32.116967",
13-
"spec_repo_commit": "dac51bc6"
12+
"regenerated": "2025-05-19 15:26:11.963464",
13+
"spec_repo_commit": "f89617c7"
1414
}
1515
}
1616
}

.generator/schemas/v1/openapi.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6729,6 +6729,11 @@ components:
67296729
Monitor:
67306730
description: Object describing a monitor.
67316731
properties:
6732+
classification:
6733+
description: The classification of the monitor.
6734+
example: log
6735+
readOnly: true
6736+
type: string
67326737
created:
67336738
description: Timestamp of the monitor creation.
67346739
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)