public class DashboardsResourceApi extends Object
Constructor and Description |
---|
DashboardsResourceApi() |
DashboardsResourceApi(ApiClient apiClient) |
Modifier and Type | Method and Description |
---|---|
ApiDashboardList |
createDashboards(ApiDashboardList body)
Creates the list of dashboards.
|
com.squareup.okhttp.Call |
createDashboardsAsync(ApiDashboardList body,
ApiCallback<ApiDashboardList> callback)
Creates the list of dashboards.
|
com.squareup.okhttp.Call |
createDashboardsCall(ApiDashboardList body,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for createDashboards
|
ApiResponse<ApiDashboardList> |
createDashboardsWithHttpInfo(ApiDashboardList body)
Creates the list of dashboards.
|
ApiDashboard |
deleteDashboard(String dashboardName)
Deletes a dashboard.
|
com.squareup.okhttp.Call |
deleteDashboardAsync(String dashboardName,
ApiCallback<ApiDashboard> callback)
Deletes a dashboard.
|
com.squareup.okhttp.Call |
deleteDashboardCall(String dashboardName,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for deleteDashboard
|
ApiResponse<ApiDashboard> |
deleteDashboardWithHttpInfo(String dashboardName)
Deletes a dashboard.
|
ApiClient |
getApiClient() |
ApiDashboard |
getDashboard(String dashboardName)
Returns a dashboard definition for the specified name.
|
com.squareup.okhttp.Call |
getDashboardAsync(String dashboardName,
ApiCallback<ApiDashboard> callback)
Returns a dashboard definition for the specified name.
|
com.squareup.okhttp.Call |
getDashboardCall(String dashboardName,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for getDashboard
|
ApiDashboardList |
getDashboards()
Returns the list of all user-customized dashboards.
|
com.squareup.okhttp.Call |
getDashboardsAsync(ApiCallback<ApiDashboardList> callback)
Returns the list of all user-customized dashboards.
|
com.squareup.okhttp.Call |
getDashboardsCall(ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for getDashboards
|
ApiResponse<ApiDashboardList> |
getDashboardsWithHttpInfo()
Returns the list of all user-customized dashboards.
|
ApiResponse<ApiDashboard> |
getDashboardWithHttpInfo(String dashboardName)
Returns a dashboard definition for the specified name.
|
void |
setApiClient(ApiClient apiClient) |
public DashboardsResourceApi()
public DashboardsResourceApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public com.squareup.okhttp.Call createDashboardsCall(ApiDashboardList body, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
body
- The list of dashboards to create. (optional)progressListener
- Progress listenerprogressRequestListener
- Progress request listenerApiException
- If fail to serialize the request body objectpublic ApiDashboardList createDashboards(ApiDashboardList body) throws ApiException
body
- The list of dashboards to create. (optional)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<ApiDashboardList> createDashboardsWithHttpInfo(ApiDashboardList body) throws ApiException
body
- The list of dashboards to create. (optional)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call createDashboardsAsync(ApiDashboardList body, ApiCallback<ApiDashboardList> callback) throws ApiException
body
- The list of dashboards to create. (optional)callback
- The callback to be executed when the API call finishesApiException
- If fail to process the API call, e.g. serializing the request body objectpublic com.squareup.okhttp.Call deleteDashboardCall(String dashboardName, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
dashboardName
- The name of the dashboard. (required)progressListener
- Progress listenerprogressRequestListener
- Progress request listenerApiException
- If fail to serialize the request body objectpublic ApiDashboard deleteDashboard(String dashboardName) throws ApiException
dashboardName
- The name of the dashboard. (required)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<ApiDashboard> deleteDashboardWithHttpInfo(String dashboardName) throws ApiException
dashboardName
- The name of the dashboard. (required)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call deleteDashboardAsync(String dashboardName, ApiCallback<ApiDashboard> callback) throws ApiException
dashboardName
- The name of the dashboard. (required)callback
- The callback to be executed when the API call finishesApiException
- If fail to process the API call, e.g. serializing the request body objectpublic com.squareup.okhttp.Call getDashboardCall(String dashboardName, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
dashboardName
- The name of the dashboard. (required)progressListener
- Progress listenerprogressRequestListener
- Progress request listenerApiException
- If fail to serialize the request body objectpublic ApiDashboard getDashboard(String dashboardName) throws ApiException
dashboardName
- The name of the dashboard. (required)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<ApiDashboard> getDashboardWithHttpInfo(String dashboardName) throws ApiException
dashboardName
- The name of the dashboard. (required)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call getDashboardAsync(String dashboardName, ApiCallback<ApiDashboard> callback) throws ApiException
dashboardName
- The name of the dashboard. (required)callback
- The callback to be executed when the API call finishesApiException
- If fail to process the API call, e.g. serializing the request body objectpublic com.squareup.okhttp.Call getDashboardsCall(ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
progressListener
- Progress listenerprogressRequestListener
- Progress request listenerApiException
- If fail to serialize the request body objectpublic ApiDashboardList getDashboards() throws ApiException
ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<ApiDashboardList> getDashboardsWithHttpInfo() throws ApiException
ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call getDashboardsAsync(ApiCallback<ApiDashboardList> callback) throws ApiException
callback
- The callback to be executed when the API call finishesApiException
- If fail to process the API call, e.g. serializing the request body objectCopyright © 2019. All rights reserved.