Package com.datadog.api.client.v2.api
Class ReportingAndSharingApi
java.lang.Object
com.datadog.api.client.v2.api.ReportingAndSharingApi
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class ReportingAndSharingApi
extends Object
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionCreate a graph snapshot.Create a graph snapshot.Create a snapshot of a graph widget.Create a graph snapshot.Get the API client.voidsetApiClient(ApiClient apiClient) Set the API client.
-
Constructor Details
-
ReportingAndSharingApi
public ReportingAndSharingApi() -
ReportingAndSharingApi
-
-
Method Details
-
getApiClient
Get the API client.- Returns:
- API client
-
setApiClient
Set the API client.- Parameters:
apiClient- an instance of API client
-
createSnapshot
Create a graph snapshot.See
createSnapshotWithHttpInfo(com.datadog.api.client.v2.model.CreateSnapshotRequest).- Parameters:
body- (required)- Returns:
- CreateSnapshotResponse
- Throws:
ApiException- if fails to make API call
-
createSnapshotAsync
Create a graph snapshot.See
createSnapshotWithHttpInfoAsync(com.datadog.api.client.v2.model.CreateSnapshotRequest).- Parameters:
body- (required)- Returns:
- CompletableFuture<CreateSnapshotResponse>
-
createSnapshotWithHttpInfo
public ApiResponse<CreateSnapshotResponse> createSnapshotWithHttpInfo(CreateSnapshotRequest body) throws ApiException Create a snapshot of a graph widget. The snapshot is rendered asynchronously; the returned URL can be polled until the image is ready.- Parameters:
body- (required)- Returns:
- ApiResponse<CreateSnapshotResponse>
- Throws:
ApiException- if fails to make API call- Http Response Details:
Response details Status Code Description Response Headers 200 OK - 400 Bad Request - 401 Unauthorized - 403 Forbidden - 404 Not Found - 429 Too many requests -
-
createSnapshotWithHttpInfoAsync
public CompletableFuture<ApiResponse<CreateSnapshotResponse>> createSnapshotWithHttpInfoAsync(CreateSnapshotRequest body) Create a graph snapshot.See
createSnapshotWithHttpInfo(com.datadog.api.client.v2.model.CreateSnapshotRequest).- Parameters:
body- (required)- Returns:
- CompletableFuture<ApiResponse<CreateSnapshotResponse>>
-