@Generated(value="https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class AppsApi extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
AppsApi.ListAppsOptionalParameters
Manage optional parameters to listApps.
|
public AppsApi()
public AppsApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
apiClient - an instance of API clientpublic CreateAppResponse createApp(CreateAppRequest body) throws ApiException
body - (required)ApiException - if fails to make API callpublic CompletableFuture<CreateAppResponse> createAppAsync(CreateAppRequest body)
body - (required)public ApiResponse<CreateAppResponse> createAppWithHttpInfo(CreateAppRequest body) throws ApiException
body - (required)ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 201 | App Created | - |
| 400 | Bad Request | - |
| 403 | Forbidden, e.g. missing required permissions to a connection or workflow used in the app | - |
| 429 | Too many requests | - |
public CompletableFuture<ApiResponse<CreateAppResponse>> createAppWithHttpInfoAsync(CreateAppRequest body)
body - (required)public DeleteAppResponse deleteApp(String appId) throws ApiException
appId - (required)ApiException - if fails to make API callpublic CompletableFuture<DeleteAppResponse> deleteAppAsync(String appId)
appId - (required)public ApiResponse<DeleteAppResponse> deleteAppWithHttpInfo(String appId) throws ApiException
appId - (required)ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 200 | OK | - |
| 400 | Bad Request | - |
| 403 | Forbidden | - |
| 404 | Not Found | - |
| 410 | Gone | - |
| 429 | Too many requests | - |
public CompletableFuture<ApiResponse<DeleteAppResponse>> deleteAppWithHttpInfoAsync(String appId)
appId - (required)public DeleteAppsResponse deleteApps(DeleteAppsRequest body) throws ApiException
See deleteAppsWithHttpInfo(com.datadog.api.client.v2.model.DeleteAppsRequest).
body - (required)ApiException - if fails to make API callpublic CompletableFuture<DeleteAppsResponse> deleteAppsAsync(DeleteAppsRequest body)
See deleteAppsWithHttpInfoAsync(com.datadog.api.client.v2.model.DeleteAppsRequest).
body - (required)public ApiResponse<DeleteAppsResponse> deleteAppsWithHttpInfo(DeleteAppsRequest body) throws ApiException
body - (required)ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 200 | OK | - |
| 400 | Bad Request | - |
| 403 | Forbidden, e.g. missing permissions to delete one or more apps | - |
| 404 | Not Found | - |
| 429 | Too many requests | - |
public CompletableFuture<ApiResponse<DeleteAppsResponse>> deleteAppsWithHttpInfoAsync(DeleteAppsRequest body)
See deleteAppsWithHttpInfo(com.datadog.api.client.v2.model.DeleteAppsRequest).
body - (required)public GetAppResponse getApp(String appId) throws ApiException
appId - (required)ApiException - if fails to make API callpublic CompletableFuture<GetAppResponse> getAppAsync(String appId)
appId - (required)public ApiResponse<GetAppResponse> getAppWithHttpInfo(String appId) throws ApiException
appId - (required)ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 200 | OK | - |
| 400 | Bad Request | - |
| 403 | Forbidden | - |
| 404 | Not Found | - |
| 429 | Too many requests | - |
public CompletableFuture<ApiResponse<GetAppResponse>> getAppWithHttpInfoAsync(String appId)
appId - (required)public ListAppsResponse listApps() throws ApiException
See listAppsWithHttpInfo(com.datadog.api.client.v2.api.AppsApi.ListAppsOptionalParameters).
ApiException - if fails to make API callpublic CompletableFuture<ListAppsResponse> listAppsAsync()
See listAppsWithHttpInfoAsync(com.datadog.api.client.v2.api.AppsApi.ListAppsOptionalParameters).
public ListAppsResponse listApps(AppsApi.ListAppsOptionalParameters parameters) throws ApiException
See listAppsWithHttpInfo(com.datadog.api.client.v2.api.AppsApi.ListAppsOptionalParameters).
parameters - Optional parameters for the request.ApiException - if fails to make API callpublic CompletableFuture<ListAppsResponse> listAppsAsync(AppsApi.ListAppsOptionalParameters parameters)
See listAppsWithHttpInfoAsync(com.datadog.api.client.v2.api.AppsApi.ListAppsOptionalParameters).
parameters - Optional parameters for the request.public ApiResponse<ListAppsResponse> listAppsWithHttpInfo(AppsApi.ListAppsOptionalParameters 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, e.g. invalid sort parameter | - |
| 403 | Forbidden | - |
| 429 | Too many requests | - |
public CompletableFuture<ApiResponse<ListAppsResponse>> listAppsWithHttpInfoAsync(AppsApi.ListAppsOptionalParameters parameters)
See listAppsWithHttpInfo(com.datadog.api.client.v2.api.AppsApi.ListAppsOptionalParameters).
parameters - Optional parameters for the request.public UpdateAppResponse updateApp(String appId, UpdateAppRequest body) throws ApiException
See updateAppWithHttpInfo(java.lang.String, com.datadog.api.client.v2.model.UpdateAppRequest).
appId - (required)body - (required)ApiException - if fails to make API callpublic CompletableFuture<UpdateAppResponse> updateAppAsync(String appId, UpdateAppRequest body)
See updateAppWithHttpInfoAsync(java.lang.String, com.datadog.api.client.v2.model.UpdateAppRequest).
appId - (required)body - (required)public ApiResponse<UpdateAppResponse> updateAppWithHttpInfo(String appId, UpdateAppRequest body) throws ApiException
appId - (required)body - (required)ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 200 | OK | - |
| 400 | Bad Request | - |
| 403 | Forbidden, e.g. missing required permissions to a connection or workflow used in the app | - |
| 429 | Too many requests | - |
public CompletableFuture<ApiResponse<UpdateAppResponse>> updateAppWithHttpInfoAsync(String appId, UpdateAppRequest body)
See updateAppWithHttpInfo(java.lang.String, com.datadog.api.client.v2.model.UpdateAppRequest).
appId - (required)body - (required)Copyright © 2024. All rights reserved.