From ef26885bf568cc88d2b41470468c707174627925 Mon Sep 17 00:00:00 2001 From: "api-clients-generation-pipeline[bot]" <54105614+api-clients-generation-pipeline[bot]@users.noreply.github.com> Date: Tue, 12 Sep 2023 18:13:48 +0000 Subject: [PATCH] Update v1 monitor api docs to exclude downtimes v2 (#1534) Co-authored-by: ci.datadog-api-spec --- .apigentools-info | 8 ++++---- .generator/schemas/v1/openapi.yaml | 5 +++-- lib/datadog_api_client/v1/models/monitor.rb | 2 +- lib/datadog_api_client/v1/models/monitor_options.rb | 2 +- 4 files changed, 9 insertions(+), 8 deletions(-) diff --git a/.apigentools-info b/.apigentools-info index 27e99074447f..02df237f2fd2 100644 --- a/.apigentools-info +++ b/.apigentools-info @@ -4,13 +4,13 @@ "spec_versions": { "v1": { "apigentools_version": "1.6.5", - "regenerated": "2023-09-12 16:35:57.004645", - "spec_repo_commit": "cbc99635" + "regenerated": "2023-09-12 17:52:25.284772", + "spec_repo_commit": "752c972d" }, "v2": { "apigentools_version": "1.6.5", - "regenerated": "2023-09-12 16:35:57.017837", - "spec_repo_commit": "cbc99635" + "regenerated": "2023-09-12 17:52:25.297760", + "spec_repo_commit": "752c972d" } } } \ No newline at end of file diff --git a/.generator/schemas/v1/openapi.yaml b/.generator/schemas/v1/openapi.yaml index e32b062880aa..f19a927504dd 100644 --- a/.generator/schemas/v1/openapi.yaml +++ b/.generator/schemas/v1/openapi.yaml @@ -6249,7 +6249,7 @@ components: readOnly: true type: integer matching_downtimes: - description: A list of active downtimes that match this monitor. + description: A list of active v1 downtimes that match this monitor. items: $ref: '#/components/schemas/MatchingDowntime' type: array @@ -6777,7 +6777,8 @@ components: nullable: true type: integer deprecated: true - description: Information about the downtime applied to the monitor. + description: Information about the downtime applied to the monitor. Only + shows v1 downtimes. type: object synthetics_check_id: deprecated: true diff --git a/lib/datadog_api_client/v1/models/monitor.rb b/lib/datadog_api_client/v1/models/monitor.rb index 0ee39fde464a..f5c90f64c08e 100644 --- a/lib/datadog_api_client/v1/models/monitor.rb +++ b/lib/datadog_api_client/v1/models/monitor.rb @@ -33,7 +33,7 @@ class Monitor # ID of this monitor. attr_accessor :id - # A list of active downtimes that match this monitor. + # A list of active v1 downtimes that match this monitor. attr_accessor :matching_downtimes # A message to include with notifications for this monitor. diff --git a/lib/datadog_api_client/v1/models/monitor_options.rb b/lib/datadog_api_client/v1/models/monitor_options.rb index d7ae8c251abd..53bd89043a86 100644 --- a/lib/datadog_api_client/v1/models/monitor_options.rb +++ b/lib/datadog_api_client/v1/models/monitor_options.rb @@ -132,7 +132,7 @@ class MonitorOptions # Configuration options for scheduling. attr_accessor :scheduling_options - # Information about the downtime applied to the monitor. + # Information about the downtime applied to the monitor. Only shows v1 downtimes. attr_accessor :silenced # ID of the corresponding Synthetic check.