From e75879ce2f767f699791f307bc8c43b9e3ea2f63 Mon Sep 17 00:00:00 2001 From: "ci.datadog-api-spec" Date: Mon, 4 Nov 2024 19:36:40 +0000 Subject: [PATCH] Regenerate client from commit 82ea89c4 of spec repo --- .apigentools-info | 8 ++++---- .generator/schemas/v2/openapi.yaml | 1 + .../api/client/v2/api/CloudCostManagementApi.java | 9 +++++++++ 3 files changed, 14 insertions(+), 4 deletions(-) diff --git a/.apigentools-info b/.apigentools-info index a3d03022f56..253600dd7bb 100644 --- a/.apigentools-info +++ b/.apigentools-info @@ -4,13 +4,13 @@ "spec_versions": { "v1": { "apigentools_version": "1.6.6", - "regenerated": "2024-11-04 18:34:35.476372", - "spec_repo_commit": "aeb956c4" + "regenerated": "2024-11-04 19:34:43.057948", + "spec_repo_commit": "82ea89c4" }, "v2": { "apigentools_version": "1.6.6", - "regenerated": "2024-11-04 18:34:35.495455", - "spec_repo_commit": "aeb956c4" + "regenerated": "2024-11-04 19:34:43.103441", + "spec_repo_commit": "82ea89c4" } } } \ No newline at end of file diff --git a/.generator/schemas/v2/openapi.yaml b/.generator/schemas/v2/openapi.yaml index 8385e5fe7ea..4dac73fbf3e 100644 --- a/.generator/schemas/v2/openapi.yaml +++ b/.generator/schemas/v2/openapi.yaml @@ -29197,6 +29197,7 @@ paths: - Cloud Cost Management /api/v2/cost/enabled: get: + deprecated: true description: Get the Cloud Cost Management activity. operationId: GetCloudCostActivity responses: diff --git a/src/main/java/com/datadog/api/client/v2/api/CloudCostManagementApi.java b/src/main/java/com/datadog/api/client/v2/api/CloudCostManagementApi.java index 8a1a698e909..bf89254eb51 100644 --- a/src/main/java/com/datadog/api/client/v2/api/CloudCostManagementApi.java +++ b/src/main/java/com/datadog/api/client/v2/api/CloudCostManagementApi.java @@ -743,7 +743,9 @@ public CompletableFuture> deleteCustomCostsFileWithHttpInfoAsy * * @return CloudCostActivityResponse * @throws ApiException if fails to make API call + * @deprecated */ + @Deprecated public CloudCostActivityResponse getCloudCostActivity() throws ApiException { return getCloudCostActivityWithHttpInfo().getData(); } @@ -754,7 +756,9 @@ public CloudCostActivityResponse getCloudCostActivity() throws ApiException { *

See {@link #getCloudCostActivityWithHttpInfoAsync}. * * @return CompletableFuture<CloudCostActivityResponse> + * @deprecated */ + @Deprecated public CompletableFuture getCloudCostActivityAsync() { return getCloudCostActivityWithHttpInfoAsync() .thenApply( @@ -776,7 +780,10 @@ public CompletableFuture getCloudCostActivityAsync() * 403 Forbidden - * 429 Too many requests - * + * + * @deprecated */ + @Deprecated public ApiResponse getCloudCostActivityWithHttpInfo() throws ApiException { Object localVarPostBody = null; @@ -811,7 +818,9 @@ public ApiResponse getCloudCostActivityWithHttpInfo() *

See {@link #getCloudCostActivityWithHttpInfo}. * * @return CompletableFuture<ApiResponse<CloudCostActivityResponse>> + * @deprecated */ + @Deprecated public CompletableFuture> getCloudCostActivityWithHttpInfoAsync() { Object localVarPostBody = null;