From c963b6a830f6c7360bfa5fb4282a9ab0eb554603 Mon Sep 17 00:00:00 2001 From: "ci.datadog-api-spec" Date: Mon, 19 May 2025 15:26:50 +0000 Subject: [PATCH] Regenerate client from commit f89617c7 of spec repo --- .apigentools-info | 8 ++++---- .generator/schemas/v1/openapi.yaml | 5 +++++ src/datadog_api_client/v1/model/monitor.py | 9 +++++++++ 3 files changed, 18 insertions(+), 4 deletions(-) diff --git a/.apigentools-info b/.apigentools-info index aef9a97534..58bc5b6211 100644 --- a/.apigentools-info +++ b/.apigentools-info @@ -4,13 +4,13 @@ "spec_versions": { "v1": { "apigentools_version": "1.6.6", - "regenerated": "2025-05-16 13:56:32.101158", - "spec_repo_commit": "dac51bc6" + "regenerated": "2025-05-19 15:26:11.948104", + "spec_repo_commit": "f89617c7" }, "v2": { "apigentools_version": "1.6.6", - "regenerated": "2025-05-16 13:56:32.116967", - "spec_repo_commit": "dac51bc6" + "regenerated": "2025-05-19 15:26:11.963464", + "spec_repo_commit": "f89617c7" } } } \ No newline at end of file diff --git a/.generator/schemas/v1/openapi.yaml b/.generator/schemas/v1/openapi.yaml index bfe39072ee..3f645f25ca 100644 --- a/.generator/schemas/v1/openapi.yaml +++ b/.generator/schemas/v1/openapi.yaml @@ -6729,6 +6729,11 @@ components: Monitor: description: Object describing a monitor. properties: + classification: + description: The classification of the monitor. + example: log + readOnly: true + type: string created: description: Timestamp of the monitor creation. format: date-time diff --git a/src/datadog_api_client/v1/model/monitor.py b/src/datadog_api_client/v1/model/monitor.py index 07bc45f932..da2864c3a6 100644 --- a/src/datadog_api_client/v1/model/monitor.py +++ b/src/datadog_api_client/v1/model/monitor.py @@ -35,6 +35,7 @@ def openapi_types(_): from datadog_api_client.v1.model.monitor_type import MonitorType return { + "classification": (str,), "created": (datetime,), "creator": (Creator,), "deleted": (datetime, none_type), @@ -55,6 +56,7 @@ def openapi_types(_): } attribute_map = { + "classification": "classification", "created": "created", "creator": "creator", "deleted": "deleted", @@ -74,6 +76,7 @@ def openapi_types(_): "type": "type", } read_only_vars = { + "classification", "created", "creator", "deleted", @@ -88,6 +91,7 @@ def __init__( self_, query: str, type: MonitorType, + classification: Union[str, UnsetType] = unset, created: Union[datetime, UnsetType] = unset, creator: Union[Creator, UnsetType] = unset, deleted: Union[datetime, none_type, UnsetType] = unset, @@ -108,6 +112,9 @@ def __init__( """ Object describing a monitor. + :param classification: The classification of the monitor. + :type classification: str, optional + :param created: Timestamp of the monitor creation. :type created: datetime, optional @@ -159,6 +166,8 @@ def __init__( :param type: The type of the monitor. For more information about ``type`` , see the `monitor options `_ docs. :type type: MonitorType """ + if classification is not unset: + kwargs["classification"] = classification if created is not unset: kwargs["created"] = created if creator is not unset: