@Generated(value="https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class DashboardsApi extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
DashboardsApi.ListDashboardsUsageOptionalParameters
Manage optional parameters to listDashboardsUsage.
|
| Constructor and Description |
|---|
DashboardsApi() |
DashboardsApi(ApiClient apiClient) |
public DashboardsApi()
public DashboardsApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
apiClient - an instance of API clientpublic DashboardUsageResponse getDashboardUsage(String dashboardId) throws ApiException
dashboardId - The ID of the dashboard. (required)ApiException - if fails to make API callpublic CompletableFuture<DashboardUsageResponse> getDashboardUsageAsync(String dashboardId)
dashboardId - The ID of the dashboard. (required)public ApiResponse<DashboardUsageResponse> getDashboardUsageWithHttpInfo(String dashboardId) throws ApiException
null or 0 in orgs without RUM.dashboardId - The ID of the dashboard. (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<DashboardUsageResponse>> getDashboardUsageWithHttpInfoAsync(String dashboardId)
dashboardId - The ID of the dashboard. (required)public ListDashboardsUsageResponse listDashboardsUsage() throws ApiException
ApiException - if fails to make API callpublic CompletableFuture<ListDashboardsUsageResponse> listDashboardsUsageAsync()
public ListDashboardsUsageResponse listDashboardsUsage(DashboardsApi.ListDashboardsUsageOptionalParameters parameters) throws ApiException
parameters - Optional parameters for the request.ApiException - if fails to make API callpublic CompletableFuture<ListDashboardsUsageResponse> listDashboardsUsageAsync(DashboardsApi.ListDashboardsUsageOptionalParameters parameters)
parameters - Optional parameters for the request.public PaginationIterable<DashboardUsage> listDashboardsUsageWithPagination()
public PaginationIterable<DashboardUsage> listDashboardsUsageWithPagination(DashboardsApi.ListDashboardsUsageOptionalParameters parameters)
public ApiResponse<ListDashboardsUsageResponse> listDashboardsUsageWithHttpInfo(DashboardsApi.ListDashboardsUsageOptionalParameters parameters) throws ApiException
page[limit] and page[offset] to walk the result set. Use
filter[edited_before] or filter[viewed_before] to narrow results by
recency. View-count fields depend on Real User Monitoring (RUM) and are null or
0 in orgs without RUM.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<ListDashboardsUsageResponse>> listDashboardsUsageWithHttpInfoAsync(DashboardsApi.ListDashboardsUsageOptionalParameters parameters)
parameters - Optional parameters for the request.Copyright © 2026. All rights reserved.