Skip to content

Commit 733a292

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit f433034 of spec repo
1 parent 963308b commit 733a292

File tree

3 files changed

+0
-21
lines changed

3 files changed

+0
-21
lines changed

.generator/schemas/v2/openapi.yaml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -66624,9 +66624,6 @@ paths:
6662466624
x-permission:
6662566625
operator: OPEN
6662666626
permissions: []
66627-
x-unstable: '**Note: Data Access is in preview. If you have any feedback,
66628-
66629-
contact [Datadog support](https://docs.datadoghq.com/help/).**'
6663066627
put:
6663166628
description: Edits the dataset associated with the ID.
6663266629
operationId: UpdateDataset

src/main/java/com/datadog/api/client/ApiClient.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -733,7 +733,6 @@ public class ApiClient {
733733
put("v2.createDataset", false);
734734
put("v2.deleteDataset", false);
735735
put("v2.getAllDatasets", false);
736-
put("v2.getDataset", false);
737736
put("v2.updateDataset", false);
738737
put("v2.cancelDataDeletionRequest", false);
739738
put("v2.createDataDeletionRequest", false);

src/main/java/com/datadog/api/client/v2/api/DatasetsApi.java

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -519,13 +519,6 @@ public CompletableFuture<DatasetResponseSingle> getDatasetAsync(String datasetId
519519
*/
520520
public ApiResponse<DatasetResponseSingle> getDatasetWithHttpInfo(String datasetId)
521521
throws ApiException {
522-
// Check if unstable operation is enabled
523-
String operationId = "getDataset";
524-
if (apiClient.isUnstableOperationEnabled("v2." + operationId)) {
525-
apiClient.getLogger().warning(String.format("Using unstable operation '%s'", operationId));
526-
} else {
527-
throw new ApiException(0, String.format("Unstable operation '%s' is disabled", operationId));
528-
}
529522
Object localVarPostBody = null;
530523

531524
// verify the required parameter 'datasetId' is set
@@ -570,16 +563,6 @@ public ApiResponse<DatasetResponseSingle> getDatasetWithHttpInfo(String datasetI
570563
*/
571564
public CompletableFuture<ApiResponse<DatasetResponseSingle>> getDatasetWithHttpInfoAsync(
572565
String datasetId) {
573-
// Check if unstable operation is enabled
574-
String operationId = "getDataset";
575-
if (apiClient.isUnstableOperationEnabled("v2." + operationId)) {
576-
apiClient.getLogger().warning(String.format("Using unstable operation '%s'", operationId));
577-
} else {
578-
CompletableFuture<ApiResponse<DatasetResponseSingle>> result = new CompletableFuture<>();
579-
result.completeExceptionally(
580-
new ApiException(0, String.format("Unstable operation '%s' is disabled", operationId)));
581-
return result;
582-
}
583566
Object localVarPostBody = null;
584567

585568
// verify the required parameter 'datasetId' is set

0 commit comments

Comments
 (0)