@Generated(value="https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class SnapshotsApi extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
SnapshotsApi.GetGraphSnapshotOptionalParameters
Manage optional parameters to getGraphSnapshot.
|
| Constructor and Description |
|---|
SnapshotsApi() |
SnapshotsApi(ApiClient apiClient) |
public SnapshotsApi()
public SnapshotsApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
apiClient - an instance of API clientpublic GraphSnapshot getGraphSnapshot(Long start, Long end) throws ApiException
start - The POSIX timestamp of the start of the query in seconds. (required)end - The POSIX timestamp of the end of the query in seconds. (required)ApiException - if fails to make API callpublic CompletableFuture<GraphSnapshot> getGraphSnapshotAsync(Long start, Long end)
start - The POSIX timestamp of the start of the query in seconds. (required)end - The POSIX timestamp of the end of the query in seconds. (required)public GraphSnapshot getGraphSnapshot(Long start, Long end, SnapshotsApi.GetGraphSnapshotOptionalParameters parameters) throws ApiException
start - The POSIX timestamp of the start of the query in seconds. (required)end - The POSIX timestamp of the end of the query in seconds. (required)parameters - Optional parameters for the request.ApiException - if fails to make API callpublic CompletableFuture<GraphSnapshot> getGraphSnapshotAsync(Long start, Long end, SnapshotsApi.GetGraphSnapshotOptionalParameters parameters)
start - The POSIX timestamp of the start of the query in seconds. (required)end - The POSIX timestamp of the end of the query in seconds. (required)parameters - Optional parameters for the request.public ApiResponse<GraphSnapshot> getGraphSnapshotWithHttpInfo(Long start, Long end, SnapshotsApi.GetGraphSnapshotOptionalParameters parameters) throws ApiException
start - The POSIX timestamp of the start of the query in seconds. (required)end - The POSIX timestamp of the end of the query in seconds. (required)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<GraphSnapshot>> getGraphSnapshotWithHttpInfoAsync(Long start, Long end, SnapshotsApi.GetGraphSnapshotOptionalParameters parameters)
start - The POSIX timestamp of the start of the query in seconds. (required)end - The POSIX timestamp of the end of the query in seconds. (required)parameters - Optional parameters for the request.Copyright © 2024. All rights reserved.