From f4010f2016db340fce8e5553e5f902b014724934 Mon Sep 17 00:00:00 2001 From: "ci.datadog-api-spec" Date: Fri, 14 Mar 2025 07:51:40 +0000 Subject: [PATCH] Regenerate client from commit 899883be of spec repo --- .apigentools-info | 8 ++++---- .generator/schemas/v2/openapi.yaml | 7 ++++++- lib/datadog_api_client/v2/api/downtimes_api.rb | 2 ++ 3 files changed, 12 insertions(+), 5 deletions(-) diff --git a/.apigentools-info b/.apigentools-info index 18a9b7f24e89..959d2d962701 100644 --- a/.apigentools-info +++ b/.apigentools-info @@ -4,13 +4,13 @@ "spec_versions": { "v1": { "apigentools_version": "1.6.6", - "regenerated": "2025-03-13 19:52:49.528972", - "spec_repo_commit": "f64c1d75" + "regenerated": "2025-03-14 07:51:10.767732", + "spec_repo_commit": "899883be" }, "v2": { "apigentools_version": "1.6.6", - "regenerated": "2025-03-13 19:52:49.544117", - "spec_repo_commit": "f64c1d75" + "regenerated": "2025-03-14 07:51:10.783055", + "spec_repo_commit": "899883be" } } } \ No newline at end of file diff --git a/.generator/schemas/v2/openapi.yaml b/.generator/schemas/v2/openapi.yaml index 2737d23c346c..e8dfdfe3b3e1 100644 --- a/.generator/schemas/v2/openapi.yaml +++ b/.generator/schemas/v2/openapi.yaml @@ -38777,7 +38777,12 @@ paths: - monitors_downtime /api/v2/downtime/{downtime_id}: delete: - description: Cancel a downtime. + description: 'Cancel a downtime. + + + **Note**: Downtimes canceled through the API are no longer active, but are + retained for approximately two days before being permanently removed. The + downtime may still appear in search results until it is permanently removed.' operationId: CancelDowntime parameters: - description: ID of the downtime to cancel. diff --git a/lib/datadog_api_client/v2/api/downtimes_api.rb b/lib/datadog_api_client/v2/api/downtimes_api.rb index ee200c4b1f34..599f36cddc91 100644 --- a/lib/datadog_api_client/v2/api/downtimes_api.rb +++ b/lib/datadog_api_client/v2/api/downtimes_api.rb @@ -35,6 +35,8 @@ def cancel_downtime(downtime_id, opts = {}) # # Cancel a downtime. # + # **Note**: Downtimes canceled through the API are no longer active, but are retained for approximately two days before being permanently removed. The downtime may still appear in search results until it is permanently removed. + # # @param downtime_id [String] ID of the downtime to cancel. # @param opts [Hash] the optional parameters # @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers