From e7477397000881988ca3576cc6636d0319d02fb4 Mon Sep 17 00:00:00 2001 From: "ci.datadog-api-spec" Date: Tue, 21 Jul 2026 15:59:00 +0000 Subject: [PATCH] Regenerate client from commit a590106 of spec repo --- .generator/schemas/v2/openapi.yaml | 129 ---- .../UpdateCustomAttributeConfig.java | 1 - .../case-management-type/UpdateCaseType.java | 1 - .../v2/case-management/AddCaseInsights.java | 1 - .../v2/case-management/AggregateCases.java | 1 - .../v2/case-management/BulkUpdateCases.java | 1 - examples/v2/case-management/CountCases.java | 1 - .../CreateCaseAutomationRule.java | 1 - .../case-management/CreateCaseJiraIssue.java | 1 - .../v2/case-management/CreateCaseLink.java | 1 - .../case-management/CreateCaseNotebook.java | 1 - .../CreateCaseServiceNowTicket.java | 1 - .../v2/case-management/CreateCaseView.java | 1 - .../CreateMaintenanceWindow.java | 1 - .../DeleteCaseAutomationRule.java | 1 - .../v2/case-management/DeleteCaseLink.java | 1 - .../v2/case-management/DeleteCaseView.java | 1 - .../DeleteMaintenanceWindow.java | 1 - .../DisableCaseAutomationRule.java | 1 - .../EnableCaseAutomationRule.java | 1 - .../case-management/FavoriteCaseProject.java | 1 - .../GetCaseAutomationRule.java | 1 - examples/v2/case-management/GetCaseView.java | 1 - examples/v2/case-management/LinkIncident.java | 1 - .../case-management/LinkJiraIssueToCase.java | 1 - .../ListCaseAutomationRules.java | 1 - .../v2/case-management/ListCaseLinks.java | 1 - .../v2/case-management/ListCaseTimeline.java | 1 - .../v2/case-management/ListCaseViews.java | 1 - .../v2/case-management/ListCaseWatchers.java | 1 - .../ListMaintenanceWindows.java | 1 - .../ListUserCaseProjectFavorites.java | 1 - .../v2/case-management/MoveCaseToProject.java | 1 - .../case-management/RemoveCaseInsights.java | 1 - .../UnfavoriteCaseProject.java | 1 - .../v2/case-management/UnlinkJiraIssue.java | 1 - examples/v2/case-management/UnwatchCase.java | 1 - .../UpdateCaseAutomationRule.java | 1 - .../v2/case-management/UpdateCaseComment.java | 1 - .../v2/case-management/UpdateCaseDueDate.java | 1 - .../UpdateCaseResolvedReason.java | 1 - .../v2/case-management/UpdateCaseView.java | 1 - .../UpdateMaintenanceWindow.java | 1 - examples/v2/case-management/WatchCase.java | 1 - .../com/datadog/api/client/ApiClient.java | 43 -- .../api/client/v2/api/CaseManagementApi.java | 697 ------------------ .../v2/api/CaseManagementAttributeApi.java | 18 - .../client/v2/api/CaseManagementTypeApi.java | 17 - .../api/client/v2/api/case_management.feature | 369 ++++------ .../v2/api/case_management_attribute.feature | 9 +- .../v2/api/case_management_type.feature | 9 +- 51 files changed, 129 insertions(+), 1205 deletions(-) diff --git a/.generator/schemas/v2/openapi.yaml b/.generator/schemas/v2/openapi.yaml index bed8d511840..590f5d3c1ff 100644 --- a/.generator/schemas/v2/openapi.yaml +++ b/.generator/schemas/v2/openapi.yaml @@ -121702,9 +121702,6 @@ paths: summary: Aggregate cases tags: - Case Management - x-unstable: |- - **Note**: This endpoint is in preview and is subject to change. - If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/). /api/v2/cases/bulk: post: description: Applies a single action (such as changing priority, status, assignment, or archiving) to multiple cases at once. The list of case IDs and the action type with its payload are specified in the request body. @@ -121749,9 +121746,6 @@ paths: summary: Bulk update cases tags: - Case Management - x-unstable: |- - **Note**: This endpoint is in preview and is subject to change. - If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/). /api/v2/cases/count: get: description: Returns case counts, optionally grouped by one or more fields (for example, status, priority). Supports a query filter to narrow the scope. @@ -121814,9 +121808,6 @@ paths: summary: Count cases tags: - Case Management - x-unstable: |- - **Note**: This endpoint is in preview and is subject to change. - If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/). /api/v2/cases/link: get: description: Returns all links associated with a case. Links define relationships (for example, BLOCKS) between cases. Requires entity_type and entity_id query parameters. @@ -121880,9 +121871,6 @@ paths: summary: List case links tags: - Case Management - x-unstable: |- - **Note**: This endpoint is in preview and is subject to change. - If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/). post: description: Creates a directional link between two cases (for example, case A blocks case B). The parent and child cases and their relationship type must be specified. operationId: CreateCaseLink @@ -121941,9 +121929,6 @@ paths: summary: Create a case link tags: - Case Management - x-unstable: |- - **Note**: This endpoint is in preview and is subject to change. - If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/). /api/v2/cases/link/{link_id}: delete: description: Deletes an existing link between cases by link ID. @@ -121971,9 +121956,6 @@ paths: summary: Delete a case link tags: - Case Management - x-unstable: |- - **Note**: This endpoint is in preview and is subject to change. - If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/). /api/v2/cases/projects: get: description: >- @@ -122100,9 +122082,6 @@ paths: summary: List project favorites tags: - Case Management - x-unstable: |- - **Note**: This endpoint is in preview and is subject to change. - If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/). /api/v2/cases/projects/{project_id}: delete: description: Remove a project using the project's `id`. @@ -122249,9 +122228,6 @@ paths: summary: Unfavorite a project tags: - Case Management - x-unstable: |- - **Note**: This endpoint is in preview and is subject to change. - If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/). post: description: Marks a case project as a favorite for the current authenticated user. operationId: FavoriteCaseProject @@ -122278,9 +122254,6 @@ paths: summary: Favorite a project tags: - Case Management - x-unstable: |- - **Note**: This endpoint is in preview and is subject to change. - If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/). /api/v2/cases/projects/{project_id}/notification_rules: get: description: >- @@ -122542,9 +122515,6 @@ paths: summary: List automation rules tags: - Case Management - x-unstable: |- - **Note**: This endpoint is in preview and is subject to change. - If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/). post: description: Creates an automation rule for a project. The rule defines a trigger event (for example, case created, status transitioned) and an action to execute. operationId: CreateCaseAutomationRule @@ -122618,9 +122588,6 @@ paths: summary: Create an automation rule tags: - Case Management - x-unstable: |- - **Note**: This endpoint is in preview and is subject to change. - If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/). /api/v2/cases/projects/{project_id}/rules/{rule_id}: delete: description: Permanently deletes an automation rule from a project. @@ -122651,9 +122618,6 @@ paths: summary: Delete an automation rule tags: - Case Management - x-unstable: |- - **Note**: This endpoint is in preview and is subject to change. - If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/). get: description: Returns a single automation rule identified by its UUID, including its trigger, action, and current state (enabled/disabled). operationId: GetCaseAutomationRule @@ -122707,9 +122671,6 @@ paths: summary: Get an automation rule tags: - Case Management - x-unstable: |- - **Note**: This endpoint is in preview and is subject to change. - If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/). put: description: Updates the trigger, action, name, or state of an existing automation rule. operationId: UpdateCaseAutomationRule @@ -122784,9 +122745,6 @@ paths: summary: Update an automation rule tags: - Case Management - x-unstable: |- - **Note**: This endpoint is in preview and is subject to change. - If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/). /api/v2/cases/projects/{project_id}/rules/{rule_id}/disable: post: description: Disables an automation rule so it no longer triggers on case events. The rule configuration is preserved. @@ -122841,9 +122799,6 @@ paths: summary: Disable an automation rule tags: - Case Management - x-unstable: |- - **Note**: This endpoint is in preview and is subject to change. - If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/). /api/v2/cases/projects/{project_id}/rules/{rule_id}/enable: post: description: Enables a previously disabled automation rule so it triggers on matching case events. @@ -122898,9 +122853,6 @@ paths: summary: Enable an automation rule tags: - Case Management - x-unstable: |- - **Note**: This endpoint is in preview and is subject to change. - If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/). /api/v2/cases/types: get: description: Get all case types @@ -123085,9 +123037,6 @@ paths: summary: Update a case type tags: - Case Management Type - x-unstable: |- - **Note**: This endpoint is in preview and is subject to change. - If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/). /api/v2/cases/types/{case_type_id}/custom_attributes: get: description: Get all custom attribute config of case type @@ -123261,9 +123210,6 @@ paths: summary: Update custom attribute config tags: - Case Management Attribute - x-unstable: |- - **Note**: This endpoint is in preview and is subject to change. - If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/). /api/v2/cases/views: get: description: Returns all saved case views for a given project. Views are saved search queries that allow quick access to filtered lists of cases. @@ -123311,9 +123257,6 @@ paths: summary: List case views tags: - Case Management - x-unstable: |- - **Note**: This endpoint is in preview and is subject to change. - If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/). post: description: Creates a new saved case view with a name, filter query, and associated project. Optionally, a notification rule can be linked to the view. operationId: CreateCaseView @@ -123368,9 +123311,6 @@ paths: summary: Create a case view tags: - Case Management - x-unstable: |- - **Note**: This endpoint is in preview and is subject to change. - If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/). /api/v2/cases/views/{view_id}: delete: description: Permanently deletes a saved case view. @@ -123398,9 +123338,6 @@ paths: summary: Delete a case view tags: - Case Management - x-unstable: |- - **Note**: This endpoint is in preview and is subject to change. - If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/). get: description: Returns a single saved case view identified by its UUID, including its query, associated project, and timestamps. operationId: GetCaseView @@ -123441,9 +123378,6 @@ paths: summary: Get a case view tags: - Case Management - x-unstable: |- - **Note**: This endpoint is in preview and is subject to change. - If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/). put: description: Updates the name, query, or notification rule of an existing case view. operationId: UpdateCaseView @@ -123498,9 +123432,6 @@ paths: summary: Update a case view tags: - Case Management - x-unstable: |- - **Note**: This endpoint is in preview and is subject to change. - If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/). /api/v2/cases/{case_id}: get: description: >- @@ -123860,9 +123791,6 @@ paths: summary: Update case comment tags: - Case Management - x-unstable: |- - **Note**: This endpoint is in preview and is subject to change. - If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/). /api/v2/cases/{case_id}/custom_attributes/{custom_attribute_key}: delete: description: Delete custom attribute from case @@ -124102,9 +124030,6 @@ paths: summary: Update case due date tags: - Case Management - x-unstable: |- - **Note**: This endpoint is in preview and is subject to change. - If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/). /api/v2/cases/{case_id}/insights: delete: description: Removes one or more previously added insights from a case by specifying their type and resource identifier in the request body. @@ -124187,9 +124112,6 @@ paths: summary: Remove insights from a case tags: - Case Management - x-unstable: |- - **Note**: This endpoint is in preview and is subject to change. - If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/). put: description: >- Adds one or more insights to a case. Insights are references to related Datadog resources (such as monitors, security signals, incidents, or error tracking issues) that provide investigative context. Up to 100 insights can be added per request. Each insight requires a type (see `CaseInsightType` for allowed values), a ref (URL path to the resource), and a resource_id. @@ -124272,9 +124194,6 @@ paths: summary: Add insights to a case tags: - Case Management - x-unstable: |- - **Note**: This endpoint is in preview and is subject to change. - If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/). /api/v2/cases/{case_id}/priority: post: description: Update case priority @@ -124409,9 +124328,6 @@ paths: summary: Link incident to case tags: - Case Management - x-unstable: |- - **Note**: This endpoint is in preview and is subject to change. - If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/). /api/v2/cases/{case_id}/relationships/jira_issues: delete: description: Remove the link between a Jira issue and a case @@ -124455,9 +124371,6 @@ paths: summary: Remove Jira issue link from case tags: - Case Management - x-unstable: |- - **Note**: This endpoint is in preview and is subject to change. - If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/). patch: description: Link an existing Jira issue to a case operationId: LinkJiraIssueToCase @@ -124520,9 +124433,6 @@ paths: summary: Link existing Jira issue to case tags: - Case Management - x-unstable: |- - **Note**: This endpoint is in preview and is subject to change. - If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/). post: description: Create a new Jira issue and link it to a case operationId: CreateCaseJiraIssue @@ -124582,9 +124492,6 @@ paths: summary: Create Jira issue for case tags: - Case Management - x-unstable: |- - **Note**: This endpoint is in preview and is subject to change. - If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/). /api/v2/cases/{case_id}/relationships/notebook: post: description: Create a new investigation notebook and link it to a case @@ -124640,9 +124547,6 @@ paths: summary: Create investigation notebook for case tags: - Case Management - x-unstable: |- - **Note**: This endpoint is in preview and is subject to change. - If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/). /api/v2/cases/{case_id}/relationships/project: patch: description: Update the project associated with a case @@ -124714,9 +124618,6 @@ paths: summary: Update case project tags: - Case Management - x-unstable: |- - **Note**: This endpoint is in preview and is subject to change. - If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/). /api/v2/cases/{case_id}/relationships/servicenow_tickets: post: description: Create a new ServiceNow incident ticket and link it to a case @@ -124775,9 +124676,6 @@ paths: summary: Create ServiceNow ticket for case tags: - Case Management - x-unstable: |- - **Note**: This endpoint is in preview and is subject to change. - If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/). /api/v2/cases/{case_id}/resolved_reason: post: description: Sets the resolved reason for a security case (for example, FALSE_POSITIVE, TRUE_POSITIVE). Applicable to security-type cases. @@ -124841,9 +124739,6 @@ paths: summary: Update case resolved reason tags: - Case Management - x-unstable: |- - **Note**: This endpoint is in preview and is subject to change. - If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/). /api/v2/cases/{case_id}/status: post: description: Update case status @@ -124973,9 +124868,6 @@ paths: summary: Get case timeline tags: - Case Management - x-unstable: |- - **Note**: This endpoint is in preview and is subject to change. - If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/). /api/v2/cases/{case_id}/title: post: description: Update case title @@ -125203,9 +125095,6 @@ paths: summary: List case watchers tags: - Case Management - x-unstable: |- - **Note**: This endpoint is in preview and is subject to change. - If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/). /api/v2/cases/{case_id}/watchers/{user_uuid}: delete: description: Removes a user from the watchers list of a case. The user no longer receives notifications about updates to the case. @@ -125234,9 +125123,6 @@ paths: summary: Unwatch a case tags: - Case Management - x-unstable: |- - **Note**: This endpoint is in preview and is subject to change. - If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/). post: description: Adds a user (identified by their UUID) as a watcher of a case. The user receives notifications about subsequent updates to the case. operationId: WatchCase @@ -125264,9 +125150,6 @@ paths: summary: Watch a case tags: - Case Management - x-unstable: |- - **Note**: This endpoint is in preview and is subject to change. - If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/). /api/v2/catalog/entity: get: description: Get a list of entities from Software Catalog. @@ -158333,9 +158216,6 @@ paths: summary: List maintenance windows tags: - Case Management - x-unstable: |- - **Note**: This endpoint is in preview and is subject to change. - If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/). post: description: Creates a maintenance window for event management cases with a name, case filter query, and time range (start and end). operationId: CreateMaintenanceWindow @@ -158392,9 +158272,6 @@ paths: summary: Create a maintenance window tags: - Case Management - x-unstable: |- - **Note**: This endpoint is in preview and is subject to change. - If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/). /api/v2/maintenance_windows/{maintenance_window_id}: delete: description: Permanently deletes a maintenance window. @@ -158422,9 +158299,6 @@ paths: summary: Delete a maintenance window tags: - Case Management - x-unstable: |- - **Note**: This endpoint is in preview and is subject to change. - If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/). put: description: Updates the name, query, start time, or end time of an existing maintenance window. operationId: UpdateMaintenanceWindow @@ -158483,9 +158357,6 @@ paths: summary: Update a maintenance window tags: - Case Management - x-unstable: |- - **Note**: This endpoint is in preview and is subject to change. - If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/). /api/v2/metrics: get: description: |- diff --git a/examples/v2/case-management-attribute/UpdateCustomAttributeConfig.java b/examples/v2/case-management-attribute/UpdateCustomAttributeConfig.java index d7e1ec64014..cac97d1c3e5 100644 --- a/examples/v2/case-management-attribute/UpdateCustomAttributeConfig.java +++ b/examples/v2/case-management-attribute/UpdateCustomAttributeConfig.java @@ -16,7 +16,6 @@ public class Example { public static void main(String[] args) { ApiClient defaultClient = ApiClient.getDefaultApiClient(); - defaultClient.setUnstableOperationEnabled("v2.updateCustomAttributeConfig", true); CaseManagementAttributeApi apiInstance = new CaseManagementAttributeApi(defaultClient); CustomAttributeConfigUpdateRequest body = diff --git a/examples/v2/case-management-type/UpdateCaseType.java b/examples/v2/case-management-type/UpdateCaseType.java index cc15dbfd441..6609b10f2e1 100644 --- a/examples/v2/case-management-type/UpdateCaseType.java +++ b/examples/v2/case-management-type/UpdateCaseType.java @@ -12,7 +12,6 @@ public class Example { public static void main(String[] args) { ApiClient defaultClient = ApiClient.getDefaultApiClient(); - defaultClient.setUnstableOperationEnabled("v2.updateCaseType", true); CaseManagementTypeApi apiInstance = new CaseManagementTypeApi(defaultClient); CaseTypeUpdateRequest body = diff --git a/examples/v2/case-management/AddCaseInsights.java b/examples/v2/case-management/AddCaseInsights.java index e6f26f68176..803daeb084b 100644 --- a/examples/v2/case-management/AddCaseInsights.java +++ b/examples/v2/case-management/AddCaseInsights.java @@ -15,7 +15,6 @@ public class Example { public static void main(String[] args) { ApiClient defaultClient = ApiClient.getDefaultApiClient(); - defaultClient.setUnstableOperationEnabled("v2.addCaseInsights", true); CaseManagementApi apiInstance = new CaseManagementApi(defaultClient); CaseInsightsRequest body = diff --git a/examples/v2/case-management/AggregateCases.java b/examples/v2/case-management/AggregateCases.java index 0836c865807..11b99a67fb1 100644 --- a/examples/v2/case-management/AggregateCases.java +++ b/examples/v2/case-management/AggregateCases.java @@ -14,7 +14,6 @@ public class Example { public static void main(String[] args) { ApiClient defaultClient = ApiClient.getDefaultApiClient(); - defaultClient.setUnstableOperationEnabled("v2.aggregateCases", true); CaseManagementApi apiInstance = new CaseManagementApi(defaultClient); CaseAggregateRequest body = diff --git a/examples/v2/case-management/BulkUpdateCases.java b/examples/v2/case-management/BulkUpdateCases.java index c034b632d94..a43580c9e73 100644 --- a/examples/v2/case-management/BulkUpdateCases.java +++ b/examples/v2/case-management/BulkUpdateCases.java @@ -14,7 +14,6 @@ public class Example { public static void main(String[] args) { ApiClient defaultClient = ApiClient.getDefaultApiClient(); - defaultClient.setUnstableOperationEnabled("v2.bulkUpdateCases", true); CaseManagementApi apiInstance = new CaseManagementApi(defaultClient); CaseBulkUpdateRequest body = diff --git a/examples/v2/case-management/CountCases.java b/examples/v2/case-management/CountCases.java index 70e1bdd3993..b5426c9d52d 100644 --- a/examples/v2/case-management/CountCases.java +++ b/examples/v2/case-management/CountCases.java @@ -8,7 +8,6 @@ public class Example { public static void main(String[] args) { ApiClient defaultClient = ApiClient.getDefaultApiClient(); - defaultClient.setUnstableOperationEnabled("v2.countCases", true); CaseManagementApi apiInstance = new CaseManagementApi(defaultClient); try { diff --git a/examples/v2/case-management/CreateCaseAutomationRule.java b/examples/v2/case-management/CreateCaseAutomationRule.java index 53a056fc923..af697cafcc6 100644 --- a/examples/v2/case-management/CreateCaseAutomationRule.java +++ b/examples/v2/case-management/CreateCaseAutomationRule.java @@ -19,7 +19,6 @@ public class Example { public static void main(String[] args) { ApiClient defaultClient = ApiClient.getDefaultApiClient(); - defaultClient.setUnstableOperationEnabled("v2.createCaseAutomationRule", true); CaseManagementApi apiInstance = new CaseManagementApi(defaultClient); AutomationRuleCreateRequest body = diff --git a/examples/v2/case-management/CreateCaseJiraIssue.java b/examples/v2/case-management/CreateCaseJiraIssue.java index bf7d1c30d91..ed19fe60319 100644 --- a/examples/v2/case-management/CreateCaseJiraIssue.java +++ b/examples/v2/case-management/CreateCaseJiraIssue.java @@ -12,7 +12,6 @@ public class Example { public static void main(String[] args) { ApiClient defaultClient = ApiClient.getDefaultApiClient(); - defaultClient.setUnstableOperationEnabled("v2.createCaseJiraIssue", true); CaseManagementApi apiInstance = new CaseManagementApi(defaultClient); JiraIssueCreateRequest body = diff --git a/examples/v2/case-management/CreateCaseLink.java b/examples/v2/case-management/CreateCaseLink.java index b4962577b96..bc7aeb6daae 100644 --- a/examples/v2/case-management/CreateCaseLink.java +++ b/examples/v2/case-management/CreateCaseLink.java @@ -12,7 +12,6 @@ public class Example { public static void main(String[] args) { ApiClient defaultClient = ApiClient.getDefaultApiClient(); - defaultClient.setUnstableOperationEnabled("v2.createCaseLink", true); CaseManagementApi apiInstance = new CaseManagementApi(defaultClient); CaseLinkCreateRequest body = diff --git a/examples/v2/case-management/CreateCaseNotebook.java b/examples/v2/case-management/CreateCaseNotebook.java index 694c812116e..80ad917a218 100644 --- a/examples/v2/case-management/CreateCaseNotebook.java +++ b/examples/v2/case-management/CreateCaseNotebook.java @@ -10,7 +10,6 @@ public class Example { public static void main(String[] args) { ApiClient defaultClient = ApiClient.getDefaultApiClient(); - defaultClient.setUnstableOperationEnabled("v2.createCaseNotebook", true); CaseManagementApi apiInstance = new CaseManagementApi(defaultClient); NotebookCreateRequest body = diff --git a/examples/v2/case-management/CreateCaseServiceNowTicket.java b/examples/v2/case-management/CreateCaseServiceNowTicket.java index 905163f0c32..0546225e4de 100644 --- a/examples/v2/case-management/CreateCaseServiceNowTicket.java +++ b/examples/v2/case-management/CreateCaseServiceNowTicket.java @@ -11,7 +11,6 @@ public class Example { public static void main(String[] args) { ApiClient defaultClient = ApiClient.getDefaultApiClient(); - defaultClient.setUnstableOperationEnabled("v2.createCaseServiceNowTicket", true); CaseManagementApi apiInstance = new CaseManagementApi(defaultClient); ServiceNowTicketCreateRequest body = diff --git a/examples/v2/case-management/CreateCaseView.java b/examples/v2/case-management/CreateCaseView.java index 0634693048e..dbca1260187 100644 --- a/examples/v2/case-management/CreateCaseView.java +++ b/examples/v2/case-management/CreateCaseView.java @@ -12,7 +12,6 @@ public class Example { public static void main(String[] args) { ApiClient defaultClient = ApiClient.getDefaultApiClient(); - defaultClient.setUnstableOperationEnabled("v2.createCaseView", true); CaseManagementApi apiInstance = new CaseManagementApi(defaultClient); CaseViewCreateRequest body = diff --git a/examples/v2/case-management/CreateMaintenanceWindow.java b/examples/v2/case-management/CreateMaintenanceWindow.java index acbc98018f7..90f23ea422a 100644 --- a/examples/v2/case-management/CreateMaintenanceWindow.java +++ b/examples/v2/case-management/CreateMaintenanceWindow.java @@ -13,7 +13,6 @@ public class Example { public static void main(String[] args) { ApiClient defaultClient = ApiClient.getDefaultApiClient(); - defaultClient.setUnstableOperationEnabled("v2.createMaintenanceWindow", true); CaseManagementApi apiInstance = new CaseManagementApi(defaultClient); MaintenanceWindowCreateRequest body = diff --git a/examples/v2/case-management/DeleteCaseAutomationRule.java b/examples/v2/case-management/DeleteCaseAutomationRule.java index d461dd331e2..f46a91f46ca 100644 --- a/examples/v2/case-management/DeleteCaseAutomationRule.java +++ b/examples/v2/case-management/DeleteCaseAutomationRule.java @@ -7,7 +7,6 @@ public class Example { public static void main(String[] args) { ApiClient defaultClient = ApiClient.getDefaultApiClient(); - defaultClient.setUnstableOperationEnabled("v2.deleteCaseAutomationRule", true); CaseManagementApi apiInstance = new CaseManagementApi(defaultClient); try { diff --git a/examples/v2/case-management/DeleteCaseLink.java b/examples/v2/case-management/DeleteCaseLink.java index d52b14425b8..54ebfec1603 100644 --- a/examples/v2/case-management/DeleteCaseLink.java +++ b/examples/v2/case-management/DeleteCaseLink.java @@ -7,7 +7,6 @@ public class Example { public static void main(String[] args) { ApiClient defaultClient = ApiClient.getDefaultApiClient(); - defaultClient.setUnstableOperationEnabled("v2.deleteCaseLink", true); CaseManagementApi apiInstance = new CaseManagementApi(defaultClient); try { diff --git a/examples/v2/case-management/DeleteCaseView.java b/examples/v2/case-management/DeleteCaseView.java index ed7b96c8d94..a327e90d690 100644 --- a/examples/v2/case-management/DeleteCaseView.java +++ b/examples/v2/case-management/DeleteCaseView.java @@ -7,7 +7,6 @@ public class Example { public static void main(String[] args) { ApiClient defaultClient = ApiClient.getDefaultApiClient(); - defaultClient.setUnstableOperationEnabled("v2.deleteCaseView", true); CaseManagementApi apiInstance = new CaseManagementApi(defaultClient); try { diff --git a/examples/v2/case-management/DeleteMaintenanceWindow.java b/examples/v2/case-management/DeleteMaintenanceWindow.java index 6de1957ba4d..3f0b8c6d40f 100644 --- a/examples/v2/case-management/DeleteMaintenanceWindow.java +++ b/examples/v2/case-management/DeleteMaintenanceWindow.java @@ -7,7 +7,6 @@ public class Example { public static void main(String[] args) { ApiClient defaultClient = ApiClient.getDefaultApiClient(); - defaultClient.setUnstableOperationEnabled("v2.deleteMaintenanceWindow", true); CaseManagementApi apiInstance = new CaseManagementApi(defaultClient); try { diff --git a/examples/v2/case-management/DisableCaseAutomationRule.java b/examples/v2/case-management/DisableCaseAutomationRule.java index 0351e61689c..e4c793d7d61 100644 --- a/examples/v2/case-management/DisableCaseAutomationRule.java +++ b/examples/v2/case-management/DisableCaseAutomationRule.java @@ -8,7 +8,6 @@ public class Example { public static void main(String[] args) { ApiClient defaultClient = ApiClient.getDefaultApiClient(); - defaultClient.setUnstableOperationEnabled("v2.disableCaseAutomationRule", true); CaseManagementApi apiInstance = new CaseManagementApi(defaultClient); try { diff --git a/examples/v2/case-management/EnableCaseAutomationRule.java b/examples/v2/case-management/EnableCaseAutomationRule.java index 7ebdf811e41..2e45cbc683e 100644 --- a/examples/v2/case-management/EnableCaseAutomationRule.java +++ b/examples/v2/case-management/EnableCaseAutomationRule.java @@ -8,7 +8,6 @@ public class Example { public static void main(String[] args) { ApiClient defaultClient = ApiClient.getDefaultApiClient(); - defaultClient.setUnstableOperationEnabled("v2.enableCaseAutomationRule", true); CaseManagementApi apiInstance = new CaseManagementApi(defaultClient); try { diff --git a/examples/v2/case-management/FavoriteCaseProject.java b/examples/v2/case-management/FavoriteCaseProject.java index d698738a437..3cdd8118fd3 100644 --- a/examples/v2/case-management/FavoriteCaseProject.java +++ b/examples/v2/case-management/FavoriteCaseProject.java @@ -7,7 +7,6 @@ public class Example { public static void main(String[] args) { ApiClient defaultClient = ApiClient.getDefaultApiClient(); - defaultClient.setUnstableOperationEnabled("v2.favoriteCaseProject", true); CaseManagementApi apiInstance = new CaseManagementApi(defaultClient); try { diff --git a/examples/v2/case-management/GetCaseAutomationRule.java b/examples/v2/case-management/GetCaseAutomationRule.java index 1c4481ff635..9100ce1e33a 100644 --- a/examples/v2/case-management/GetCaseAutomationRule.java +++ b/examples/v2/case-management/GetCaseAutomationRule.java @@ -8,7 +8,6 @@ public class Example { public static void main(String[] args) { ApiClient defaultClient = ApiClient.getDefaultApiClient(); - defaultClient.setUnstableOperationEnabled("v2.getCaseAutomationRule", true); CaseManagementApi apiInstance = new CaseManagementApi(defaultClient); try { diff --git a/examples/v2/case-management/GetCaseView.java b/examples/v2/case-management/GetCaseView.java index ba4f81d56ae..82fbfc9b7de 100644 --- a/examples/v2/case-management/GetCaseView.java +++ b/examples/v2/case-management/GetCaseView.java @@ -8,7 +8,6 @@ public class Example { public static void main(String[] args) { ApiClient defaultClient = ApiClient.getDefaultApiClient(); - defaultClient.setUnstableOperationEnabled("v2.getCaseView", true); CaseManagementApi apiInstance = new CaseManagementApi(defaultClient); try { diff --git a/examples/v2/case-management/LinkIncident.java b/examples/v2/case-management/LinkIncident.java index 3e50c4ed999..a544896dc59 100644 --- a/examples/v2/case-management/LinkIncident.java +++ b/examples/v2/case-management/LinkIncident.java @@ -11,7 +11,6 @@ public class Example { public static void main(String[] args) { ApiClient defaultClient = ApiClient.getDefaultApiClient(); - defaultClient.setUnstableOperationEnabled("v2.linkIncident", true); CaseManagementApi apiInstance = new CaseManagementApi(defaultClient); RelationshipToIncidentRequest body = diff --git a/examples/v2/case-management/LinkJiraIssueToCase.java b/examples/v2/case-management/LinkJiraIssueToCase.java index 5f543fe8262..e60b96eaca7 100644 --- a/examples/v2/case-management/LinkJiraIssueToCase.java +++ b/examples/v2/case-management/LinkJiraIssueToCase.java @@ -11,7 +11,6 @@ public class Example { public static void main(String[] args) { ApiClient defaultClient = ApiClient.getDefaultApiClient(); - defaultClient.setUnstableOperationEnabled("v2.linkJiraIssueToCase", true); CaseManagementApi apiInstance = new CaseManagementApi(defaultClient); JiraIssueLinkRequest body = diff --git a/examples/v2/case-management/ListCaseAutomationRules.java b/examples/v2/case-management/ListCaseAutomationRules.java index 4865bb58de4..2eeb1b0bb40 100644 --- a/examples/v2/case-management/ListCaseAutomationRules.java +++ b/examples/v2/case-management/ListCaseAutomationRules.java @@ -8,7 +8,6 @@ public class Example { public static void main(String[] args) { ApiClient defaultClient = ApiClient.getDefaultApiClient(); - defaultClient.setUnstableOperationEnabled("v2.listCaseAutomationRules", true); CaseManagementApi apiInstance = new CaseManagementApi(defaultClient); try { diff --git a/examples/v2/case-management/ListCaseLinks.java b/examples/v2/case-management/ListCaseLinks.java index aaa6842a5a2..ac9cebae471 100644 --- a/examples/v2/case-management/ListCaseLinks.java +++ b/examples/v2/case-management/ListCaseLinks.java @@ -8,7 +8,6 @@ public class Example { public static void main(String[] args) { ApiClient defaultClient = ApiClient.getDefaultApiClient(); - defaultClient.setUnstableOperationEnabled("v2.listCaseLinks", true); CaseManagementApi apiInstance = new CaseManagementApi(defaultClient); try { diff --git a/examples/v2/case-management/ListCaseTimeline.java b/examples/v2/case-management/ListCaseTimeline.java index e8b61beaef5..78e0eb31857 100644 --- a/examples/v2/case-management/ListCaseTimeline.java +++ b/examples/v2/case-management/ListCaseTimeline.java @@ -8,7 +8,6 @@ public class Example { public static void main(String[] args) { ApiClient defaultClient = ApiClient.getDefaultApiClient(); - defaultClient.setUnstableOperationEnabled("v2.listCaseTimeline", true); CaseManagementApi apiInstance = new CaseManagementApi(defaultClient); try { diff --git a/examples/v2/case-management/ListCaseViews.java b/examples/v2/case-management/ListCaseViews.java index 5a6a57c6ec1..7fc76210a62 100644 --- a/examples/v2/case-management/ListCaseViews.java +++ b/examples/v2/case-management/ListCaseViews.java @@ -8,7 +8,6 @@ public class Example { public static void main(String[] args) { ApiClient defaultClient = ApiClient.getDefaultApiClient(); - defaultClient.setUnstableOperationEnabled("v2.listCaseViews", true); CaseManagementApi apiInstance = new CaseManagementApi(defaultClient); try { diff --git a/examples/v2/case-management/ListCaseWatchers.java b/examples/v2/case-management/ListCaseWatchers.java index 56716c7da57..f210d98efe0 100644 --- a/examples/v2/case-management/ListCaseWatchers.java +++ b/examples/v2/case-management/ListCaseWatchers.java @@ -8,7 +8,6 @@ public class Example { public static void main(String[] args) { ApiClient defaultClient = ApiClient.getDefaultApiClient(); - defaultClient.setUnstableOperationEnabled("v2.listCaseWatchers", true); CaseManagementApi apiInstance = new CaseManagementApi(defaultClient); try { diff --git a/examples/v2/case-management/ListMaintenanceWindows.java b/examples/v2/case-management/ListMaintenanceWindows.java index 816a250f3dc..81211272b9e 100644 --- a/examples/v2/case-management/ListMaintenanceWindows.java +++ b/examples/v2/case-management/ListMaintenanceWindows.java @@ -8,7 +8,6 @@ public class Example { public static void main(String[] args) { ApiClient defaultClient = ApiClient.getDefaultApiClient(); - defaultClient.setUnstableOperationEnabled("v2.listMaintenanceWindows", true); CaseManagementApi apiInstance = new CaseManagementApi(defaultClient); try { diff --git a/examples/v2/case-management/ListUserCaseProjectFavorites.java b/examples/v2/case-management/ListUserCaseProjectFavorites.java index 801a3cc6bcd..3ca8c443dbe 100644 --- a/examples/v2/case-management/ListUserCaseProjectFavorites.java +++ b/examples/v2/case-management/ListUserCaseProjectFavorites.java @@ -8,7 +8,6 @@ public class Example { public static void main(String[] args) { ApiClient defaultClient = ApiClient.getDefaultApiClient(); - defaultClient.setUnstableOperationEnabled("v2.listUserCaseProjectFavorites", true); CaseManagementApi apiInstance = new CaseManagementApi(defaultClient); try { diff --git a/examples/v2/case-management/MoveCaseToProject.java b/examples/v2/case-management/MoveCaseToProject.java index 007cc613800..948c1ab8236 100644 --- a/examples/v2/case-management/MoveCaseToProject.java +++ b/examples/v2/case-management/MoveCaseToProject.java @@ -11,7 +11,6 @@ public class Example { public static void main(String[] args) { ApiClient defaultClient = ApiClient.getDefaultApiClient(); - defaultClient.setUnstableOperationEnabled("v2.moveCaseToProject", true); CaseManagementApi apiInstance = new CaseManagementApi(defaultClient); ProjectRelationship body = diff --git a/examples/v2/case-management/RemoveCaseInsights.java b/examples/v2/case-management/RemoveCaseInsights.java index d0e6fb7ebfb..221ef3f4451 100644 --- a/examples/v2/case-management/RemoveCaseInsights.java +++ b/examples/v2/case-management/RemoveCaseInsights.java @@ -15,7 +15,6 @@ public class Example { public static void main(String[] args) { ApiClient defaultClient = ApiClient.getDefaultApiClient(); - defaultClient.setUnstableOperationEnabled("v2.removeCaseInsights", true); CaseManagementApi apiInstance = new CaseManagementApi(defaultClient); CaseInsightsRequest body = diff --git a/examples/v2/case-management/UnfavoriteCaseProject.java b/examples/v2/case-management/UnfavoriteCaseProject.java index 8410d476e62..6a36d989f43 100644 --- a/examples/v2/case-management/UnfavoriteCaseProject.java +++ b/examples/v2/case-management/UnfavoriteCaseProject.java @@ -7,7 +7,6 @@ public class Example { public static void main(String[] args) { ApiClient defaultClient = ApiClient.getDefaultApiClient(); - defaultClient.setUnstableOperationEnabled("v2.unfavoriteCaseProject", true); CaseManagementApi apiInstance = new CaseManagementApi(defaultClient); try { diff --git a/examples/v2/case-management/UnlinkJiraIssue.java b/examples/v2/case-management/UnlinkJiraIssue.java index 73f8d021ca6..20a68800418 100644 --- a/examples/v2/case-management/UnlinkJiraIssue.java +++ b/examples/v2/case-management/UnlinkJiraIssue.java @@ -7,7 +7,6 @@ public class Example { public static void main(String[] args) { ApiClient defaultClient = ApiClient.getDefaultApiClient(); - defaultClient.setUnstableOperationEnabled("v2.unlinkJiraIssue", true); CaseManagementApi apiInstance = new CaseManagementApi(defaultClient); try { diff --git a/examples/v2/case-management/UnwatchCase.java b/examples/v2/case-management/UnwatchCase.java index 595e61bf4d2..105002115a8 100644 --- a/examples/v2/case-management/UnwatchCase.java +++ b/examples/v2/case-management/UnwatchCase.java @@ -7,7 +7,6 @@ public class Example { public static void main(String[] args) { ApiClient defaultClient = ApiClient.getDefaultApiClient(); - defaultClient.setUnstableOperationEnabled("v2.unwatchCase", true); CaseManagementApi apiInstance = new CaseManagementApi(defaultClient); try { diff --git a/examples/v2/case-management/UpdateCaseAutomationRule.java b/examples/v2/case-management/UpdateCaseAutomationRule.java index ae790b716a5..def95552f9f 100644 --- a/examples/v2/case-management/UpdateCaseAutomationRule.java +++ b/examples/v2/case-management/UpdateCaseAutomationRule.java @@ -19,7 +19,6 @@ public class Example { public static void main(String[] args) { ApiClient defaultClient = ApiClient.getDefaultApiClient(); - defaultClient.setUnstableOperationEnabled("v2.updateCaseAutomationRule", true); CaseManagementApi apiInstance = new CaseManagementApi(defaultClient); AutomationRuleUpdateRequest body = diff --git a/examples/v2/case-management/UpdateCaseComment.java b/examples/v2/case-management/UpdateCaseComment.java index 9811185295e..38fba10337d 100644 --- a/examples/v2/case-management/UpdateCaseComment.java +++ b/examples/v2/case-management/UpdateCaseComment.java @@ -11,7 +11,6 @@ public class Example { public static void main(String[] args) { ApiClient defaultClient = ApiClient.getDefaultApiClient(); - defaultClient.setUnstableOperationEnabled("v2.updateCaseComment", true); CaseManagementApi apiInstance = new CaseManagementApi(defaultClient); CaseUpdateCommentRequest body = diff --git a/examples/v2/case-management/UpdateCaseDueDate.java b/examples/v2/case-management/UpdateCaseDueDate.java index c6d4c89ac4a..a0e413d9622 100644 --- a/examples/v2/case-management/UpdateCaseDueDate.java +++ b/examples/v2/case-management/UpdateCaseDueDate.java @@ -12,7 +12,6 @@ public class Example { public static void main(String[] args) { ApiClient defaultClient = ApiClient.getDefaultApiClient(); - defaultClient.setUnstableOperationEnabled("v2.updateCaseDueDate", true); CaseManagementApi apiInstance = new CaseManagementApi(defaultClient); CaseUpdateDueDateRequest body = diff --git a/examples/v2/case-management/UpdateCaseResolvedReason.java b/examples/v2/case-management/UpdateCaseResolvedReason.java index 8a68da05d48..b5c02d7a66f 100644 --- a/examples/v2/case-management/UpdateCaseResolvedReason.java +++ b/examples/v2/case-management/UpdateCaseResolvedReason.java @@ -12,7 +12,6 @@ public class Example { public static void main(String[] args) { ApiClient defaultClient = ApiClient.getDefaultApiClient(); - defaultClient.setUnstableOperationEnabled("v2.updateCaseResolvedReason", true); CaseManagementApi apiInstance = new CaseManagementApi(defaultClient); CaseUpdateResolvedReasonRequest body = diff --git a/examples/v2/case-management/UpdateCaseView.java b/examples/v2/case-management/UpdateCaseView.java index 7fd99f732a3..36370378f57 100644 --- a/examples/v2/case-management/UpdateCaseView.java +++ b/examples/v2/case-management/UpdateCaseView.java @@ -12,7 +12,6 @@ public class Example { public static void main(String[] args) { ApiClient defaultClient = ApiClient.getDefaultApiClient(); - defaultClient.setUnstableOperationEnabled("v2.updateCaseView", true); CaseManagementApi apiInstance = new CaseManagementApi(defaultClient); CaseViewUpdateRequest body = diff --git a/examples/v2/case-management/UpdateMaintenanceWindow.java b/examples/v2/case-management/UpdateMaintenanceWindow.java index 5f1034c4a0d..23bc5ec861c 100644 --- a/examples/v2/case-management/UpdateMaintenanceWindow.java +++ b/examples/v2/case-management/UpdateMaintenanceWindow.java @@ -12,7 +12,6 @@ public class Example { public static void main(String[] args) { ApiClient defaultClient = ApiClient.getDefaultApiClient(); - defaultClient.setUnstableOperationEnabled("v2.updateMaintenanceWindow", true); CaseManagementApi apiInstance = new CaseManagementApi(defaultClient); MaintenanceWindowUpdateRequest body = diff --git a/examples/v2/case-management/WatchCase.java b/examples/v2/case-management/WatchCase.java index 571b44a8d1c..ae186f2fdca 100644 --- a/examples/v2/case-management/WatchCase.java +++ b/examples/v2/case-management/WatchCase.java @@ -7,7 +7,6 @@ public class Example { public static void main(String[] args) { ApiClient defaultClient = ApiClient.getDefaultApiClient(); - defaultClient.setUnstableOperationEnabled("v2.watchCase", true); CaseManagementApi apiInstance = new CaseManagementApi(defaultClient); try { diff --git a/src/main/java/com/datadog/api/client/ApiClient.java b/src/main/java/com/datadog/api/client/ApiClient.java index 9fd471682c3..2ca371ff1d4 100644 --- a/src/main/java/com/datadog/api/client/ApiClient.java +++ b/src/main/java/com/datadog/api/client/ApiClient.java @@ -864,49 +864,6 @@ public class ApiClient { put("v2.getInvestigation", false); put("v2.listInvestigations", false); put("v2.triggerInvestigation", false); - put("v2.addCaseInsights", false); - put("v2.aggregateCases", false); - put("v2.bulkUpdateCases", false); - put("v2.countCases", false); - put("v2.createCaseAutomationRule", false); - put("v2.createCaseJiraIssue", false); - put("v2.createCaseLink", false); - put("v2.createCaseNotebook", false); - put("v2.createCaseServiceNowTicket", false); - put("v2.createCaseView", false); - put("v2.createMaintenanceWindow", false); - put("v2.deleteCaseAutomationRule", false); - put("v2.deleteCaseLink", false); - put("v2.deleteCaseView", false); - put("v2.deleteMaintenanceWindow", false); - put("v2.disableCaseAutomationRule", false); - put("v2.enableCaseAutomationRule", false); - put("v2.favoriteCaseProject", false); - put("v2.getCaseAutomationRule", false); - put("v2.getCaseView", false); - put("v2.linkIncident", false); - put("v2.linkJiraIssueToCase", false); - put("v2.listCaseAutomationRules", false); - put("v2.listCaseLinks", false); - put("v2.listCaseTimeline", false); - put("v2.listCaseViews", false); - put("v2.listCaseWatchers", false); - put("v2.listMaintenanceWindows", false); - put("v2.listUserCaseProjectFavorites", false); - put("v2.moveCaseToProject", false); - put("v2.removeCaseInsights", false); - put("v2.unfavoriteCaseProject", false); - put("v2.unlinkJiraIssue", false); - put("v2.unwatchCase", false); - put("v2.updateCaseAutomationRule", false); - put("v2.updateCaseComment", false); - put("v2.updateCaseDueDate", false); - put("v2.updateCaseResolvedReason", false); - put("v2.updateCaseView", false); - put("v2.updateMaintenanceWindow", false); - put("v2.watchCase", false); - put("v2.updateCaseType", false); - put("v2.updateCustomAttributeConfig", false); put("v2.createChangeRequest", false); put("v2.createChangeRequestBranch", false); put("v2.deleteChangeRequestDecision", false); diff --git a/src/main/java/com/datadog/api/client/v2/api/CaseManagementApi.java b/src/main/java/com/datadog/api/client/v2/api/CaseManagementApi.java index faf3ef48ae2..6009a637ec7 100644 --- a/src/main/java/com/datadog/api/client/v2/api/CaseManagementApi.java +++ b/src/main/java/com/datadog/api/client/v2/api/CaseManagementApi.java @@ -156,13 +156,6 @@ public CompletableFuture addCaseInsightsAsync( */ public ApiResponse addCaseInsightsWithHttpInfo( String caseId, CaseInsightsRequest body) throws ApiException { - // Check if unstable operation is enabled - String operationId = "addCaseInsights"; - if (apiClient.isUnstableOperationEnabled("v2." + operationId)) { - apiClient.getLogger().warning(String.format("Using unstable operation '%s'", operationId)); - } else { - throw new ApiException(0, String.format("Unstable operation '%s' is disabled", operationId)); - } Object localVarPostBody = body; // verify the required parameter 'caseId' is set @@ -214,16 +207,6 @@ public ApiResponse addCaseInsightsWithHttpInfo( */ public CompletableFuture> addCaseInsightsWithHttpInfoAsync( String caseId, CaseInsightsRequest body) { - // Check if unstable operation is enabled - String operationId = "addCaseInsights"; - if (apiClient.isUnstableOperationEnabled("v2." + operationId)) { - apiClient.getLogger().warning(String.format("Using unstable operation '%s'", operationId)); - } else { - CompletableFuture> result = new CompletableFuture<>(); - result.completeExceptionally( - new ApiException(0, String.format("Unstable operation '%s' is disabled", operationId))); - return result; - } Object localVarPostBody = body; // verify the required parameter 'caseId' is set @@ -327,13 +310,6 @@ public CompletableFuture aggregateCasesAsync(CaseAggregat */ public ApiResponse aggregateCasesWithHttpInfo(CaseAggregateRequest body) throws ApiException { - // Check if unstable operation is enabled - String operationId = "aggregateCases"; - if (apiClient.isUnstableOperationEnabled("v2." + operationId)) { - apiClient.getLogger().warning(String.format("Using unstable operation '%s'", operationId)); - } else { - throw new ApiException(0, String.format("Unstable operation '%s' is disabled", operationId)); - } Object localVarPostBody = body; // verify the required parameter 'body' is set @@ -376,16 +352,6 @@ public ApiResponse aggregateCasesWithHttpInfo(CaseAggrega */ public CompletableFuture> aggregateCasesWithHttpInfoAsync( CaseAggregateRequest body) { - // Check if unstable operation is enabled - String operationId = "aggregateCases"; - if (apiClient.isUnstableOperationEnabled("v2." + operationId)) { - apiClient.getLogger().warning(String.format("Using unstable operation '%s'", operationId)); - } else { - CompletableFuture> result = new CompletableFuture<>(); - result.completeExceptionally( - new ApiException(0, String.format("Unstable operation '%s' is disabled", operationId))); - return result; - } Object localVarPostBody = body; // verify the required parameter 'body' is set @@ -785,13 +751,6 @@ public CompletableFuture bulkUpdateCasesAsync(CaseBulkUpdateRequest body) */ public ApiResponse bulkUpdateCasesWithHttpInfo(CaseBulkUpdateRequest body) throws ApiException { - // Check if unstable operation is enabled - String operationId = "bulkUpdateCases"; - if (apiClient.isUnstableOperationEnabled("v2." + operationId)) { - apiClient.getLogger().warning(String.format("Using unstable operation '%s'", operationId)); - } else { - throw new ApiException(0, String.format("Unstable operation '%s' is disabled", operationId)); - } Object localVarPostBody = body; // verify the required parameter 'body' is set @@ -834,16 +793,6 @@ public ApiResponse bulkUpdateCasesWithHttpInfo(CaseBulkUpdateRequest body) */ public CompletableFuture> bulkUpdateCasesWithHttpInfoAsync( CaseBulkUpdateRequest body) { - // Check if unstable operation is enabled - String operationId = "bulkUpdateCases"; - if (apiClient.isUnstableOperationEnabled("v2." + operationId)) { - apiClient.getLogger().warning(String.format("Using unstable operation '%s'", operationId)); - } else { - CompletableFuture> result = new CompletableFuture<>(); - result.completeExceptionally( - new ApiException(0, String.format("Unstable operation '%s' is disabled", operationId))); - return result; - } Object localVarPostBody = body; // verify the required parameter 'body' is set @@ -1159,13 +1108,6 @@ public CompletableFuture countCasesAsync( */ public ApiResponse countCasesWithHttpInfo( CountCasesOptionalParameters parameters) throws ApiException { - // Check if unstable operation is enabled - String operationId = "countCases"; - if (apiClient.isUnstableOperationEnabled("v2." + operationId)) { - apiClient.getLogger().warning(String.format("Using unstable operation '%s'", operationId)); - } else { - throw new ApiException(0, String.format("Unstable operation '%s' is disabled", operationId)); - } Object localVarPostBody = null; String queryFilter = parameters.queryFilter; String groupBys = parameters.groupBys; @@ -1210,16 +1152,6 @@ public ApiResponse countCasesWithHttpInfo( */ public CompletableFuture> countCasesWithHttpInfoAsync( CountCasesOptionalParameters parameters) { - // Check if unstable operation is enabled - String operationId = "countCases"; - if (apiClient.isUnstableOperationEnabled("v2." + operationId)) { - apiClient.getLogger().warning(String.format("Using unstable operation '%s'", operationId)); - } else { - CompletableFuture> result = new CompletableFuture<>(); - result.completeExceptionally( - new ApiException(0, String.format("Unstable operation '%s' is disabled", operationId))); - return result; - } Object localVarPostBody = null; String queryFilter = parameters.queryFilter; String groupBys = parameters.groupBys; @@ -1447,13 +1379,6 @@ public CompletableFuture createCaseAutomationRuleAsync( */ public ApiResponse createCaseAutomationRuleWithHttpInfo( String projectId, AutomationRuleCreateRequest body) throws ApiException { - // Check if unstable operation is enabled - String operationId = "createCaseAutomationRule"; - if (apiClient.isUnstableOperationEnabled("v2." + operationId)) { - apiClient.getLogger().warning(String.format("Using unstable operation '%s'", operationId)); - } else { - throw new ApiException(0, String.format("Unstable operation '%s' is disabled", operationId)); - } Object localVarPostBody = body; // verify the required parameter 'projectId' is set @@ -1506,16 +1431,6 @@ public ApiResponse createCaseAutomationRuleWithHttpInfo( public CompletableFuture> createCaseAutomationRuleWithHttpInfoAsync( String projectId, AutomationRuleCreateRequest body) { - // Check if unstable operation is enabled - String operationId = "createCaseAutomationRule"; - if (apiClient.isUnstableOperationEnabled("v2." + operationId)) { - apiClient.getLogger().warning(String.format("Using unstable operation '%s'", operationId)); - } else { - CompletableFuture> result = new CompletableFuture<>(); - result.completeExceptionally( - new ApiException(0, String.format("Unstable operation '%s' is disabled", operationId))); - return result; - } Object localVarPostBody = body; // verify the required parameter 'projectId' is set @@ -1622,13 +1537,6 @@ public CompletableFuture createCaseJiraIssueAsync( */ public ApiResponse createCaseJiraIssueWithHttpInfo( String caseId, JiraIssueCreateRequest body) throws ApiException { - // Check if unstable operation is enabled - String operationId = "createCaseJiraIssue"; - if (apiClient.isUnstableOperationEnabled("v2." + operationId)) { - apiClient.getLogger().warning(String.format("Using unstable operation '%s'", operationId)); - } else { - throw new ApiException(0, String.format("Unstable operation '%s' is disabled", operationId)); - } Object localVarPostBody = body; // verify the required parameter 'caseId' is set @@ -1680,16 +1588,6 @@ public ApiResponse createCaseJiraIssueWithHttpInfo( */ public CompletableFuture> createCaseJiraIssueWithHttpInfoAsync( String caseId, JiraIssueCreateRequest body) { - // Check if unstable operation is enabled - String operationId = "createCaseJiraIssue"; - if (apiClient.isUnstableOperationEnabled("v2." + operationId)) { - apiClient.getLogger().warning(String.format("Using unstable operation '%s'", operationId)); - } else { - CompletableFuture> result = new CompletableFuture<>(); - result.completeExceptionally( - new ApiException(0, String.format("Unstable operation '%s' is disabled", operationId))); - return result; - } Object localVarPostBody = body; // verify the required parameter 'caseId' is set @@ -1793,13 +1691,6 @@ public CompletableFuture createCaseLinkAsync(CaseLinkCreateReq */ public ApiResponse createCaseLinkWithHttpInfo(CaseLinkCreateRequest body) throws ApiException { - // Check if unstable operation is enabled - String operationId = "createCaseLink"; - if (apiClient.isUnstableOperationEnabled("v2." + operationId)) { - apiClient.getLogger().warning(String.format("Using unstable operation '%s'", operationId)); - } else { - throw new ApiException(0, String.format("Unstable operation '%s' is disabled", operationId)); - } Object localVarPostBody = body; // verify the required parameter 'body' is set @@ -1842,16 +1733,6 @@ public ApiResponse createCaseLinkWithHttpInfo(CaseLinkCreateRe */ public CompletableFuture> createCaseLinkWithHttpInfoAsync( CaseLinkCreateRequest body) { - // Check if unstable operation is enabled - String operationId = "createCaseLink"; - if (apiClient.isUnstableOperationEnabled("v2." + operationId)) { - apiClient.getLogger().warning(String.format("Using unstable operation '%s'", operationId)); - } else { - CompletableFuture> result = new CompletableFuture<>(); - result.completeExceptionally( - new ApiException(0, String.format("Unstable operation '%s' is disabled", operationId))); - return result; - } Object localVarPostBody = body; // verify the required parameter 'body' is set @@ -1946,13 +1827,6 @@ public CompletableFuture createCaseNotebookAsync( */ public ApiResponse createCaseNotebookWithHttpInfo(String caseId, NotebookCreateRequest body) throws ApiException { - // Check if unstable operation is enabled - String operationId = "createCaseNotebook"; - if (apiClient.isUnstableOperationEnabled("v2." + operationId)) { - apiClient.getLogger().warning(String.format("Using unstable operation '%s'", operationId)); - } else { - throw new ApiException(0, String.format("Unstable operation '%s' is disabled", operationId)); - } Object localVarPostBody = body; // verify the required parameter 'caseId' is set @@ -2004,16 +1878,6 @@ public ApiResponse createCaseNotebookWithHttpInfo(String caseId, NotebookC */ public CompletableFuture> createCaseNotebookWithHttpInfoAsync( String caseId, NotebookCreateRequest body) { - // Check if unstable operation is enabled - String operationId = "createCaseNotebook"; - if (apiClient.isUnstableOperationEnabled("v2." + operationId)) { - apiClient.getLogger().warning(String.format("Using unstable operation '%s'", operationId)); - } else { - CompletableFuture> result = new CompletableFuture<>(); - result.completeExceptionally( - new ApiException(0, String.format("Unstable operation '%s' is disabled", operationId))); - return result; - } Object localVarPostBody = body; // verify the required parameter 'caseId' is set @@ -2120,13 +1984,6 @@ public CompletableFuture createCaseServiceNowTicketAsync( */ public ApiResponse createCaseServiceNowTicketWithHttpInfo( String caseId, ServiceNowTicketCreateRequest body) throws ApiException { - // Check if unstable operation is enabled - String operationId = "createCaseServiceNowTicket"; - if (apiClient.isUnstableOperationEnabled("v2." + operationId)) { - apiClient.getLogger().warning(String.format("Using unstable operation '%s'", operationId)); - } else { - throw new ApiException(0, String.format("Unstable operation '%s' is disabled", operationId)); - } Object localVarPostBody = body; // verify the required parameter 'caseId' is set @@ -2178,16 +2035,6 @@ public ApiResponse createCaseServiceNowTicketWithHttpInfo( */ public CompletableFuture> createCaseServiceNowTicketWithHttpInfoAsync( String caseId, ServiceNowTicketCreateRequest body) { - // Check if unstable operation is enabled - String operationId = "createCaseServiceNowTicket"; - if (apiClient.isUnstableOperationEnabled("v2." + operationId)) { - apiClient.getLogger().warning(String.format("Using unstable operation '%s'", operationId)); - } else { - CompletableFuture> result = new CompletableFuture<>(); - result.completeExceptionally( - new ApiException(0, String.format("Unstable operation '%s' is disabled", operationId))); - return result; - } Object localVarPostBody = body; // verify the required parameter 'caseId' is set @@ -2293,13 +2140,6 @@ public CompletableFuture createCaseViewAsync(CaseViewCreateReq */ public ApiResponse createCaseViewWithHttpInfo(CaseViewCreateRequest body) throws ApiException { - // Check if unstable operation is enabled - String operationId = "createCaseView"; - if (apiClient.isUnstableOperationEnabled("v2." + operationId)) { - apiClient.getLogger().warning(String.format("Using unstable operation '%s'", operationId)); - } else { - throw new ApiException(0, String.format("Unstable operation '%s' is disabled", operationId)); - } Object localVarPostBody = body; // verify the required parameter 'body' is set @@ -2342,16 +2182,6 @@ public ApiResponse createCaseViewWithHttpInfo(CaseViewCreateRe */ public CompletableFuture> createCaseViewWithHttpInfoAsync( CaseViewCreateRequest body) { - // Check if unstable operation is enabled - String operationId = "createCaseView"; - if (apiClient.isUnstableOperationEnabled("v2." + operationId)) { - apiClient.getLogger().warning(String.format("Using unstable operation '%s'", operationId)); - } else { - CompletableFuture> result = new CompletableFuture<>(); - result.completeExceptionally( - new ApiException(0, String.format("Unstable operation '%s' is disabled", operationId))); - return result; - } Object localVarPostBody = body; // verify the required parameter 'body' is set @@ -2446,13 +2276,6 @@ public CompletableFuture createMaintenanceWindowAsync */ public ApiResponse createMaintenanceWindowWithHttpInfo( MaintenanceWindowCreateRequest body) throws ApiException { - // Check if unstable operation is enabled - String operationId = "createMaintenanceWindow"; - if (apiClient.isUnstableOperationEnabled("v2." + operationId)) { - apiClient.getLogger().warning(String.format("Using unstable operation '%s'", operationId)); - } else { - throw new ApiException(0, String.format("Unstable operation '%s' is disabled", operationId)); - } Object localVarPostBody = body; // verify the required parameter 'body' is set @@ -2495,16 +2318,6 @@ public ApiResponse createMaintenanceWindowWithHttpInf */ public CompletableFuture> createMaintenanceWindowWithHttpInfoAsync(MaintenanceWindowCreateRequest body) { - // Check if unstable operation is enabled - String operationId = "createMaintenanceWindow"; - if (apiClient.isUnstableOperationEnabled("v2." + operationId)) { - apiClient.getLogger().warning(String.format("Using unstable operation '%s'", operationId)); - } else { - CompletableFuture> result = new CompletableFuture<>(); - result.completeExceptionally( - new ApiException(0, String.format("Unstable operation '%s' is disabled", operationId))); - return result; - } Object localVarPostBody = body; // verify the required parameter 'body' is set @@ -2895,13 +2708,6 @@ public CompletableFuture deleteCaseAutomationRuleAsync(String projectId, S */ public ApiResponse deleteCaseAutomationRuleWithHttpInfo(String projectId, String ruleId) throws ApiException { - // Check if unstable operation is enabled - String operationId = "deleteCaseAutomationRule"; - if (apiClient.isUnstableOperationEnabled("v2." + operationId)) { - apiClient.getLogger().warning(String.format("Using unstable operation '%s'", operationId)); - } else { - throw new ApiException(0, String.format("Unstable operation '%s' is disabled", operationId)); - } Object localVarPostBody = null; // verify the required parameter 'projectId' is set @@ -2954,16 +2760,6 @@ public ApiResponse deleteCaseAutomationRuleWithHttpInfo(String projectId, */ public CompletableFuture> deleteCaseAutomationRuleWithHttpInfoAsync( String projectId, String ruleId) { - // Check if unstable operation is enabled - String operationId = "deleteCaseAutomationRule"; - if (apiClient.isUnstableOperationEnabled("v2." + operationId)) { - apiClient.getLogger().warning(String.format("Using unstable operation '%s'", operationId)); - } else { - CompletableFuture> result = new CompletableFuture<>(); - result.completeExceptionally( - new ApiException(0, String.format("Unstable operation '%s' is disabled", operationId))); - return result; - } Object localVarPostBody = null; // verify the required parameter 'projectId' is set @@ -3392,13 +3188,6 @@ public CompletableFuture deleteCaseLinkAsync(String linkId) { * */ public ApiResponse deleteCaseLinkWithHttpInfo(String linkId) throws ApiException { - // Check if unstable operation is enabled - String operationId = "deleteCaseLink"; - if (apiClient.isUnstableOperationEnabled("v2." + operationId)) { - apiClient.getLogger().warning(String.format("Using unstable operation '%s'", operationId)); - } else { - throw new ApiException(0, String.format("Unstable operation '%s' is disabled", operationId)); - } Object localVarPostBody = null; // verify the required parameter 'linkId' is set @@ -3442,16 +3231,6 @@ public ApiResponse deleteCaseLinkWithHttpInfo(String linkId) throws ApiExc * @return CompletableFuture<ApiResponse<Void>> */ public CompletableFuture> deleteCaseLinkWithHttpInfoAsync(String linkId) { - // Check if unstable operation is enabled - String operationId = "deleteCaseLink"; - if (apiClient.isUnstableOperationEnabled("v2." + operationId)) { - apiClient.getLogger().warning(String.format("Using unstable operation '%s'", operationId)); - } else { - CompletableFuture> result = new CompletableFuture<>(); - result.completeExceptionally( - new ApiException(0, String.format("Unstable operation '%s' is disabled", operationId))); - return result; - } Object localVarPostBody = null; // verify the required parameter 'linkId' is set @@ -3543,13 +3322,6 @@ public CompletableFuture deleteCaseViewAsync(String viewId) { * */ public ApiResponse deleteCaseViewWithHttpInfo(String viewId) throws ApiException { - // Check if unstable operation is enabled - String operationId = "deleteCaseView"; - if (apiClient.isUnstableOperationEnabled("v2." + operationId)) { - apiClient.getLogger().warning(String.format("Using unstable operation '%s'", operationId)); - } else { - throw new ApiException(0, String.format("Unstable operation '%s' is disabled", operationId)); - } Object localVarPostBody = null; // verify the required parameter 'viewId' is set @@ -3593,16 +3365,6 @@ public ApiResponse deleteCaseViewWithHttpInfo(String viewId) throws ApiExc * @return CompletableFuture<ApiResponse<Void>> */ public CompletableFuture> deleteCaseViewWithHttpInfoAsync(String viewId) { - // Check if unstable operation is enabled - String operationId = "deleteCaseView"; - if (apiClient.isUnstableOperationEnabled("v2." + operationId)) { - apiClient.getLogger().warning(String.format("Using unstable operation '%s'", operationId)); - } else { - CompletableFuture> result = new CompletableFuture<>(); - result.completeExceptionally( - new ApiException(0, String.format("Unstable operation '%s' is disabled", operationId))); - return result; - } Object localVarPostBody = null; // verify the required parameter 'viewId' is set @@ -3695,13 +3457,6 @@ public CompletableFuture deleteMaintenanceWindowAsync(String maintenanceWi */ public ApiResponse deleteMaintenanceWindowWithHttpInfo(String maintenanceWindowId) throws ApiException { - // Check if unstable operation is enabled - String operationId = "deleteMaintenanceWindow"; - if (apiClient.isUnstableOperationEnabled("v2." + operationId)) { - apiClient.getLogger().warning(String.format("Using unstable operation '%s'", operationId)); - } else { - throw new ApiException(0, String.format("Unstable operation '%s' is disabled", operationId)); - } Object localVarPostBody = null; // verify the required parameter 'maintenanceWindowId' is set @@ -3750,16 +3505,6 @@ public ApiResponse deleteMaintenanceWindowWithHttpInfo(String maintenanceW */ public CompletableFuture> deleteMaintenanceWindowWithHttpInfoAsync( String maintenanceWindowId) { - // Check if unstable operation is enabled - String operationId = "deleteMaintenanceWindow"; - if (apiClient.isUnstableOperationEnabled("v2." + operationId)) { - apiClient.getLogger().warning(String.format("Using unstable operation '%s'", operationId)); - } else { - CompletableFuture> result = new CompletableFuture<>(); - result.completeExceptionally( - new ApiException(0, String.format("Unstable operation '%s' is disabled", operationId))); - return result; - } Object localVarPostBody = null; // verify the required parameter 'maintenanceWindowId' is set @@ -4163,13 +3908,6 @@ public CompletableFuture disableCaseAutomationRuleAsync( */ public ApiResponse disableCaseAutomationRuleWithHttpInfo( String projectId, String ruleId) throws ApiException { - // Check if unstable operation is enabled - String operationId = "disableCaseAutomationRule"; - if (apiClient.isUnstableOperationEnabled("v2." + operationId)) { - apiClient.getLogger().warning(String.format("Using unstable operation '%s'", operationId)); - } else { - throw new ApiException(0, String.format("Unstable operation '%s' is disabled", operationId)); - } Object localVarPostBody = null; // verify the required parameter 'projectId' is set @@ -4222,16 +3960,6 @@ public ApiResponse disableCaseAutomationRuleWithHttpInfo */ public CompletableFuture> disableCaseAutomationRuleWithHttpInfoAsync(String projectId, String ruleId) { - // Check if unstable operation is enabled - String operationId = "disableCaseAutomationRule"; - if (apiClient.isUnstableOperationEnabled("v2." + operationId)) { - apiClient.getLogger().warning(String.format("Using unstable operation '%s'", operationId)); - } else { - CompletableFuture> result = new CompletableFuture<>(); - result.completeExceptionally( - new ApiException(0, String.format("Unstable operation '%s' is disabled", operationId))); - return result; - } Object localVarPostBody = null; // verify the required parameter 'projectId' is set @@ -4342,13 +4070,6 @@ public CompletableFuture enableCaseAutomationRuleAsync( */ public ApiResponse enableCaseAutomationRuleWithHttpInfo( String projectId, String ruleId) throws ApiException { - // Check if unstable operation is enabled - String operationId = "enableCaseAutomationRule"; - if (apiClient.isUnstableOperationEnabled("v2." + operationId)) { - apiClient.getLogger().warning(String.format("Using unstable operation '%s'", operationId)); - } else { - throw new ApiException(0, String.format("Unstable operation '%s' is disabled", operationId)); - } Object localVarPostBody = null; // verify the required parameter 'projectId' is set @@ -4401,16 +4122,6 @@ public ApiResponse enableCaseAutomationRuleWithHttpInfo( */ public CompletableFuture> enableCaseAutomationRuleWithHttpInfoAsync(String projectId, String ruleId) { - // Check if unstable operation is enabled - String operationId = "enableCaseAutomationRule"; - if (apiClient.isUnstableOperationEnabled("v2." + operationId)) { - apiClient.getLogger().warning(String.format("Using unstable operation '%s'", operationId)); - } else { - CompletableFuture> result = new CompletableFuture<>(); - result.completeExceptionally( - new ApiException(0, String.format("Unstable operation '%s' is disabled", operationId))); - return result; - } Object localVarPostBody = null; // verify the required parameter 'projectId' is set @@ -4514,13 +4225,6 @@ public CompletableFuture favoriteCaseProjectAsync(String projectId) { * */ public ApiResponse favoriteCaseProjectWithHttpInfo(String projectId) throws ApiException { - // Check if unstable operation is enabled - String operationId = "favoriteCaseProject"; - if (apiClient.isUnstableOperationEnabled("v2." + operationId)) { - apiClient.getLogger().warning(String.format("Using unstable operation '%s'", operationId)); - } else { - throw new ApiException(0, String.format("Unstable operation '%s' is disabled", operationId)); - } Object localVarPostBody = null; // verify the required parameter 'projectId' is set @@ -4565,16 +4269,6 @@ public ApiResponse favoriteCaseProjectWithHttpInfo(String projectId) throw */ public CompletableFuture> favoriteCaseProjectWithHttpInfoAsync( String projectId) { - // Check if unstable operation is enabled - String operationId = "favoriteCaseProject"; - if (apiClient.isUnstableOperationEnabled("v2." + operationId)) { - apiClient.getLogger().warning(String.format("Using unstable operation '%s'", operationId)); - } else { - CompletableFuture> result = new CompletableFuture<>(); - result.completeExceptionally( - new ApiException(0, String.format("Unstable operation '%s' is disabled", operationId))); - return result; - } Object localVarPostBody = null; // verify the required parameter 'projectId' is set @@ -4807,13 +4501,6 @@ public CompletableFuture getCaseAutomationRuleAsync( */ public ApiResponse getCaseAutomationRuleWithHttpInfo( String projectId, String ruleId) throws ApiException { - // Check if unstable operation is enabled - String operationId = "getCaseAutomationRule"; - if (apiClient.isUnstableOperationEnabled("v2." + operationId)) { - apiClient.getLogger().warning(String.format("Using unstable operation '%s'", operationId)); - } else { - throw new ApiException(0, String.format("Unstable operation '%s' is disabled", operationId)); - } Object localVarPostBody = null; // verify the required parameter 'projectId' is set @@ -4866,16 +4553,6 @@ public ApiResponse getCaseAutomationRuleWithHttpInfo( */ public CompletableFuture> getCaseAutomationRuleWithHttpInfoAsync(String projectId, String ruleId) { - // Check if unstable operation is enabled - String operationId = "getCaseAutomationRule"; - if (apiClient.isUnstableOperationEnabled("v2." + operationId)) { - apiClient.getLogger().warning(String.format("Using unstable operation '%s'", operationId)); - } else { - CompletableFuture> result = new CompletableFuture<>(); - result.completeExceptionally( - new ApiException(0, String.format("Unstable operation '%s' is disabled", operationId))); - return result; - } Object localVarPostBody = null; // verify the required parameter 'projectId' is set @@ -4980,13 +4657,6 @@ public CompletableFuture getCaseViewAsync(String viewId) { * */ public ApiResponse getCaseViewWithHttpInfo(String viewId) throws ApiException { - // Check if unstable operation is enabled - String operationId = "getCaseView"; - if (apiClient.isUnstableOperationEnabled("v2." + operationId)) { - apiClient.getLogger().warning(String.format("Using unstable operation '%s'", operationId)); - } else { - throw new ApiException(0, String.format("Unstable operation '%s' is disabled", operationId)); - } Object localVarPostBody = null; // verify the required parameter 'viewId' is set @@ -5031,16 +4701,6 @@ public ApiResponse getCaseViewWithHttpInfo(String viewId) thro */ public CompletableFuture> getCaseViewWithHttpInfoAsync( String viewId) { - // Check if unstable operation is enabled - String operationId = "getCaseView"; - if (apiClient.isUnstableOperationEnabled("v2." + operationId)) { - apiClient.getLogger().warning(String.format("Using unstable operation '%s'", operationId)); - } else { - CompletableFuture> result = new CompletableFuture<>(); - result.completeExceptionally( - new ApiException(0, String.format("Unstable operation '%s' is disabled", operationId))); - return result; - } Object localVarPostBody = null; // verify the required parameter 'viewId' is set @@ -5531,13 +5191,6 @@ public CompletableFuture linkIncidentAsync( */ public ApiResponse linkIncidentWithHttpInfo( String caseId, RelationshipToIncidentRequest body) throws ApiException { - // Check if unstable operation is enabled - String operationId = "linkIncident"; - if (apiClient.isUnstableOperationEnabled("v2." + operationId)) { - apiClient.getLogger().warning(String.format("Using unstable operation '%s'", operationId)); - } else { - throw new ApiException(0, String.format("Unstable operation '%s' is disabled", operationId)); - } Object localVarPostBody = body; // verify the required parameter 'caseId' is set @@ -5589,16 +5242,6 @@ public ApiResponse linkIncidentWithHttpInfo( */ public CompletableFuture> linkIncidentWithHttpInfoAsync( String caseId, RelationshipToIncidentRequest body) { - // Check if unstable operation is enabled - String operationId = "linkIncident"; - if (apiClient.isUnstableOperationEnabled("v2." + operationId)) { - apiClient.getLogger().warning(String.format("Using unstable operation '%s'", operationId)); - } else { - CompletableFuture> result = new CompletableFuture<>(); - result.completeExceptionally( - new ApiException(0, String.format("Unstable operation '%s' is disabled", operationId))); - return result; - } Object localVarPostBody = body; // verify the required parameter 'caseId' is set @@ -5704,13 +5347,6 @@ public CompletableFuture linkJiraIssueToCaseAsync( */ public ApiResponse linkJiraIssueToCaseWithHttpInfo(String caseId, JiraIssueLinkRequest body) throws ApiException { - // Check if unstable operation is enabled - String operationId = "linkJiraIssueToCase"; - if (apiClient.isUnstableOperationEnabled("v2." + operationId)) { - apiClient.getLogger().warning(String.format("Using unstable operation '%s'", operationId)); - } else { - throw new ApiException(0, String.format("Unstable operation '%s' is disabled", operationId)); - } Object localVarPostBody = body; // verify the required parameter 'caseId' is set @@ -5762,16 +5398,6 @@ public ApiResponse linkJiraIssueToCaseWithHttpInfo(String caseId, JiraIssu */ public CompletableFuture> linkJiraIssueToCaseWithHttpInfoAsync( String caseId, JiraIssueLinkRequest body) { - // Check if unstable operation is enabled - String operationId = "linkJiraIssueToCase"; - if (apiClient.isUnstableOperationEnabled("v2." + operationId)) { - apiClient.getLogger().warning(String.format("Using unstable operation '%s'", operationId)); - } else { - CompletableFuture> result = new CompletableFuture<>(); - result.completeExceptionally( - new ApiException(0, String.format("Unstable operation '%s' is disabled", operationId))); - return result; - } Object localVarPostBody = body; // verify the required parameter 'caseId' is set @@ -5875,13 +5501,6 @@ public CompletableFuture listCaseAutomationRulesAsync(S */ public ApiResponse listCaseAutomationRulesWithHttpInfo(String projectId) throws ApiException { - // Check if unstable operation is enabled - String operationId = "listCaseAutomationRules"; - if (apiClient.isUnstableOperationEnabled("v2." + operationId)) { - apiClient.getLogger().warning(String.format("Using unstable operation '%s'", operationId)); - } else { - throw new ApiException(0, String.format("Unstable operation '%s' is disabled", operationId)); - } Object localVarPostBody = null; // verify the required parameter 'projectId' is set @@ -5926,16 +5545,6 @@ public ApiResponse listCaseAutomationRulesWithHttpInfo( */ public CompletableFuture> listCaseAutomationRulesWithHttpInfoAsync(String projectId) { - // Check if unstable operation is enabled - String operationId = "listCaseAutomationRules"; - if (apiClient.isUnstableOperationEnabled("v2." + operationId)) { - apiClient.getLogger().warning(String.format("Using unstable operation '%s'", operationId)); - } else { - CompletableFuture> result = new CompletableFuture<>(); - result.completeExceptionally( - new ApiException(0, String.format("Unstable operation '%s' is disabled", operationId))); - return result; - } Object localVarPostBody = null; // verify the required parameter 'projectId' is set @@ -6097,13 +5706,6 @@ public CompletableFuture listCaseLinksAsync( public ApiResponse listCaseLinksWithHttpInfo( String entityType, String entityId, ListCaseLinksOptionalParameters parameters) throws ApiException { - // Check if unstable operation is enabled - String operationId = "listCaseLinks"; - if (apiClient.isUnstableOperationEnabled("v2." + operationId)) { - apiClient.getLogger().warning(String.format("Using unstable operation '%s'", operationId)); - } else { - throw new ApiException(0, String.format("Unstable operation '%s' is disabled", operationId)); - } Object localVarPostBody = null; // verify the required parameter 'entityType' is set @@ -6161,16 +5763,6 @@ public ApiResponse listCaseLinksWithHttpInfo( */ public CompletableFuture> listCaseLinksWithHttpInfoAsync( String entityType, String entityId, ListCaseLinksOptionalParameters parameters) { - // Check if unstable operation is enabled - String operationId = "listCaseLinks"; - if (apiClient.isUnstableOperationEnabled("v2." + operationId)) { - apiClient.getLogger().warning(String.format("Using unstable operation '%s'", operationId)); - } else { - CompletableFuture> result = new CompletableFuture<>(); - result.completeExceptionally( - new ApiException(0, String.format("Unstable operation '%s' is disabled", operationId))); - return result; - } Object localVarPostBody = null; // verify the required parameter 'entityType' is set @@ -6354,13 +5946,6 @@ public CompletableFuture listCaseTimelineAsync( */ public ApiResponse listCaseTimelineWithHttpInfo( String caseId, ListCaseTimelineOptionalParameters parameters) throws ApiException { - // Check if unstable operation is enabled - String operationId = "listCaseTimeline"; - if (apiClient.isUnstableOperationEnabled("v2." + operationId)) { - apiClient.getLogger().warning(String.format("Using unstable operation '%s'", operationId)); - } else { - throw new ApiException(0, String.format("Unstable operation '%s' is disabled", operationId)); - } Object localVarPostBody = null; // verify the required parameter 'caseId' is set @@ -6414,16 +5999,6 @@ public ApiResponse listCaseTimelineWithHttpInfo( */ public CompletableFuture> listCaseTimelineWithHttpInfoAsync( String caseId, ListCaseTimelineOptionalParameters parameters) { - // Check if unstable operation is enabled - String operationId = "listCaseTimeline"; - if (apiClient.isUnstableOperationEnabled("v2." + operationId)) { - apiClient.getLogger().warning(String.format("Using unstable operation '%s'", operationId)); - } else { - CompletableFuture> result = new CompletableFuture<>(); - result.completeExceptionally( - new ApiException(0, String.format("Unstable operation '%s' is disabled", operationId))); - return result; - } Object localVarPostBody = null; // verify the required parameter 'caseId' is set @@ -6526,13 +6101,6 @@ public CompletableFuture listCaseViewsAsync(String projectId) */ public ApiResponse listCaseViewsWithHttpInfo(String projectId) throws ApiException { - // Check if unstable operation is enabled - String operationId = "listCaseViews"; - if (apiClient.isUnstableOperationEnabled("v2." + operationId)) { - apiClient.getLogger().warning(String.format("Using unstable operation '%s'", operationId)); - } else { - throw new ApiException(0, String.format("Unstable operation '%s' is disabled", operationId)); - } Object localVarPostBody = null; // verify the required parameter 'projectId' is set @@ -6578,16 +6146,6 @@ public ApiResponse listCaseViewsWithHttpInfo(String projectId */ public CompletableFuture> listCaseViewsWithHttpInfoAsync( String projectId) { - // Check if unstable operation is enabled - String operationId = "listCaseViews"; - if (apiClient.isUnstableOperationEnabled("v2." + operationId)) { - apiClient.getLogger().warning(String.format("Using unstable operation '%s'", operationId)); - } else { - CompletableFuture> result = new CompletableFuture<>(); - result.completeExceptionally( - new ApiException(0, String.format("Unstable operation '%s' is disabled", operationId))); - return result; - } Object localVarPostBody = null; // verify the required parameter 'projectId' is set @@ -6683,13 +6241,6 @@ public CompletableFuture listCaseWatchersAsync(String case */ public ApiResponse listCaseWatchersWithHttpInfo(String caseId) throws ApiException { - // Check if unstable operation is enabled - String operationId = "listCaseWatchers"; - if (apiClient.isUnstableOperationEnabled("v2." + operationId)) { - apiClient.getLogger().warning(String.format("Using unstable operation '%s'", operationId)); - } else { - throw new ApiException(0, String.format("Unstable operation '%s' is disabled", operationId)); - } Object localVarPostBody = null; // verify the required parameter 'caseId' is set @@ -6734,16 +6285,6 @@ public ApiResponse listCaseWatchersWithHttpInfo(String cas */ public CompletableFuture> listCaseWatchersWithHttpInfoAsync( String caseId) { - // Check if unstable operation is enabled - String operationId = "listCaseWatchers"; - if (apiClient.isUnstableOperationEnabled("v2." + operationId)) { - apiClient.getLogger().warning(String.format("Using unstable operation '%s'", operationId)); - } else { - CompletableFuture> result = new CompletableFuture<>(); - result.completeExceptionally( - new ApiException(0, String.format("Unstable operation '%s' is disabled", operationId))); - return result; - } Object localVarPostBody = null; // verify the required parameter 'caseId' is set @@ -6836,13 +6377,6 @@ public CompletableFuture listMaintenanceWindowsAsync */ public ApiResponse listMaintenanceWindowsWithHttpInfo() throws ApiException { - // Check if unstable operation is enabled - String operationId = "listMaintenanceWindows"; - if (apiClient.isUnstableOperationEnabled("v2." + operationId)) { - apiClient.getLogger().warning(String.format("Using unstable operation '%s'", operationId)); - } else { - throw new ApiException(0, String.format("Unstable operation '%s' is disabled", operationId)); - } Object localVarPostBody = null; // create path and map variables String localVarPath = "/api/v2/maintenance_windows"; @@ -6878,16 +6412,6 @@ public ApiResponse listMaintenanceWindowsWithHttpInf */ public CompletableFuture> listMaintenanceWindowsWithHttpInfoAsync() { - // Check if unstable operation is enabled - String operationId = "listMaintenanceWindows"; - if (apiClient.isUnstableOperationEnabled("v2." + operationId)) { - apiClient.getLogger().warning(String.format("Using unstable operation '%s'", operationId)); - } else { - CompletableFuture> result = new CompletableFuture<>(); - result.completeExceptionally( - new ApiException(0, String.format("Unstable operation '%s' is disabled", operationId))); - return result; - } Object localVarPostBody = null; // create path and map variables String localVarPath = "/api/v2/maintenance_windows"; @@ -6967,13 +6491,6 @@ public CompletableFuture listUserCaseProjectFavoritesA */ public ApiResponse listUserCaseProjectFavoritesWithHttpInfo() throws ApiException { - // Check if unstable operation is enabled - String operationId = "listUserCaseProjectFavorites"; - if (apiClient.isUnstableOperationEnabled("v2." + operationId)) { - apiClient.getLogger().warning(String.format("Using unstable operation '%s'", operationId)); - } else { - throw new ApiException(0, String.format("Unstable operation '%s' is disabled", operationId)); - } Object localVarPostBody = null; // create path and map variables String localVarPath = "/api/v2/cases/projects/favorites"; @@ -7009,16 +6526,6 @@ public ApiResponse listUserCaseProjectFavoritesWithHtt */ public CompletableFuture> listUserCaseProjectFavoritesWithHttpInfoAsync() { - // Check if unstable operation is enabled - String operationId = "listUserCaseProjectFavorites"; - if (apiClient.isUnstableOperationEnabled("v2." + operationId)) { - apiClient.getLogger().warning(String.format("Using unstable operation '%s'", operationId)); - } else { - CompletableFuture> result = new CompletableFuture<>(); - result.completeExceptionally( - new ApiException(0, String.format("Unstable operation '%s' is disabled", operationId))); - return result; - } Object localVarPostBody = null; // create path and map variables String localVarPath = "/api/v2/cases/projects/favorites"; @@ -7106,13 +6613,6 @@ public CompletableFuture moveCaseToProjectAsync( */ public ApiResponse moveCaseToProjectWithHttpInfo( String caseId, ProjectRelationship body) throws ApiException { - // Check if unstable operation is enabled - String operationId = "moveCaseToProject"; - if (apiClient.isUnstableOperationEnabled("v2." + operationId)) { - apiClient.getLogger().warning(String.format("Using unstable operation '%s'", operationId)); - } else { - throw new ApiException(0, String.format("Unstable operation '%s' is disabled", operationId)); - } Object localVarPostBody = body; // verify the required parameter 'caseId' is set @@ -7164,16 +6664,6 @@ public ApiResponse moveCaseToProjectWithHttpInfo( */ public CompletableFuture> moveCaseToProjectWithHttpInfoAsync( String caseId, ProjectRelationship body) { - // Check if unstable operation is enabled - String operationId = "moveCaseToProject"; - if (apiClient.isUnstableOperationEnabled("v2." + operationId)) { - apiClient.getLogger().warning(String.format("Using unstable operation '%s'", operationId)); - } else { - CompletableFuture> result = new CompletableFuture<>(); - result.completeExceptionally( - new ApiException(0, String.format("Unstable operation '%s' is disabled", operationId))); - return result; - } Object localVarPostBody = body; // verify the required parameter 'caseId' is set @@ -7282,13 +6772,6 @@ public CompletableFuture removeCaseInsightsAsync( */ public ApiResponse removeCaseInsightsWithHttpInfo( String caseId, CaseInsightsRequest body) throws ApiException { - // Check if unstable operation is enabled - String operationId = "removeCaseInsights"; - if (apiClient.isUnstableOperationEnabled("v2." + operationId)) { - apiClient.getLogger().warning(String.format("Using unstable operation '%s'", operationId)); - } else { - throw new ApiException(0, String.format("Unstable operation '%s' is disabled", operationId)); - } Object localVarPostBody = body; // verify the required parameter 'caseId' is set @@ -7340,16 +6823,6 @@ public ApiResponse removeCaseInsightsWithHttpInfo( */ public CompletableFuture> removeCaseInsightsWithHttpInfoAsync( String caseId, CaseInsightsRequest body) { - // Check if unstable operation is enabled - String operationId = "removeCaseInsights"; - if (apiClient.isUnstableOperationEnabled("v2." + operationId)) { - apiClient.getLogger().warning(String.format("Using unstable operation '%s'", operationId)); - } else { - CompletableFuture> result = new CompletableFuture<>(); - result.completeExceptionally( - new ApiException(0, String.format("Unstable operation '%s' is disabled", operationId))); - return result; - } Object localVarPostBody = body; // verify the required parameter 'caseId' is set @@ -8051,13 +7524,6 @@ public CompletableFuture unfavoriteCaseProjectAsync(String projectId) { * */ public ApiResponse unfavoriteCaseProjectWithHttpInfo(String projectId) throws ApiException { - // Check if unstable operation is enabled - String operationId = "unfavoriteCaseProject"; - if (apiClient.isUnstableOperationEnabled("v2." + operationId)) { - apiClient.getLogger().warning(String.format("Using unstable operation '%s'", operationId)); - } else { - throw new ApiException(0, String.format("Unstable operation '%s' is disabled", operationId)); - } Object localVarPostBody = null; // verify the required parameter 'projectId' is set @@ -8102,16 +7568,6 @@ public ApiResponse unfavoriteCaseProjectWithHttpInfo(String projectId) thr */ public CompletableFuture> unfavoriteCaseProjectWithHttpInfoAsync( String projectId) { - // Check if unstable operation is enabled - String operationId = "unfavoriteCaseProject"; - if (apiClient.isUnstableOperationEnabled("v2." + operationId)) { - apiClient.getLogger().warning(String.format("Using unstable operation '%s'", operationId)); - } else { - CompletableFuture> result = new CompletableFuture<>(); - result.completeExceptionally( - new ApiException(0, String.format("Unstable operation '%s' is disabled", operationId))); - return result; - } Object localVarPostBody = null; // verify the required parameter 'projectId' is set @@ -8204,13 +7660,6 @@ public CompletableFuture unlinkJiraIssueAsync(String caseId) { * */ public ApiResponse unlinkJiraIssueWithHttpInfo(String caseId) throws ApiException { - // Check if unstable operation is enabled - String operationId = "unlinkJiraIssue"; - if (apiClient.isUnstableOperationEnabled("v2." + operationId)) { - apiClient.getLogger().warning(String.format("Using unstable operation '%s'", operationId)); - } else { - throw new ApiException(0, String.format("Unstable operation '%s' is disabled", operationId)); - } Object localVarPostBody = null; // verify the required parameter 'caseId' is set @@ -8254,16 +7703,6 @@ public ApiResponse unlinkJiraIssueWithHttpInfo(String caseId) throws ApiEx * @return CompletableFuture<ApiResponse<Void>> */ public CompletableFuture> unlinkJiraIssueWithHttpInfoAsync(String caseId) { - // Check if unstable operation is enabled - String operationId = "unlinkJiraIssue"; - if (apiClient.isUnstableOperationEnabled("v2." + operationId)) { - apiClient.getLogger().warning(String.format("Using unstable operation '%s'", operationId)); - } else { - CompletableFuture> result = new CompletableFuture<>(); - result.completeExceptionally( - new ApiException(0, String.format("Unstable operation '%s' is disabled", operationId))); - return result; - } Object localVarPostBody = null; // verify the required parameter 'caseId' is set @@ -8360,13 +7799,6 @@ public CompletableFuture unwatchCaseAsync(String caseId, String userUuid) */ public ApiResponse unwatchCaseWithHttpInfo(String caseId, String userUuid) throws ApiException { - // Check if unstable operation is enabled - String operationId = "unwatchCase"; - if (apiClient.isUnstableOperationEnabled("v2." + operationId)) { - apiClient.getLogger().warning(String.format("Using unstable operation '%s'", operationId)); - } else { - throw new ApiException(0, String.format("Unstable operation '%s' is disabled", operationId)); - } Object localVarPostBody = null; // verify the required parameter 'caseId' is set @@ -8419,16 +7851,6 @@ public ApiResponse unwatchCaseWithHttpInfo(String caseId, String userUuid) */ public CompletableFuture> unwatchCaseWithHttpInfoAsync( String caseId, String userUuid) { - // Check if unstable operation is enabled - String operationId = "unwatchCase"; - if (apiClient.isUnstableOperationEnabled("v2." + operationId)) { - apiClient.getLogger().warning(String.format("Using unstable operation '%s'", operationId)); - } else { - CompletableFuture> result = new CompletableFuture<>(); - result.completeExceptionally( - new ApiException(0, String.format("Unstable operation '%s' is disabled", operationId))); - return result; - } Object localVarPostBody = null; // verify the required parameter 'caseId' is set @@ -8698,13 +8120,6 @@ public CompletableFuture updateCaseAutomationRuleAsync( */ public ApiResponse updateCaseAutomationRuleWithHttpInfo( String projectId, String ruleId, AutomationRuleUpdateRequest body) throws ApiException { - // Check if unstable operation is enabled - String operationId = "updateCaseAutomationRule"; - if (apiClient.isUnstableOperationEnabled("v2." + operationId)) { - apiClient.getLogger().warning(String.format("Using unstable operation '%s'", operationId)); - } else { - throw new ApiException(0, String.format("Unstable operation '%s' is disabled", operationId)); - } Object localVarPostBody = body; // verify the required parameter 'projectId' is set @@ -8765,16 +8180,6 @@ public ApiResponse updateCaseAutomationRuleWithHttpInfo( public CompletableFuture> updateCaseAutomationRuleWithHttpInfoAsync( String projectId, String ruleId, AutomationRuleUpdateRequest body) { - // Check if unstable operation is enabled - String operationId = "updateCaseAutomationRule"; - if (apiClient.isUnstableOperationEnabled("v2." + operationId)) { - apiClient.getLogger().warning(String.format("Using unstable operation '%s'", operationId)); - } else { - CompletableFuture> result = new CompletableFuture<>(); - result.completeExceptionally( - new ApiException(0, String.format("Unstable operation '%s' is disabled", operationId))); - return result; - } Object localVarPostBody = body; // verify the required parameter 'projectId' is set @@ -8897,13 +8302,6 @@ public CompletableFuture updateCaseCommentAsync( */ public ApiResponse updateCaseCommentWithHttpInfo( String caseId, String cellId, CaseUpdateCommentRequest body) throws ApiException { - // Check if unstable operation is enabled - String operationId = "updateCaseComment"; - if (apiClient.isUnstableOperationEnabled("v2." + operationId)) { - apiClient.getLogger().warning(String.format("Using unstable operation '%s'", operationId)); - } else { - throw new ApiException(0, String.format("Unstable operation '%s' is disabled", operationId)); - } Object localVarPostBody = body; // verify the required parameter 'caseId' is set @@ -8963,16 +8361,6 @@ public ApiResponse updateCaseCommentWithHttpInfo( */ public CompletableFuture> updateCaseCommentWithHttpInfoAsync( String caseId, String cellId, CaseUpdateCommentRequest body) { - // Check if unstable operation is enabled - String operationId = "updateCaseComment"; - if (apiClient.isUnstableOperationEnabled("v2." + operationId)) { - apiClient.getLogger().warning(String.format("Using unstable operation '%s'", operationId)); - } else { - CompletableFuture> result = new CompletableFuture<>(); - result.completeExceptionally( - new ApiException(0, String.format("Unstable operation '%s' is disabled", operationId))); - return result; - } Object localVarPostBody = body; // verify the required parameter 'caseId' is set @@ -9439,13 +8827,6 @@ public CompletableFuture updateCaseDueDateAsync( */ public ApiResponse updateCaseDueDateWithHttpInfo( String caseId, CaseUpdateDueDateRequest body) throws ApiException { - // Check if unstable operation is enabled - String operationId = "updateCaseDueDate"; - if (apiClient.isUnstableOperationEnabled("v2." + operationId)) { - apiClient.getLogger().warning(String.format("Using unstable operation '%s'", operationId)); - } else { - throw new ApiException(0, String.format("Unstable operation '%s' is disabled", operationId)); - } Object localVarPostBody = body; // verify the required parameter 'caseId' is set @@ -9497,16 +8878,6 @@ public ApiResponse updateCaseDueDateWithHttpInfo( */ public CompletableFuture> updateCaseDueDateWithHttpInfoAsync( String caseId, CaseUpdateDueDateRequest body) { - // Check if unstable operation is enabled - String operationId = "updateCaseDueDate"; - if (apiClient.isUnstableOperationEnabled("v2." + operationId)) { - apiClient.getLogger().warning(String.format("Using unstable operation '%s'", operationId)); - } else { - CompletableFuture> result = new CompletableFuture<>(); - result.completeExceptionally( - new ApiException(0, String.format("Unstable operation '%s' is disabled", operationId))); - return result; - } Object localVarPostBody = body; // verify the required parameter 'caseId' is set @@ -9615,13 +8986,6 @@ public CompletableFuture updateCaseResolvedReasonAsync( */ public ApiResponse updateCaseResolvedReasonWithHttpInfo( String caseId, CaseUpdateResolvedReasonRequest body) throws ApiException { - // Check if unstable operation is enabled - String operationId = "updateCaseResolvedReason"; - if (apiClient.isUnstableOperationEnabled("v2." + operationId)) { - apiClient.getLogger().warning(String.format("Using unstable operation '%s'", operationId)); - } else { - throw new ApiException(0, String.format("Unstable operation '%s' is disabled", operationId)); - } Object localVarPostBody = body; // verify the required parameter 'caseId' is set @@ -9673,16 +9037,6 @@ public ApiResponse updateCaseResolvedReasonWithHttpInfo( */ public CompletableFuture> updateCaseResolvedReasonWithHttpInfoAsync( String caseId, CaseUpdateResolvedReasonRequest body) { - // Check if unstable operation is enabled - String operationId = "updateCaseResolvedReason"; - if (apiClient.isUnstableOperationEnabled("v2." + operationId)) { - apiClient.getLogger().warning(String.format("Using unstable operation '%s'", operationId)); - } else { - CompletableFuture> result = new CompletableFuture<>(); - result.completeExceptionally( - new ApiException(0, String.format("Unstable operation '%s' is disabled", operationId))); - return result; - } Object localVarPostBody = body; // verify the required parameter 'caseId' is set @@ -9949,13 +9303,6 @@ public CompletableFuture updateCaseViewAsync( */ public ApiResponse updateCaseViewWithHttpInfo( String viewId, CaseViewUpdateRequest body) throws ApiException { - // Check if unstable operation is enabled - String operationId = "updateCaseView"; - if (apiClient.isUnstableOperationEnabled("v2." + operationId)) { - apiClient.getLogger().warning(String.format("Using unstable operation '%s'", operationId)); - } else { - throw new ApiException(0, String.format("Unstable operation '%s' is disabled", operationId)); - } Object localVarPostBody = body; // verify the required parameter 'viewId' is set @@ -10007,16 +9354,6 @@ public ApiResponse updateCaseViewWithHttpInfo( */ public CompletableFuture> updateCaseViewWithHttpInfoAsync( String viewId, CaseViewUpdateRequest body) { - // Check if unstable operation is enabled - String operationId = "updateCaseView"; - if (apiClient.isUnstableOperationEnabled("v2." + operationId)) { - apiClient.getLogger().warning(String.format("Using unstable operation '%s'", operationId)); - } else { - CompletableFuture> result = new CompletableFuture<>(); - result.completeExceptionally( - new ApiException(0, String.format("Unstable operation '%s' is disabled", operationId))); - return result; - } Object localVarPostBody = body; // verify the required parameter 'viewId' is set @@ -10124,13 +9461,6 @@ public CompletableFuture updateMaintenanceWindowAsync */ public ApiResponse updateMaintenanceWindowWithHttpInfo( String maintenanceWindowId, MaintenanceWindowUpdateRequest body) throws ApiException { - // Check if unstable operation is enabled - String operationId = "updateMaintenanceWindow"; - if (apiClient.isUnstableOperationEnabled("v2." + operationId)) { - apiClient.getLogger().warning(String.format("Using unstable operation '%s'", operationId)); - } else { - throw new ApiException(0, String.format("Unstable operation '%s' is disabled", operationId)); - } Object localVarPostBody = body; // verify the required parameter 'maintenanceWindowId' is set @@ -10187,16 +9517,6 @@ public ApiResponse updateMaintenanceWindowWithHttpInf public CompletableFuture> updateMaintenanceWindowWithHttpInfoAsync( String maintenanceWindowId, MaintenanceWindowUpdateRequest body) { - // Check if unstable operation is enabled - String operationId = "updateMaintenanceWindow"; - if (apiClient.isUnstableOperationEnabled("v2." + operationId)) { - apiClient.getLogger().warning(String.format("Using unstable operation '%s'", operationId)); - } else { - CompletableFuture> result = new CompletableFuture<>(); - result.completeExceptionally( - new ApiException(0, String.format("Unstable operation '%s' is disabled", operationId))); - return result; - } Object localVarPostBody = body; // verify the required parameter 'maintenanceWindowId' is set @@ -10971,13 +10291,6 @@ public CompletableFuture watchCaseAsync(String caseId, String userUuid) { */ public ApiResponse watchCaseWithHttpInfo(String caseId, String userUuid) throws ApiException { - // Check if unstable operation is enabled - String operationId = "watchCase"; - if (apiClient.isUnstableOperationEnabled("v2." + operationId)) { - apiClient.getLogger().warning(String.format("Using unstable operation '%s'", operationId)); - } else { - throw new ApiException(0, String.format("Unstable operation '%s' is disabled", operationId)); - } Object localVarPostBody = null; // verify the required parameter 'caseId' is set @@ -11029,16 +10342,6 @@ public ApiResponse watchCaseWithHttpInfo(String caseId, String userUuid) */ public CompletableFuture> watchCaseWithHttpInfoAsync( String caseId, String userUuid) { - // Check if unstable operation is enabled - String operationId = "watchCase"; - if (apiClient.isUnstableOperationEnabled("v2." + operationId)) { - apiClient.getLogger().warning(String.format("Using unstable operation '%s'", operationId)); - } else { - CompletableFuture> result = new CompletableFuture<>(); - result.completeExceptionally( - new ApiException(0, String.format("Unstable operation '%s' is disabled", operationId))); - return result; - } Object localVarPostBody = null; // verify the required parameter 'caseId' is set diff --git a/src/main/java/com/datadog/api/client/v2/api/CaseManagementAttributeApi.java b/src/main/java/com/datadog/api/client/v2/api/CaseManagementAttributeApi.java index 5a6fbd6dc8f..f846fd25d37 100644 --- a/src/main/java/com/datadog/api/client/v2/api/CaseManagementAttributeApi.java +++ b/src/main/java/com/datadog/api/client/v2/api/CaseManagementAttributeApi.java @@ -704,13 +704,6 @@ public CompletableFuture updateCustomAttributeCon public ApiResponse updateCustomAttributeConfigWithHttpInfo( String caseTypeId, String customAttributeId, CustomAttributeConfigUpdateRequest body) throws ApiException { - // Check if unstable operation is enabled - String operationId = "updateCustomAttributeConfig"; - if (apiClient.isUnstableOperationEnabled("v2." + operationId)) { - apiClient.getLogger().warning(String.format("Using unstable operation '%s'", operationId)); - } else { - throw new ApiException(0, String.format("Unstable operation '%s' is disabled", operationId)); - } Object localVarPostBody = body; // verify the required parameter 'caseTypeId' is set @@ -777,17 +770,6 @@ public ApiResponse updateCustomAttributeConfigWit public CompletableFuture> updateCustomAttributeConfigWithHttpInfoAsync( String caseTypeId, String customAttributeId, CustomAttributeConfigUpdateRequest body) { - // Check if unstable operation is enabled - String operationId = "updateCustomAttributeConfig"; - if (apiClient.isUnstableOperationEnabled("v2." + operationId)) { - apiClient.getLogger().warning(String.format("Using unstable operation '%s'", operationId)); - } else { - CompletableFuture> result = - new CompletableFuture<>(); - result.completeExceptionally( - new ApiException(0, String.format("Unstable operation '%s' is disabled", operationId))); - return result; - } Object localVarPostBody = body; // verify the required parameter 'caseTypeId' is set diff --git a/src/main/java/com/datadog/api/client/v2/api/CaseManagementTypeApi.java b/src/main/java/com/datadog/api/client/v2/api/CaseManagementTypeApi.java index df5685320d9..97b0c0b6847 100644 --- a/src/main/java/com/datadog/api/client/v2/api/CaseManagementTypeApi.java +++ b/src/main/java/com/datadog/api/client/v2/api/CaseManagementTypeApi.java @@ -476,13 +476,6 @@ public CompletableFuture updateCaseTypeAsync( */ public ApiResponse updateCaseTypeWithHttpInfo( String caseTypeId, CaseTypeUpdateRequest body) throws ApiException { - // Check if unstable operation is enabled - String operationId = "updateCaseType"; - if (apiClient.isUnstableOperationEnabled("v2." + operationId)) { - apiClient.getLogger().warning(String.format("Using unstable operation '%s'", operationId)); - } else { - throw new ApiException(0, String.format("Unstable operation '%s' is disabled", operationId)); - } Object localVarPostBody = body; // verify the required parameter 'caseTypeId' is set @@ -535,16 +528,6 @@ public ApiResponse updateCaseTypeWithHttpInfo( */ public CompletableFuture> updateCaseTypeWithHttpInfoAsync( String caseTypeId, CaseTypeUpdateRequest body) { - // Check if unstable operation is enabled - String operationId = "updateCaseType"; - if (apiClient.isUnstableOperationEnabled("v2." + operationId)) { - apiClient.getLogger().warning(String.format("Using unstable operation '%s'", operationId)); - } else { - CompletableFuture> result = new CompletableFuture<>(); - result.completeExceptionally( - new ApiException(0, String.format("Unstable operation '%s' is disabled", operationId))); - return result; - } Object localVarPostBody = body; // verify the required parameter 'caseTypeId' is set diff --git a/src/test/resources/com/datadog/api/client/v2/api/case_management.feature b/src/test/resources/com/datadog/api/client/v2/api/case_management.feature index 04f9d8e0698..8e2e9f6f6ad 100644 --- a/src/test/resources/com/datadog/api/client/v2/api/case_management.feature +++ b/src/test/resources/com/datadog/api/client/v2/api/case_management.feature @@ -12,8 +12,7 @@ Feature: Case Management @generated @skip @team:DataDog/case-management Scenario: Add insights to a case returns "Bad Request" response - Given operation "AddCaseInsights" enabled - And new "AddCaseInsights" request + Given new "AddCaseInsights" request And request contains "case_id" parameter from "REPLACE.ME" And body with value {"data": {"attributes": {"insights": [{"ref": "/monitors/12345?q=total", "resource_id": "12345", "type": "SECURITY_SIGNAL"}]}, "type": "case"}} When the request is sent @@ -21,8 +20,7 @@ Feature: Case Management @generated @skip @team:DataDog/case-management Scenario: Add insights to a case returns "Not Found" response - Given operation "AddCaseInsights" enabled - And new "AddCaseInsights" request + Given new "AddCaseInsights" request And request contains "case_id" parameter from "REPLACE.ME" And body with value {"data": {"attributes": {"insights": [{"ref": "/monitors/12345?q=total", "resource_id": "12345", "type": "SECURITY_SIGNAL"}]}, "type": "case"}} When the request is sent @@ -30,8 +28,7 @@ Feature: Case Management @generated @skip @team:DataDog/case-management Scenario: Add insights to a case returns "OK" response - Given operation "AddCaseInsights" enabled - And new "AddCaseInsights" request + Given new "AddCaseInsights" request And request contains "case_id" parameter from "REPLACE.ME" And body with value {"data": {"attributes": {"insights": [{"ref": "/monitors/12345?q=total", "resource_id": "12345", "type": "SECURITY_SIGNAL"}]}, "type": "case"}} When the request is sent @@ -39,24 +36,21 @@ Feature: Case Management @generated @skip @team:DataDog/case-management Scenario: Aggregate cases returns "Bad Request" response - Given operation "AggregateCases" enabled - And new "AggregateCases" request + Given new "AggregateCases" request And body with value {"data": {"attributes": {"group_by": {"groups": ["status"], "limit": 14}, "query_filter": "service:case-api"}, "type": "aggregate"}} When the request is sent Then the response status is 400 Bad Request @generated @skip @team:DataDog/case-management Scenario: Aggregate cases returns "Not Found" response - Given operation "AggregateCases" enabled - And new "AggregateCases" request + Given new "AggregateCases" request And body with value {"data": {"attributes": {"group_by": {"groups": ["status"], "limit": 14}, "query_filter": "service:case-api"}, "type": "aggregate"}} When the request is sent Then the response status is 404 Not Found @generated @skip @team:DataDog/case-management Scenario: Aggregate cases returns "OK" response - Given operation "AggregateCases" enabled - And new "AggregateCases" request + Given new "AggregateCases" request And body with value {"data": {"attributes": {"group_by": {"groups": ["status"], "limit": 14}, "query_filter": "service:case-api"}, "type": "aggregate"}} When the request is sent Then the response status is 200 OK @@ -117,24 +111,21 @@ Feature: Case Management @generated @skip @team:DataDog/case-management Scenario: Bulk update cases returns "Bad Request" response - Given operation "BulkUpdateCases" enabled - And new "BulkUpdateCases" request + Given new "BulkUpdateCases" request And body with value {"data": {"attributes": {"case_ids": ["case-id-1", "case-id-2"], "payload": {"priority": "P1"}, "type": "priority"}, "type": "bulk"}} When the request is sent Then the response status is 400 Bad Request @generated @skip @team:DataDog/case-management Scenario: Bulk update cases returns "Not Found" response - Given operation "BulkUpdateCases" enabled - And new "BulkUpdateCases" request + Given new "BulkUpdateCases" request And body with value {"data": {"attributes": {"case_ids": ["case-id-1", "case-id-2"], "payload": {"priority": "P1"}, "type": "priority"}, "type": "bulk"}} When the request is sent Then the response status is 404 Not Found @generated @skip @team:DataDog/case-management Scenario: Bulk update cases returns "OK" response - Given operation "BulkUpdateCases" enabled - And new "BulkUpdateCases" request + Given new "BulkUpdateCases" request And body with value {"data": {"attributes": {"case_ids": ["case-id-1", "case-id-2"], "payload": {"priority": "P1"}, "type": "priority"}, "type": "bulk"}} When the request is sent Then the response status is 200 OK @@ -167,29 +158,25 @@ Feature: Case Management @generated @skip @team:DataDog/case-management Scenario: Count cases returns "Bad Request" response - Given operation "CountCases" enabled - And new "CountCases" request + Given new "CountCases" request When the request is sent Then the response status is 400 Bad Request @generated @skip @team:DataDog/case-management Scenario: Count cases returns "Not Found" response - Given operation "CountCases" enabled - And new "CountCases" request + Given new "CountCases" request When the request is sent Then the response status is 404 Not Found @generated @skip @team:DataDog/case-management Scenario: Count cases returns "OK" response - Given operation "CountCases" enabled - And new "CountCases" request + Given new "CountCases" request When the request is sent Then the response status is 200 OK @generated @skip @team:DataDog/case-management Scenario: Create Jira issue for case returns "Accepted" response - Given operation "CreateCaseJiraIssue" enabled - And new "CreateCaseJiraIssue" request + Given new "CreateCaseJiraIssue" request And request contains "case_id" parameter from "REPLACE.ME" And body with value {"data": {"attributes": {"fields": {}, "issue_type_id": "10001", "jira_account_id": "1234", "project_id": "5678"}, "type": "issues"}} When the request is sent @@ -197,8 +184,7 @@ Feature: Case Management @generated @skip @team:DataDog/case-management Scenario: Create Jira issue for case returns "Bad Request" response - Given operation "CreateCaseJiraIssue" enabled - And new "CreateCaseJiraIssue" request + Given new "CreateCaseJiraIssue" request And request contains "case_id" parameter from "REPLACE.ME" And body with value {"data": {"attributes": {"fields": {}, "issue_type_id": "10001", "jira_account_id": "1234", "project_id": "5678"}, "type": "issues"}} When the request is sent @@ -206,8 +192,7 @@ Feature: Case Management @generated @skip @team:DataDog/case-management Scenario: Create Jira issue for case returns "Not Found" response - Given operation "CreateCaseJiraIssue" enabled - And new "CreateCaseJiraIssue" request + Given new "CreateCaseJiraIssue" request And request contains "case_id" parameter from "REPLACE.ME" And body with value {"data": {"attributes": {"fields": {}, "issue_type_id": "10001", "jira_account_id": "1234", "project_id": "5678"}, "type": "issues"}} When the request is sent @@ -215,8 +200,7 @@ Feature: Case Management @generated @skip @team:DataDog/case-management Scenario: Create ServiceNow ticket for case returns "Accepted" response - Given operation "CreateCaseServiceNowTicket" enabled - And new "CreateCaseServiceNowTicket" request + Given new "CreateCaseServiceNowTicket" request And request contains "case_id" parameter from "REPLACE.ME" And body with value {"data": {"attributes": {"assignment_group": "IT Support", "instance_name": "my-instance"}, "type": "tickets"}} When the request is sent @@ -224,8 +208,7 @@ Feature: Case Management @generated @skip @team:DataDog/case-management Scenario: Create ServiceNow ticket for case returns "Bad Request" response - Given operation "CreateCaseServiceNowTicket" enabled - And new "CreateCaseServiceNowTicket" request + Given new "CreateCaseServiceNowTicket" request And request contains "case_id" parameter from "REPLACE.ME" And body with value {"data": {"attributes": {"assignment_group": "IT Support", "instance_name": "my-instance"}, "type": "tickets"}} When the request is sent @@ -233,8 +216,7 @@ Feature: Case Management @generated @skip @team:DataDog/case-management Scenario: Create ServiceNow ticket for case returns "Not Found" response - Given operation "CreateCaseServiceNowTicket" enabled - And new "CreateCaseServiceNowTicket" request + Given new "CreateCaseServiceNowTicket" request And request contains "case_id" parameter from "REPLACE.ME" And body with value {"data": {"attributes": {"assignment_group": "IT Support", "instance_name": "my-instance"}, "type": "tickets"}} When the request is sent @@ -242,24 +224,21 @@ Feature: Case Management @generated @skip @team:DataDog/case-management Scenario: Create a case link returns "Bad Request" response - Given operation "CreateCaseLink" enabled - And new "CreateCaseLink" request + Given new "CreateCaseLink" request And body with value {"data": {"attributes": {"child_entity_id": "4417921d-0866-4a38-822c-6f2a0f65f77d", "child_entity_type": "CASE", "parent_entity_id": "bf0cbac6-4c16-4cfb-b6bf-ca5e0ec37a4f", "parent_entity_type": "CASE", "relationship": "BLOCKS"}, "type": "link"}} When the request is sent Then the response status is 400 Bad Request @generated @skip @team:DataDog/case-management Scenario: Create a case link returns "Created" response - Given operation "CreateCaseLink" enabled - And new "CreateCaseLink" request + Given new "CreateCaseLink" request And body with value {"data": {"attributes": {"child_entity_id": "4417921d-0866-4a38-822c-6f2a0f65f77d", "child_entity_type": "CASE", "parent_entity_id": "bf0cbac6-4c16-4cfb-b6bf-ca5e0ec37a4f", "parent_entity_type": "CASE", "relationship": "BLOCKS"}, "type": "link"}} When the request is sent Then the response status is 201 Created @generated @skip @team:DataDog/case-management Scenario: Create a case link returns "Not Found" response - Given operation "CreateCaseLink" enabled - And new "CreateCaseLink" request + Given new "CreateCaseLink" request And body with value {"data": {"attributes": {"child_entity_id": "4417921d-0866-4a38-822c-6f2a0f65f77d", "child_entity_type": "CASE", "parent_entity_id": "bf0cbac6-4c16-4cfb-b6bf-ca5e0ec37a4f", "parent_entity_type": "CASE", "relationship": "BLOCKS"}, "type": "link"}} When the request is sent Then the response status is 404 Not Found @@ -292,48 +271,42 @@ Feature: Case Management @generated @skip @team:DataDog/case-management Scenario: Create a case view returns "Bad Request" response - Given operation "CreateCaseView" enabled - And new "CreateCaseView" request + Given new "CreateCaseView" request And body with value {"data": {"attributes": {"name": "Open bugs", "project_id": "e555e290-ed65-49bd-ae18-8acbfcf18db7", "query": "status:open type:bug"}, "type": "view"}} When the request is sent Then the response status is 400 Bad Request @generated @skip @team:DataDog/case-management Scenario: Create a case view returns "Created" response - Given operation "CreateCaseView" enabled - And new "CreateCaseView" request + Given new "CreateCaseView" request And body with value {"data": {"attributes": {"name": "Open bugs", "project_id": "e555e290-ed65-49bd-ae18-8acbfcf18db7", "query": "status:open type:bug"}, "type": "view"}} When the request is sent Then the response status is 201 Created @generated @skip @team:DataDog/case-management Scenario: Create a case view returns "Not Found" response - Given operation "CreateCaseView" enabled - And new "CreateCaseView" request + Given new "CreateCaseView" request And body with value {"data": {"attributes": {"name": "Open bugs", "project_id": "e555e290-ed65-49bd-ae18-8acbfcf18db7", "query": "status:open type:bug"}, "type": "view"}} When the request is sent Then the response status is 404 Not Found @generated @skip @team:DataDog/case-management Scenario: Create a maintenance window returns "Bad Request" response - Given operation "CreateMaintenanceWindow" enabled - And new "CreateMaintenanceWindow" request + Given new "CreateMaintenanceWindow" request And body with value {"data": {"attributes": {"end_at": "2026-06-01T06:00:00Z", "name": "Weekly maintenance", "query": "project:SEC", "start_at": "2026-06-01T00:00:00Z"}, "type": "maintenance_window"}} When the request is sent Then the response status is 400 Bad Request @generated @skip @team:DataDog/case-management Scenario: Create a maintenance window returns "Created" response - Given operation "CreateMaintenanceWindow" enabled - And new "CreateMaintenanceWindow" request + Given new "CreateMaintenanceWindow" request And body with value {"data": {"attributes": {"end_at": "2026-06-01T06:00:00Z", "name": "Weekly maintenance", "query": "project:SEC", "start_at": "2026-06-01T00:00:00Z"}, "type": "maintenance_window"}} When the request is sent Then the response status is 201 Created @generated @skip @team:DataDog/case-management Scenario: Create a maintenance window returns "Not Found" response - Given operation "CreateMaintenanceWindow" enabled - And new "CreateMaintenanceWindow" request + Given new "CreateMaintenanceWindow" request And body with value {"data": {"attributes": {"end_at": "2026-06-01T06:00:00Z", "name": "Weekly maintenance", "query": "project:SEC", "start_at": "2026-06-01T00:00:00Z"}, "type": "maintenance_window"}} When the request is sent Then the response status is 404 Not Found @@ -385,8 +358,7 @@ Feature: Case Management @generated @skip @team:DataDog/case-management Scenario: Create an automation rule returns "Bad Request" response - Given operation "CreateCaseAutomationRule" enabled - And new "CreateCaseAutomationRule" request + Given new "CreateCaseAutomationRule" request And request contains "project_id" parameter from "REPLACE.ME" And body with value {"data": {"attributes": {"action": {"data": {"handle": "workflow-handle-123"}, "type": "execute_workflow"}, "name": "Auto-assign workflow", "state": "ENABLED", "trigger": {"data": {}, "type": "case_created"}}, "type": "rule"}} When the request is sent @@ -394,8 +366,7 @@ Feature: Case Management @generated @skip @team:DataDog/case-management Scenario: Create an automation rule returns "Created" response - Given operation "CreateCaseAutomationRule" enabled - And new "CreateCaseAutomationRule" request + Given new "CreateCaseAutomationRule" request And request contains "project_id" parameter from "REPLACE.ME" And body with value {"data": {"attributes": {"action": {"data": {"handle": "workflow-handle-123"}, "type": "execute_workflow"}, "name": "Auto-assign workflow", "state": "ENABLED", "trigger": {"data": {}, "type": "case_created"}}, "type": "rule"}} When the request is sent @@ -403,8 +374,7 @@ Feature: Case Management @generated @skip @team:DataDog/case-management Scenario: Create an automation rule returns "Not Found" response - Given operation "CreateCaseAutomationRule" enabled - And new "CreateCaseAutomationRule" request + Given new "CreateCaseAutomationRule" request And request contains "project_id" parameter from "REPLACE.ME" And body with value {"data": {"attributes": {"action": {"data": {"handle": "workflow-handle-123"}, "type": "execute_workflow"}, "name": "Auto-assign workflow", "state": "ENABLED", "trigger": {"data": {}, "type": "case_created"}}, "type": "rule"}} When the request is sent @@ -412,8 +382,7 @@ Feature: Case Management @generated @skip @team:DataDog/case-management Scenario: Create investigation notebook for case returns "Bad Request" response - Given operation "CreateCaseNotebook" enabled - And new "CreateCaseNotebook" request + Given new "CreateCaseNotebook" request And request contains "case_id" parameter from "REPLACE.ME" And body with value {"data": {"type": "notebook"}} When the request is sent @@ -421,8 +390,7 @@ Feature: Case Management @generated @skip @team:DataDog/case-management Scenario: Create investigation notebook for case returns "No Content" response - Given operation "CreateCaseNotebook" enabled - And new "CreateCaseNotebook" request + Given new "CreateCaseNotebook" request And request contains "case_id" parameter from "REPLACE.ME" And body with value {"data": {"type": "notebook"}} When the request is sent @@ -430,8 +398,7 @@ Feature: Case Management @generated @skip @team:DataDog/case-management Scenario: Create investigation notebook for case returns "Not Found" response - Given operation "CreateCaseNotebook" enabled - And new "CreateCaseNotebook" request + Given new "CreateCaseNotebook" request And request contains "case_id" parameter from "REPLACE.ME" And body with value {"data": {"type": "notebook"}} When the request is sent @@ -439,72 +406,63 @@ Feature: Case Management @generated @skip @team:DataDog/case-management Scenario: Delete a case link returns "Bad Request" response - Given operation "DeleteCaseLink" enabled - And new "DeleteCaseLink" request + Given new "DeleteCaseLink" request And request contains "link_id" parameter from "REPLACE.ME" When the request is sent Then the response status is 400 Bad Request @generated @skip @team:DataDog/case-management Scenario: Delete a case link returns "No Content" response - Given operation "DeleteCaseLink" enabled - And new "DeleteCaseLink" request + Given new "DeleteCaseLink" request And request contains "link_id" parameter from "REPLACE.ME" When the request is sent Then the response status is 204 No Content @generated @skip @team:DataDog/case-management Scenario: Delete a case link returns "Not Found" response - Given operation "DeleteCaseLink" enabled - And new "DeleteCaseLink" request + Given new "DeleteCaseLink" request And request contains "link_id" parameter from "REPLACE.ME" When the request is sent Then the response status is 404 Not Found @generated @skip @team:DataDog/case-management Scenario: Delete a case view returns "Bad Request" response - Given operation "DeleteCaseView" enabled - And new "DeleteCaseView" request + Given new "DeleteCaseView" request And request contains "view_id" parameter from "REPLACE.ME" When the request is sent Then the response status is 400 Bad Request @generated @skip @team:DataDog/case-management Scenario: Delete a case view returns "No Content" response - Given operation "DeleteCaseView" enabled - And new "DeleteCaseView" request + Given new "DeleteCaseView" request And request contains "view_id" parameter from "REPLACE.ME" When the request is sent Then the response status is 204 No Content @generated @skip @team:DataDog/case-management Scenario: Delete a case view returns "Not Found" response - Given operation "DeleteCaseView" enabled - And new "DeleteCaseView" request + Given new "DeleteCaseView" request And request contains "view_id" parameter from "REPLACE.ME" When the request is sent Then the response status is 404 Not Found @generated @skip @team:DataDog/case-management Scenario: Delete a maintenance window returns "Bad Request" response - Given operation "DeleteMaintenanceWindow" enabled - And new "DeleteMaintenanceWindow" request + Given new "DeleteMaintenanceWindow" request And request contains "maintenance_window_id" parameter from "REPLACE.ME" When the request is sent Then the response status is 400 Bad Request @generated @skip @team:DataDog/case-management Scenario: Delete a maintenance window returns "No Content" response - Given operation "DeleteMaintenanceWindow" enabled - And new "DeleteMaintenanceWindow" request + Given new "DeleteMaintenanceWindow" request And request contains "maintenance_window_id" parameter from "REPLACE.ME" When the request is sent Then the response status is 204 No Content @generated @skip @team:DataDog/case-management Scenario: Delete a maintenance window returns "Not Found" response - Given operation "DeleteMaintenanceWindow" enabled - And new "DeleteMaintenanceWindow" request + Given new "DeleteMaintenanceWindow" request And request contains "maintenance_window_id" parameter from "REPLACE.ME" When the request is sent Then the response status is 404 Not Found @@ -527,8 +485,7 @@ Feature: Case Management @generated @skip @team:DataDog/case-management Scenario: Delete an automation rule returns "No Content" response - Given operation "DeleteCaseAutomationRule" enabled - And new "DeleteCaseAutomationRule" request + Given new "DeleteCaseAutomationRule" request And request contains "project_id" parameter from "REPLACE.ME" And request contains "rule_id" parameter from "REPLACE.ME" When the request is sent @@ -536,8 +493,7 @@ Feature: Case Management @generated @skip @team:DataDog/case-management Scenario: Delete an automation rule returns "Not Found" response - Given operation "DeleteCaseAutomationRule" enabled - And new "DeleteCaseAutomationRule" request + Given new "DeleteCaseAutomationRule" request And request contains "project_id" parameter from "REPLACE.ME" And request contains "rule_id" parameter from "REPLACE.ME" When the request is sent @@ -593,8 +549,7 @@ Feature: Case Management @generated @skip @team:DataDog/case-management Scenario: Disable an automation rule returns "Bad Request" response - Given operation "DisableCaseAutomationRule" enabled - And new "DisableCaseAutomationRule" request + Given new "DisableCaseAutomationRule" request And request contains "project_id" parameter from "REPLACE.ME" And request contains "rule_id" parameter from "REPLACE.ME" When the request is sent @@ -602,8 +557,7 @@ Feature: Case Management @generated @skip @team:DataDog/case-management Scenario: Disable an automation rule returns "Not Found" response - Given operation "DisableCaseAutomationRule" enabled - And new "DisableCaseAutomationRule" request + Given new "DisableCaseAutomationRule" request And request contains "project_id" parameter from "REPLACE.ME" And request contains "rule_id" parameter from "REPLACE.ME" When the request is sent @@ -611,8 +565,7 @@ Feature: Case Management @generated @skip @team:DataDog/case-management Scenario: Disable an automation rule returns "OK" response - Given operation "DisableCaseAutomationRule" enabled - And new "DisableCaseAutomationRule" request + Given new "DisableCaseAutomationRule" request And request contains "project_id" parameter from "REPLACE.ME" And request contains "rule_id" parameter from "REPLACE.ME" When the request is sent @@ -620,8 +573,7 @@ Feature: Case Management @generated @skip @team:DataDog/case-management Scenario: Enable an automation rule returns "Bad Request" response - Given operation "EnableCaseAutomationRule" enabled - And new "EnableCaseAutomationRule" request + Given new "EnableCaseAutomationRule" request And request contains "project_id" parameter from "REPLACE.ME" And request contains "rule_id" parameter from "REPLACE.ME" When the request is sent @@ -629,8 +581,7 @@ Feature: Case Management @generated @skip @team:DataDog/case-management Scenario: Enable an automation rule returns "Not Found" response - Given operation "EnableCaseAutomationRule" enabled - And new "EnableCaseAutomationRule" request + Given new "EnableCaseAutomationRule" request And request contains "project_id" parameter from "REPLACE.ME" And request contains "rule_id" parameter from "REPLACE.ME" When the request is sent @@ -638,8 +589,7 @@ Feature: Case Management @generated @skip @team:DataDog/case-management Scenario: Enable an automation rule returns "OK" response - Given operation "EnableCaseAutomationRule" enabled - And new "EnableCaseAutomationRule" request + Given new "EnableCaseAutomationRule" request And request contains "project_id" parameter from "REPLACE.ME" And request contains "rule_id" parameter from "REPLACE.ME" When the request is sent @@ -647,48 +597,42 @@ Feature: Case Management @generated @skip @team:DataDog/case-management Scenario: Favorite a project returns "Bad Request" response - Given operation "FavoriteCaseProject" enabled - And new "FavoriteCaseProject" request + Given new "FavoriteCaseProject" request And request contains "project_id" parameter from "REPLACE.ME" When the request is sent Then the response status is 400 Bad Request @generated @skip @team:DataDog/case-management Scenario: Favorite a project returns "No Content" response - Given operation "FavoriteCaseProject" enabled - And new "FavoriteCaseProject" request + Given new "FavoriteCaseProject" request And request contains "project_id" parameter from "REPLACE.ME" When the request is sent Then the response status is 204 No Content @generated @skip @team:DataDog/case-management Scenario: Favorite a project returns "Not Found" response - Given operation "FavoriteCaseProject" enabled - And new "FavoriteCaseProject" request + Given new "FavoriteCaseProject" request And request contains "project_id" parameter from "REPLACE.ME" When the request is sent Then the response status is 404 Not Found @generated @skip @team:DataDog/case-management Scenario: Get a case view returns "Bad Request" response - Given operation "GetCaseView" enabled - And new "GetCaseView" request + Given new "GetCaseView" request And request contains "view_id" parameter from "REPLACE.ME" When the request is sent Then the response status is 400 Bad Request @generated @skip @team:DataDog/case-management Scenario: Get a case view returns "Not Found" response - Given operation "GetCaseView" enabled - And new "GetCaseView" request + Given new "GetCaseView" request And request contains "view_id" parameter from "REPLACE.ME" When the request is sent Then the response status is 404 Not Found @generated @skip @team:DataDog/case-management Scenario: Get a case view returns "OK" response - Given operation "GetCaseView" enabled - And new "GetCaseView" request + Given new "GetCaseView" request And request contains "view_id" parameter from "REPLACE.ME" When the request is sent Then the response status is 200 OK @@ -713,8 +657,7 @@ Feature: Case Management @generated @skip @team:DataDog/case-management Scenario: Get an automation rule returns "Bad Request" response - Given operation "GetCaseAutomationRule" enabled - And new "GetCaseAutomationRule" request + Given new "GetCaseAutomationRule" request And request contains "project_id" parameter from "REPLACE.ME" And request contains "rule_id" parameter from "REPLACE.ME" When the request is sent @@ -722,8 +665,7 @@ Feature: Case Management @generated @skip @team:DataDog/case-management Scenario: Get an automation rule returns "Not Found" response - Given operation "GetCaseAutomationRule" enabled - And new "GetCaseAutomationRule" request + Given new "GetCaseAutomationRule" request And request contains "project_id" parameter from "REPLACE.ME" And request contains "rule_id" parameter from "REPLACE.ME" When the request is sent @@ -731,8 +673,7 @@ Feature: Case Management @generated @skip @team:DataDog/case-management Scenario: Get an automation rule returns "OK" response - Given operation "GetCaseAutomationRule" enabled - And new "GetCaseAutomationRule" request + Given new "GetCaseAutomationRule" request And request contains "project_id" parameter from "REPLACE.ME" And request contains "rule_id" parameter from "REPLACE.ME" When the request is sent @@ -740,24 +681,21 @@ Feature: Case Management @generated @skip @team:DataDog/case-management Scenario: Get case timeline returns "Bad Request" response - Given operation "ListCaseTimeline" enabled - And new "ListCaseTimeline" request + Given new "ListCaseTimeline" request And request contains "case_id" parameter from "REPLACE.ME" When the request is sent Then the response status is 400 Bad Request @generated @skip @team:DataDog/case-management Scenario: Get case timeline returns "Not Found" response - Given operation "ListCaseTimeline" enabled - And new "ListCaseTimeline" request + Given new "ListCaseTimeline" request And request contains "case_id" parameter from "REPLACE.ME" When the request is sent Then the response status is 404 Not Found @generated @skip @team:DataDog/case-management Scenario: Get case timeline returns "OK" response - Given operation "ListCaseTimeline" enabled - And new "ListCaseTimeline" request + Given new "ListCaseTimeline" request And request contains "case_id" parameter from "REPLACE.ME" When the request is sent Then the response status is 200 OK @@ -829,8 +767,7 @@ Feature: Case Management @generated @skip @team:DataDog/case-management Scenario: Link existing Jira issue to case returns "Bad Request" response - Given operation "LinkJiraIssueToCase" enabled - And new "LinkJiraIssueToCase" request + Given new "LinkJiraIssueToCase" request And request contains "case_id" parameter from "REPLACE.ME" And body with value {"data": {"attributes": {"jira_issue_url": "https://jira.example.com/browse/PROJ-123"}, "type": "issues"}} When the request is sent @@ -838,8 +775,7 @@ Feature: Case Management @generated @skip @team:DataDog/case-management Scenario: Link existing Jira issue to case returns "Conflict" response - Given operation "LinkJiraIssueToCase" enabled - And new "LinkJiraIssueToCase" request + Given new "LinkJiraIssueToCase" request And request contains "case_id" parameter from "REPLACE.ME" And body with value {"data": {"attributes": {"jira_issue_url": "https://jira.example.com/browse/PROJ-123"}, "type": "issues"}} When the request is sent @@ -847,8 +783,7 @@ Feature: Case Management @generated @skip @team:DataDog/case-management Scenario: Link existing Jira issue to case returns "No Content" response - Given operation "LinkJiraIssueToCase" enabled - And new "LinkJiraIssueToCase" request + Given new "LinkJiraIssueToCase" request And request contains "case_id" parameter from "REPLACE.ME" And body with value {"data": {"attributes": {"jira_issue_url": "https://jira.example.com/browse/PROJ-123"}, "type": "issues"}} When the request is sent @@ -856,8 +791,7 @@ Feature: Case Management @generated @skip @team:DataDog/case-management Scenario: Link existing Jira issue to case returns "Not Found" response - Given operation "LinkJiraIssueToCase" enabled - And new "LinkJiraIssueToCase" request + Given new "LinkJiraIssueToCase" request And request contains "case_id" parameter from "REPLACE.ME" And body with value {"data": {"attributes": {"jira_issue_url": "https://jira.example.com/browse/PROJ-123"}, "type": "issues"}} When the request is sent @@ -865,8 +799,7 @@ Feature: Case Management @generated @skip @team:DataDog/case-management Scenario: Link incident to case returns "Bad Request" response - Given operation "LinkIncident" enabled - And new "LinkIncident" request + Given new "LinkIncident" request And request contains "case_id" parameter from "REPLACE.ME" And body with value {"data": {"id": "00000000-0000-0000-0000-000000000000", "type": "incidents"}} When the request is sent @@ -874,8 +807,7 @@ Feature: Case Management @generated @skip @team:DataDog/case-management Scenario: Link incident to case returns "Created" response - Given operation "LinkIncident" enabled - And new "LinkIncident" request + Given new "LinkIncident" request And request contains "case_id" parameter from "REPLACE.ME" And body with value {"data": {"id": "00000000-0000-0000-0000-000000000000", "type": "incidents"}} When the request is sent @@ -883,8 +815,7 @@ Feature: Case Management @generated @skip @team:DataDog/case-management Scenario: Link incident to case returns "Not Found" response - Given operation "LinkIncident" enabled - And new "LinkIncident" request + Given new "LinkIncident" request And request contains "case_id" parameter from "REPLACE.ME" And body with value {"data": {"id": "00000000-0000-0000-0000-000000000000", "type": "incidents"}} When the request is sent @@ -892,32 +823,28 @@ Feature: Case Management @generated @skip @team:DataDog/case-management Scenario: List automation rules returns "Bad Request" response - Given operation "ListCaseAutomationRules" enabled - And new "ListCaseAutomationRules" request + Given new "ListCaseAutomationRules" request And request contains "project_id" parameter from "REPLACE.ME" When the request is sent Then the response status is 400 Bad Request @generated @skip @team:DataDog/case-management Scenario: List automation rules returns "Not Found" response - Given operation "ListCaseAutomationRules" enabled - And new "ListCaseAutomationRules" request + Given new "ListCaseAutomationRules" request And request contains "project_id" parameter from "REPLACE.ME" When the request is sent Then the response status is 404 Not Found @generated @skip @team:DataDog/case-management Scenario: List automation rules returns "OK" response - Given operation "ListCaseAutomationRules" enabled - And new "ListCaseAutomationRules" request + Given new "ListCaseAutomationRules" request And request contains "project_id" parameter from "REPLACE.ME" When the request is sent Then the response status is 200 OK @generated @skip @team:DataDog/case-management Scenario: List case links returns "Bad Request" response - Given operation "ListCaseLinks" enabled - And new "ListCaseLinks" request + Given new "ListCaseLinks" request And request contains "entity_type" parameter from "REPLACE.ME" And request contains "entity_id" parameter from "REPLACE.ME" When the request is sent @@ -925,8 +852,7 @@ Feature: Case Management @generated @skip @team:DataDog/case-management Scenario: List case links returns "Not Found" response - Given operation "ListCaseLinks" enabled - And new "ListCaseLinks" request + Given new "ListCaseLinks" request And request contains "entity_type" parameter from "REPLACE.ME" And request contains "entity_id" parameter from "REPLACE.ME" When the request is sent @@ -934,8 +860,7 @@ Feature: Case Management @generated @skip @team:DataDog/case-management Scenario: List case links returns "OK" response - Given operation "ListCaseLinks" enabled - And new "ListCaseLinks" request + Given new "ListCaseLinks" request And request contains "entity_type" parameter from "REPLACE.ME" And request contains "entity_id" parameter from "REPLACE.ME" When the request is sent @@ -943,114 +868,99 @@ Feature: Case Management @generated @skip @team:DataDog/case-management Scenario: List case views returns "Bad Request" response - Given operation "ListCaseViews" enabled - And new "ListCaseViews" request + Given new "ListCaseViews" request And request contains "project_id" parameter from "REPLACE.ME" When the request is sent Then the response status is 400 Bad Request @generated @skip @team:DataDog/case-management Scenario: List case views returns "Not Found" response - Given operation "ListCaseViews" enabled - And new "ListCaseViews" request + Given new "ListCaseViews" request And request contains "project_id" parameter from "REPLACE.ME" When the request is sent Then the response status is 404 Not Found @generated @skip @team:DataDog/case-management Scenario: List case views returns "OK" response - Given operation "ListCaseViews" enabled - And new "ListCaseViews" request + Given new "ListCaseViews" request And request contains "project_id" parameter from "REPLACE.ME" When the request is sent Then the response status is 200 OK @generated @skip @team:DataDog/case-management Scenario: List case watchers returns "Bad Request" response - Given operation "ListCaseWatchers" enabled - And new "ListCaseWatchers" request + Given new "ListCaseWatchers" request And request contains "case_id" parameter from "REPLACE.ME" When the request is sent Then the response status is 400 Bad Request @generated @skip @team:DataDog/case-management Scenario: List case watchers returns "Not Found" response - Given operation "ListCaseWatchers" enabled - And new "ListCaseWatchers" request + Given new "ListCaseWatchers" request And request contains "case_id" parameter from "REPLACE.ME" When the request is sent Then the response status is 404 Not Found @generated @skip @team:DataDog/case-management Scenario: List case watchers returns "OK" response - Given operation "ListCaseWatchers" enabled - And new "ListCaseWatchers" request + Given new "ListCaseWatchers" request And request contains "case_id" parameter from "REPLACE.ME" When the request is sent Then the response status is 200 OK @generated @skip @team:DataDog/case-management Scenario: List maintenance windows returns "Bad Request" response - Given operation "ListMaintenanceWindows" enabled - And new "ListMaintenanceWindows" request + Given new "ListMaintenanceWindows" request When the request is sent Then the response status is 400 Bad Request @generated @skip @team:DataDog/case-management Scenario: List maintenance windows returns "Not Found" response - Given operation "ListMaintenanceWindows" enabled - And new "ListMaintenanceWindows" request + Given new "ListMaintenanceWindows" request When the request is sent Then the response status is 404 Not Found @generated @skip @team:DataDog/case-management Scenario: List maintenance windows returns "OK" response - Given operation "ListMaintenanceWindows" enabled - And new "ListMaintenanceWindows" request + Given new "ListMaintenanceWindows" request When the request is sent Then the response status is 200 OK @generated @skip @team:DataDog/case-management Scenario: List project favorites returns "Bad Request" response - Given operation "ListUserCaseProjectFavorites" enabled - And new "ListUserCaseProjectFavorites" request + Given new "ListUserCaseProjectFavorites" request When the request is sent Then the response status is 400 Bad Request @generated @skip @team:DataDog/case-management Scenario: List project favorites returns "Not Found" response - Given operation "ListUserCaseProjectFavorites" enabled - And new "ListUserCaseProjectFavorites" request + Given new "ListUserCaseProjectFavorites" request When the request is sent Then the response status is 404 Not Found @generated @skip @team:DataDog/case-management Scenario: List project favorites returns "OK" response - Given operation "ListUserCaseProjectFavorites" enabled - And new "ListUserCaseProjectFavorites" request + Given new "ListUserCaseProjectFavorites" request When the request is sent Then the response status is 200 OK @generated @skip @team:DataDog/case-management Scenario: Remove Jira issue link from case returns "Bad Request" response - Given operation "UnlinkJiraIssue" enabled - And new "UnlinkJiraIssue" request + Given new "UnlinkJiraIssue" request And request contains "case_id" parameter from "REPLACE.ME" When the request is sent Then the response status is 400 Bad Request @generated @skip @team:DataDog/case-management Scenario: Remove Jira issue link from case returns "No Content" response - Given operation "UnlinkJiraIssue" enabled - And new "UnlinkJiraIssue" request + Given new "UnlinkJiraIssue" request And request contains "case_id" parameter from "REPLACE.ME" When the request is sent Then the response status is 204 No Content @generated @skip @team:DataDog/case-management Scenario: Remove Jira issue link from case returns "Not Found" response - Given operation "UnlinkJiraIssue" enabled - And new "UnlinkJiraIssue" request + Given new "UnlinkJiraIssue" request And request contains "case_id" parameter from "REPLACE.ME" When the request is sent Then the response status is 404 Not Found @@ -1071,8 +981,7 @@ Feature: Case Management @generated @skip @team:DataDog/case-management Scenario: Remove insights from a case returns "Bad Request" response - Given operation "RemoveCaseInsights" enabled - And new "RemoveCaseInsights" request + Given new "RemoveCaseInsights" request And request contains "case_id" parameter from "REPLACE.ME" And body with value {"data": {"attributes": {"insights": [{"ref": "/monitors/12345?q=total", "resource_id": "12345", "type": "SECURITY_SIGNAL"}]}, "type": "case"}} When the request is sent @@ -1080,8 +989,7 @@ Feature: Case Management @generated @skip @team:DataDog/case-management Scenario: Remove insights from a case returns "Not Found" response - Given operation "RemoveCaseInsights" enabled - And new "RemoveCaseInsights" request + Given new "RemoveCaseInsights" request And request contains "case_id" parameter from "REPLACE.ME" And body with value {"data": {"attributes": {"insights": [{"ref": "/monitors/12345?q=total", "resource_id": "12345", "type": "SECURITY_SIGNAL"}]}, "type": "case"}} When the request is sent @@ -1089,8 +997,7 @@ Feature: Case Management @generated @skip @team:DataDog/case-management Scenario: Remove insights from a case returns "OK" response - Given operation "RemoveCaseInsights" enabled - And new "RemoveCaseInsights" request + Given new "RemoveCaseInsights" request And request contains "case_id" parameter from "REPLACE.ME" And body with value {"data": {"attributes": {"insights": [{"ref": "/monitors/12345?q=total", "resource_id": "12345", "type": "SECURITY_SIGNAL"}]}, "type": "case"}} When the request is sent @@ -1177,32 +1084,28 @@ Feature: Case Management @generated @skip @team:DataDog/case-management Scenario: Unfavorite a project returns "Bad Request" response - Given operation "UnfavoriteCaseProject" enabled - And new "UnfavoriteCaseProject" request + Given new "UnfavoriteCaseProject" request And request contains "project_id" parameter from "REPLACE.ME" When the request is sent Then the response status is 400 Bad Request @generated @skip @team:DataDog/case-management Scenario: Unfavorite a project returns "No Content" response - Given operation "UnfavoriteCaseProject" enabled - And new "UnfavoriteCaseProject" request + Given new "UnfavoriteCaseProject" request And request contains "project_id" parameter from "REPLACE.ME" When the request is sent Then the response status is 204 No Content @generated @skip @team:DataDog/case-management Scenario: Unfavorite a project returns "Not Found" response - Given operation "UnfavoriteCaseProject" enabled - And new "UnfavoriteCaseProject" request + Given new "UnfavoriteCaseProject" request And request contains "project_id" parameter from "REPLACE.ME" When the request is sent Then the response status is 404 Not Found @generated @skip @team:DataDog/case-management Scenario: Unwatch a case returns "Bad Request" response - Given operation "UnwatchCase" enabled - And new "UnwatchCase" request + Given new "UnwatchCase" request And request contains "case_id" parameter from "REPLACE.ME" And request contains "user_uuid" parameter from "REPLACE.ME" When the request is sent @@ -1210,8 +1113,7 @@ Feature: Case Management @generated @skip @team:DataDog/case-management Scenario: Unwatch a case returns "No Content" response - Given operation "UnwatchCase" enabled - And new "UnwatchCase" request + Given new "UnwatchCase" request And request contains "case_id" parameter from "REPLACE.ME" And request contains "user_uuid" parameter from "REPLACE.ME" When the request is sent @@ -1219,8 +1121,7 @@ Feature: Case Management @generated @skip @team:DataDog/case-management Scenario: Unwatch a case returns "Not Found" response - Given operation "UnwatchCase" enabled - And new "UnwatchCase" request + Given new "UnwatchCase" request And request contains "case_id" parameter from "REPLACE.ME" And request contains "user_uuid" parameter from "REPLACE.ME" When the request is sent @@ -1228,8 +1129,7 @@ Feature: Case Management @generated @skip @team:DataDog/case-management Scenario: Update a case view returns "Bad Request" response - Given operation "UpdateCaseView" enabled - And new "UpdateCaseView" request + Given new "UpdateCaseView" request And request contains "view_id" parameter from "REPLACE.ME" And body with value {"data": {"attributes": {}, "type": "view"}} When the request is sent @@ -1237,8 +1137,7 @@ Feature: Case Management @generated @skip @team:DataDog/case-management Scenario: Update a case view returns "Not Found" response - Given operation "UpdateCaseView" enabled - And new "UpdateCaseView" request + Given new "UpdateCaseView" request And request contains "view_id" parameter from "REPLACE.ME" And body with value {"data": {"attributes": {}, "type": "view"}} When the request is sent @@ -1246,8 +1145,7 @@ Feature: Case Management @generated @skip @team:DataDog/case-management Scenario: Update a case view returns "OK" response - Given operation "UpdateCaseView" enabled - And new "UpdateCaseView" request + Given new "UpdateCaseView" request And request contains "view_id" parameter from "REPLACE.ME" And body with value {"data": {"attributes": {}, "type": "view"}} When the request is sent @@ -1255,8 +1153,7 @@ Feature: Case Management @generated @skip @team:DataDog/case-management Scenario: Update a maintenance window returns "Bad Request" response - Given operation "UpdateMaintenanceWindow" enabled - And new "UpdateMaintenanceWindow" request + Given new "UpdateMaintenanceWindow" request And request contains "maintenance_window_id" parameter from "REPLACE.ME" And body with value {"data": {"attributes": {}, "type": "maintenance_window"}} When the request is sent @@ -1264,8 +1161,7 @@ Feature: Case Management @generated @skip @team:DataDog/case-management Scenario: Update a maintenance window returns "Not Found" response - Given operation "UpdateMaintenanceWindow" enabled - And new "UpdateMaintenanceWindow" request + Given new "UpdateMaintenanceWindow" request And request contains "maintenance_window_id" parameter from "REPLACE.ME" And body with value {"data": {"attributes": {}, "type": "maintenance_window"}} When the request is sent @@ -1273,8 +1169,7 @@ Feature: Case Management @generated @skip @team:DataDog/case-management Scenario: Update a maintenance window returns "OK" response - Given operation "UpdateMaintenanceWindow" enabled - And new "UpdateMaintenanceWindow" request + Given new "UpdateMaintenanceWindow" request And request contains "maintenance_window_id" parameter from "REPLACE.ME" And body with value {"data": {"attributes": {}, "type": "maintenance_window"}} When the request is sent @@ -1335,8 +1230,7 @@ Feature: Case Management @generated @skip @team:DataDog/case-management Scenario: Update an automation rule returns "Bad Request" response - Given operation "UpdateCaseAutomationRule" enabled - And new "UpdateCaseAutomationRule" request + Given new "UpdateCaseAutomationRule" request And request contains "project_id" parameter from "REPLACE.ME" And request contains "rule_id" parameter from "REPLACE.ME" And body with value {"data": {"attributes": {"action": {"data": {"handle": "workflow-handle-123"}, "type": "execute_workflow"}, "name": "Auto-assign workflow", "state": "ENABLED", "trigger": {"data": {}, "type": "case_created"}}, "type": "rule"}} @@ -1345,8 +1239,7 @@ Feature: Case Management @generated @skip @team:DataDog/case-management Scenario: Update an automation rule returns "Not Found" response - Given operation "UpdateCaseAutomationRule" enabled - And new "UpdateCaseAutomationRule" request + Given new "UpdateCaseAutomationRule" request And request contains "project_id" parameter from "REPLACE.ME" And request contains "rule_id" parameter from "REPLACE.ME" And body with value {"data": {"attributes": {"action": {"data": {"handle": "workflow-handle-123"}, "type": "execute_workflow"}, "name": "Auto-assign workflow", "state": "ENABLED", "trigger": {"data": {}, "type": "case_created"}}, "type": "rule"}} @@ -1355,8 +1248,7 @@ Feature: Case Management @generated @skip @team:DataDog/case-management Scenario: Update an automation rule returns "OK" response - Given operation "UpdateCaseAutomationRule" enabled - And new "UpdateCaseAutomationRule" request + Given new "UpdateCaseAutomationRule" request And request contains "project_id" parameter from "REPLACE.ME" And request contains "rule_id" parameter from "REPLACE.ME" And body with value {"data": {"attributes": {"action": {"data": {"handle": "workflow-handle-123"}, "type": "execute_workflow"}, "name": "Auto-assign workflow", "state": "ENABLED", "trigger": {"data": {}, "type": "case_created"}}, "type": "rule"}} @@ -1391,8 +1283,7 @@ Feature: Case Management @generated @skip @team:DataDog/case-management Scenario: Update case comment returns "Bad Request" response - Given operation "UpdateCaseComment" enabled - And new "UpdateCaseComment" request + Given new "UpdateCaseComment" request And request contains "case_id" parameter from "REPLACE.ME" And request contains "cell_id" parameter from "REPLACE.ME" And body with value {"data": {"attributes": {"comment": "Updated comment text"}, "type": "case"}} @@ -1401,8 +1292,7 @@ Feature: Case Management @generated @skip @team:DataDog/case-management Scenario: Update case comment returns "Not Found" response - Given operation "UpdateCaseComment" enabled - And new "UpdateCaseComment" request + Given new "UpdateCaseComment" request And request contains "case_id" parameter from "REPLACE.ME" And request contains "cell_id" parameter from "REPLACE.ME" And body with value {"data": {"attributes": {"comment": "Updated comment text"}, "type": "case"}} @@ -1411,8 +1301,7 @@ Feature: Case Management @generated @skip @team:DataDog/case-management Scenario: Update case comment returns "OK" response - Given operation "UpdateCaseComment" enabled - And new "UpdateCaseComment" request + Given new "UpdateCaseComment" request And request contains "case_id" parameter from "REPLACE.ME" And request contains "cell_id" parameter from "REPLACE.ME" And body with value {"data": {"attributes": {"comment": "Updated comment text"}, "type": "case"}} @@ -1481,8 +1370,7 @@ Feature: Case Management @generated @skip @team:DataDog/case-management Scenario: Update case due date returns "Bad Request" response - Given operation "UpdateCaseDueDate" enabled - And new "UpdateCaseDueDate" request + Given new "UpdateCaseDueDate" request And request contains "case_id" parameter from "REPLACE.ME" And body with value {"data": {"attributes": {"due_date": "2026-12-31"}, "type": "case"}} When the request is sent @@ -1490,8 +1378,7 @@ Feature: Case Management @generated @skip @team:DataDog/case-management Scenario: Update case due date returns "Not Found" response - Given operation "UpdateCaseDueDate" enabled - And new "UpdateCaseDueDate" request + Given new "UpdateCaseDueDate" request And request contains "case_id" parameter from "REPLACE.ME" And body with value {"data": {"attributes": {"due_date": "2026-12-31"}, "type": "case"}} When the request is sent @@ -1499,8 +1386,7 @@ Feature: Case Management @generated @skip @team:DataDog/case-management Scenario: Update case due date returns "OK" response - Given operation "UpdateCaseDueDate" enabled - And new "UpdateCaseDueDate" request + Given new "UpdateCaseDueDate" request And request contains "case_id" parameter from "REPLACE.ME" And body with value {"data": {"attributes": {"due_date": "2026-12-31"}, "type": "case"}} When the request is sent @@ -1535,8 +1421,7 @@ Feature: Case Management @generated @skip @team:DataDog/case-management Scenario: Update case project returns "Bad Request" response - Given operation "MoveCaseToProject" enabled - And new "MoveCaseToProject" request + Given new "MoveCaseToProject" request And request contains "case_id" parameter from "REPLACE.ME" And body with value {"data": {"id": "e555e290-ed65-49bd-ae18-8acbfcf18db7", "type": "project"}} When the request is sent @@ -1544,8 +1429,7 @@ Feature: Case Management @generated @skip @team:DataDog/case-management Scenario: Update case project returns "Not Found" response - Given operation "MoveCaseToProject" enabled - And new "MoveCaseToProject" request + Given new "MoveCaseToProject" request And request contains "case_id" parameter from "REPLACE.ME" And body with value {"data": {"id": "e555e290-ed65-49bd-ae18-8acbfcf18db7", "type": "project"}} When the request is sent @@ -1553,8 +1437,7 @@ Feature: Case Management @generated @skip @team:DataDog/case-management Scenario: Update case project returns "OK" response - Given operation "MoveCaseToProject" enabled - And new "MoveCaseToProject" request + Given new "MoveCaseToProject" request And request contains "case_id" parameter from "REPLACE.ME" And body with value {"data": {"id": "e555e290-ed65-49bd-ae18-8acbfcf18db7", "type": "project"}} When the request is sent @@ -1562,8 +1445,7 @@ Feature: Case Management @generated @skip @team:DataDog/case-management Scenario: Update case resolved reason returns "Bad Request" response - Given operation "UpdateCaseResolvedReason" enabled - And new "UpdateCaseResolvedReason" request + Given new "UpdateCaseResolvedReason" request And request contains "case_id" parameter from "REPLACE.ME" And body with value {"data": {"attributes": {"security_resolved_reason": "FALSE_POSITIVE"}, "type": "case"}} When the request is sent @@ -1571,8 +1453,7 @@ Feature: Case Management @generated @skip @team:DataDog/case-management Scenario: Update case resolved reason returns "Not Found" response - Given operation "UpdateCaseResolvedReason" enabled - And new "UpdateCaseResolvedReason" request + Given new "UpdateCaseResolvedReason" request And request contains "case_id" parameter from "REPLACE.ME" And body with value {"data": {"attributes": {"security_resolved_reason": "FALSE_POSITIVE"}, "type": "case"}} When the request is sent @@ -1580,8 +1461,7 @@ Feature: Case Management @generated @skip @team:DataDog/case-management Scenario: Update case resolved reason returns "OK" response - Given operation "UpdateCaseResolvedReason" enabled - And new "UpdateCaseResolvedReason" request + Given new "UpdateCaseResolvedReason" request And request contains "case_id" parameter from "REPLACE.ME" And body with value {"data": {"attributes": {"security_resolved_reason": "FALSE_POSITIVE"}, "type": "case"}} When the request is sent @@ -1642,8 +1522,7 @@ Feature: Case Management @generated @skip @team:DataDog/case-management Scenario: Watch a case returns "Bad Request" response - Given operation "WatchCase" enabled - And new "WatchCase" request + Given new "WatchCase" request And request contains "case_id" parameter from "REPLACE.ME" And request contains "user_uuid" parameter from "REPLACE.ME" When the request is sent @@ -1651,8 +1530,7 @@ Feature: Case Management @generated @skip @team:DataDog/case-management Scenario: Watch a case returns "Created" response - Given operation "WatchCase" enabled - And new "WatchCase" request + Given new "WatchCase" request And request contains "case_id" parameter from "REPLACE.ME" And request contains "user_uuid" parameter from "REPLACE.ME" When the request is sent @@ -1660,8 +1538,7 @@ Feature: Case Management @generated @skip @team:DataDog/case-management Scenario: Watch a case returns "Not Found" response - Given operation "WatchCase" enabled - And new "WatchCase" request + Given new "WatchCase" request And request contains "case_id" parameter from "REPLACE.ME" And request contains "user_uuid" parameter from "REPLACE.ME" When the request is sent diff --git a/src/test/resources/com/datadog/api/client/v2/api/case_management_attribute.feature b/src/test/resources/com/datadog/api/client/v2/api/case_management_attribute.feature index 47806e809c0..b7e1006103b 100644 --- a/src/test/resources/com/datadog/api/client/v2/api/case_management_attribute.feature +++ b/src/test/resources/com/datadog/api/client/v2/api/case_management_attribute.feature @@ -78,8 +78,7 @@ Feature: Case Management Attribute @generated @skip @team:DataDog/case-management Scenario: Update custom attribute config returns "Bad Request" response - Given operation "UpdateCustomAttributeConfig" enabled - And new "UpdateCustomAttributeConfig" request + Given new "UpdateCustomAttributeConfig" request And request contains "case_type_id" parameter from "REPLACE.ME" And request contains "custom_attribute_id" parameter from "REPLACE.ME" And body with value {"data": {"attributes": {"description": "Updated description.", "display_name": "AWS Region", "type": "NUMBER", "type_data": {"options": [{"value": "us-east-1"}]}}, "type": "custom_attribute"}} @@ -88,8 +87,7 @@ Feature: Case Management Attribute @generated @skip @team:DataDog/case-management Scenario: Update custom attribute config returns "Not Found" response - Given operation "UpdateCustomAttributeConfig" enabled - And new "UpdateCustomAttributeConfig" request + Given new "UpdateCustomAttributeConfig" request And request contains "case_type_id" parameter from "REPLACE.ME" And request contains "custom_attribute_id" parameter from "REPLACE.ME" And body with value {"data": {"attributes": {"description": "Updated description.", "display_name": "AWS Region", "type": "NUMBER", "type_data": {"options": [{"value": "us-east-1"}]}}, "type": "custom_attribute"}} @@ -98,8 +96,7 @@ Feature: Case Management Attribute @generated @skip @team:DataDog/case-management Scenario: Update custom attribute config returns "OK" response - Given operation "UpdateCustomAttributeConfig" enabled - And new "UpdateCustomAttributeConfig" request + Given new "UpdateCustomAttributeConfig" request And request contains "case_type_id" parameter from "REPLACE.ME" And request contains "custom_attribute_id" parameter from "REPLACE.ME" And body with value {"data": {"attributes": {"description": "Updated description.", "display_name": "AWS Region", "type": "NUMBER", "type_data": {"options": [{"value": "us-east-1"}]}}, "type": "custom_attribute"}} diff --git a/src/test/resources/com/datadog/api/client/v2/api/case_management_type.feature b/src/test/resources/com/datadog/api/client/v2/api/case_management_type.feature index 260ac3d3c42..6415083b699 100644 --- a/src/test/resources/com/datadog/api/client/v2/api/case_management_type.feature +++ b/src/test/resources/com/datadog/api/client/v2/api/case_management_type.feature @@ -47,8 +47,7 @@ Feature: Case Management Type @generated @skip @team:DataDog/case-management Scenario: Update a case type returns "Bad Request" response - Given operation "UpdateCaseType" enabled - And new "UpdateCaseType" request + Given new "UpdateCaseType" request And request contains "case_type_id" parameter from "REPLACE.ME" And body with value {"data": {"attributes": {"description": "Investigations done in case management", "emoji": "\ud83d\udd75\ud83c\udffb\u200d\u2642\ufe0f", "name": "Investigation"}, "type": "case_type"}} When the request is sent @@ -56,8 +55,7 @@ Feature: Case Management Type @generated @skip @team:DataDog/case-management Scenario: Update a case type returns "Not Found" response - Given operation "UpdateCaseType" enabled - And new "UpdateCaseType" request + Given new "UpdateCaseType" request And request contains "case_type_id" parameter from "REPLACE.ME" And body with value {"data": {"attributes": {"description": "Investigations done in case management", "emoji": "\ud83d\udd75\ud83c\udffb\u200d\u2642\ufe0f", "name": "Investigation"}, "type": "case_type"}} When the request is sent @@ -65,8 +63,7 @@ Feature: Case Management Type @generated @skip @team:DataDog/case-management Scenario: Update a case type returns "OK" response - Given operation "UpdateCaseType" enabled - And new "UpdateCaseType" request + Given new "UpdateCaseType" request And request contains "case_type_id" parameter from "REPLACE.ME" And body with value {"data": {"attributes": {"description": "Investigations done in case management", "emoji": "\ud83d\udd75\ud83c\udffb\u200d\u2642\ufe0f", "name": "Investigation"}, "type": "case_type"}} When the request is sent