public class TasksApi extends Object
| Constructor and Description |
|---|
TasksApi() |
TasksApi(ApiClient apiClient) |
| Modifier and Type | Method and Description |
|---|---|
ApiClient |
getApiClient() |
void |
setApiClient(ApiClient apiClient) |
List<Export> |
tasksGet(String type,
Integer limit,
Integer offset)
Returns a list of all background tasks data.
|
com.squareup.okhttp.Call |
tasksGetAsync(String type,
Integer limit,
Integer offset,
ApiCallback<List<Export>> callback)
Returns a list of all background tasks data.
|
com.squareup.okhttp.Call |
tasksGetCall(String type,
Integer limit,
Integer offset,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for tasksGet
|
ApiResponse<List<Export>> |
tasksGetWithHttpInfo(String type,
Integer limit,
Integer offset)
Returns a list of all background tasks data.
|
void |
tasksIdDelete(String id)
Delete the specified background task.
|
com.squareup.okhttp.Call |
tasksIdDeleteAsync(String id,
ApiCallback<Void> callback)
Delete the specified background task.
|
com.squareup.okhttp.Call |
tasksIdDeleteCall(String id,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for tasksIdDelete
|
ApiResponse<Void> |
tasksIdDeleteWithHttpInfo(String id)
Delete the specified background task.
|
String |
tasksIdStatusGet(String id)
Check the current status of the background task.
|
com.squareup.okhttp.Call |
tasksIdStatusGetAsync(String id,
ApiCallback<String> callback)
Check the current status of the background task.
|
com.squareup.okhttp.Call |
tasksIdStatusGetCall(String id,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for tasksIdStatusGet
|
ApiResponse<String> |
tasksIdStatusGetWithHttpInfo(String id)
Check the current status of the background task.
|
public TasksApi()
public TasksApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public com.squareup.okhttp.Call tasksGetCall(String type, Integer limit, Integer offset, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
type - (required)limit - Maximum of loaded items. (optional, default to 0)offset - How many items should be loaded ahead. (optional, default to 0)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic List<Export> tasksGet(String type, Integer limit, Integer offset) throws ApiException
type - (required)limit - Maximum of loaded items. (optional, default to 0)offset - How many items should be loaded ahead. (optional, default to 0)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<List<Export>> tasksGetWithHttpInfo(String type, Integer limit, Integer offset) throws ApiException
type - (required)limit - Maximum of loaded items. (optional, default to 0)offset - How many items should be loaded ahead. (optional, default to 0)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call tasksGetAsync(String type, Integer limit, Integer offset, ApiCallback<List<Export>> callback) throws ApiException
type - (required)limit - Maximum of loaded items. (optional, default to 0)offset - How many items should be loaded ahead. (optional, default to 0)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 tasksIdDeleteCall(String id, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
id - ID of the exported file (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic void tasksIdDelete(String id) throws ApiException
id - ID of the exported file (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<Void> tasksIdDeleteWithHttpInfo(String id) throws ApiException
id - ID of the exported file (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call tasksIdDeleteAsync(String id, ApiCallback<Void> callback) throws ApiException
id - ID of the exported file (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 tasksIdStatusGetCall(String id, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
id - ID of the exported file (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic String tasksIdStatusGet(String id) throws ApiException
id - ID of the exported file (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<String> tasksIdStatusGetWithHttpInfo(String id) throws ApiException
id - ID of the exported file (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call tasksIdStatusGetAsync(String id, ApiCallback<String> callback) throws ApiException
id - ID of the exported file (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 objectCopyright © 2019. All rights reserved.