@Generated(value="https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class ApiManagementApi extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
ApiManagementApi.CreateOpenAPIOptionalParameters
Manage optional parameters to createOpenAPI.
|
static class |
ApiManagementApi.ListAPIsOptionalParameters
Manage optional parameters to listAPIs.
|
static class |
ApiManagementApi.UpdateOpenAPIOptionalParameters
Manage optional parameters to updateOpenAPI.
|
| Constructor and Description |
|---|
ApiManagementApi() |
ApiManagementApi(ApiClient apiClient) |
public ApiManagementApi()
public ApiManagementApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
apiClient - an instance of API clientpublic CreateOpenAPIResponse createOpenAPI() throws ApiException
ApiException - if fails to make API callpublic CompletableFuture<CreateOpenAPIResponse> createOpenAPIAsync()
public CreateOpenAPIResponse createOpenAPI(ApiManagementApi.CreateOpenAPIOptionalParameters parameters) throws ApiException
parameters - Optional parameters for the request.ApiException - if fails to make API callpublic CompletableFuture<CreateOpenAPIResponse> createOpenAPIAsync(ApiManagementApi.CreateOpenAPIOptionalParameters parameters)
parameters - Optional parameters for the request.public ApiResponse<CreateOpenAPIResponse> createOpenAPIWithHttpInfo(ApiManagementApi.CreateOpenAPIOptionalParameters parameters) throws ApiException
parameters - Optional parameters for the request.ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 201 | API created successfully | - |
| 400 | Bad request | - |
| 403 | Forbidden | - |
| 429 | Too many requests | - |
public CompletableFuture<ApiResponse<CreateOpenAPIResponse>> createOpenAPIWithHttpInfoAsync(ApiManagementApi.CreateOpenAPIOptionalParameters parameters)
parameters - Optional parameters for the request.public void deleteOpenAPI(UUID id) throws ApiException
id - ID of the API to delete (required)ApiException - if fails to make API callpublic CompletableFuture<Void> deleteOpenAPIAsync(UUID id)
id - ID of the API to delete (required)public ApiResponse<Void> deleteOpenAPIWithHttpInfo(UUID id) throws ApiException
id - ID of the API to delete (required)ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 204 | API deleted successfully | - |
| 400 | Bad request | - |
| 403 | Forbidden | - |
| 404 | API not found error | - |
| 429 | Too many requests | - |
public CompletableFuture<ApiResponse<Void>> deleteOpenAPIWithHttpInfoAsync(UUID id)
id - ID of the API to delete (required)public File getOpenAPI(UUID id) throws ApiException
id - ID of the API to retrieve (required)ApiException - if fails to make API callpublic CompletableFuture<File> getOpenAPIAsync(UUID id)
id - ID of the API to retrieve (required)public ApiResponse<File> getOpenAPIWithHttpInfo(UUID id) throws ApiException
id - ID of the API to retrieve (required)ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 200 | OK | - |
| 400 | Bad request | - |
| 403 | Forbidden | - |
| 404 | API not found error | - |
| 429 | Too many requests | - |
public CompletableFuture<ApiResponse<File>> getOpenAPIWithHttpInfoAsync(UUID id)
id - ID of the API to retrieve (required)public ListAPIsResponse listAPIs() throws ApiException
See listAPIsWithHttpInfo(com.datadog.api.client.v2.api.ApiManagementApi.ListAPIsOptionalParameters).
ApiException - if fails to make API callpublic CompletableFuture<ListAPIsResponse> listAPIsAsync()
See listAPIsWithHttpInfoAsync(com.datadog.api.client.v2.api.ApiManagementApi.ListAPIsOptionalParameters).
public ListAPIsResponse listAPIs(ApiManagementApi.ListAPIsOptionalParameters parameters) throws ApiException
See listAPIsWithHttpInfo(com.datadog.api.client.v2.api.ApiManagementApi.ListAPIsOptionalParameters).
parameters - Optional parameters for the request.ApiException - if fails to make API callpublic CompletableFuture<ListAPIsResponse> listAPIsAsync(ApiManagementApi.ListAPIsOptionalParameters parameters)
See listAPIsWithHttpInfoAsync(com.datadog.api.client.v2.api.ApiManagementApi.ListAPIsOptionalParameters).
parameters - Optional parameters for the request.public ApiResponse<ListAPIsResponse> listAPIsWithHttpInfo(ApiManagementApi.ListAPIsOptionalParameters parameters) throws ApiException
parameters - Optional parameters for the request.ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 200 | OK | - |
| 400 | Bad request | - |
| 403 | Forbidden | - |
| 429 | Too many requests | - |
public CompletableFuture<ApiResponse<ListAPIsResponse>> listAPIsWithHttpInfoAsync(ApiManagementApi.ListAPIsOptionalParameters parameters)
See listAPIsWithHttpInfo(com.datadog.api.client.v2.api.ApiManagementApi.ListAPIsOptionalParameters).
parameters - Optional parameters for the request.public UpdateOpenAPIResponse updateOpenAPI(UUID id) throws ApiException
id - ID of the API to modify (required)ApiException - if fails to make API callpublic CompletableFuture<UpdateOpenAPIResponse> updateOpenAPIAsync(UUID id)
id - ID of the API to modify (required)public UpdateOpenAPIResponse updateOpenAPI(UUID id, ApiManagementApi.UpdateOpenAPIOptionalParameters parameters) throws ApiException
id - ID of the API to modify (required)parameters - Optional parameters for the request.ApiException - if fails to make API callpublic CompletableFuture<UpdateOpenAPIResponse> updateOpenAPIAsync(UUID id, ApiManagementApi.UpdateOpenAPIOptionalParameters parameters)
id - ID of the API to modify (required)parameters - Optional parameters for the request.public ApiResponse<UpdateOpenAPIResponse> updateOpenAPIWithHttpInfo(UUID id, ApiManagementApi.UpdateOpenAPIOptionalParameters parameters) throws ApiException
id - ID of the API to modify (required)parameters - Optional parameters for the request.ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 200 | API updated successfully | - |
| 400 | Bad request | - |
| 403 | Forbidden | - |
| 404 | API not found error | - |
| 429 | Too many requests | - |
public CompletableFuture<ApiResponse<UpdateOpenAPIResponse>> updateOpenAPIWithHttpInfoAsync(UUID id, ApiManagementApi.UpdateOpenAPIOptionalParameters parameters)
id - ID of the API to modify (required)parameters - Optional parameters for the request.Copyright © 2024. All rights reserved.