public class CommandsResourceApi extends Object
Constructor and Description |
---|
CommandsResourceApi() |
CommandsResourceApi(ApiClient apiClient) |
Modifier and Type | Method and Description |
---|---|
ApiCommand |
abortCommand(BigDecimal commandId)
Abort a running command.
|
com.squareup.okhttp.Call |
abortCommandAsync(BigDecimal commandId,
ApiCallback<ApiCommand> callback)
Abort a running command.
|
com.squareup.okhttp.Call |
abortCommandCall(BigDecimal commandId,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for abortCommand
|
ApiResponse<ApiCommand> |
abortCommandWithHttpInfo(BigDecimal commandId)
Abort a running command.
|
ApiClient |
getApiClient() |
ApiCommand |
readCommand(BigDecimal commandId)
Retrieve detailed information on an asynchronous command.
|
com.squareup.okhttp.Call |
readCommandAsync(BigDecimal commandId,
ApiCallback<ApiCommand> callback)
Retrieve detailed information on an asynchronous command.
|
com.squareup.okhttp.Call |
readCommandCall(BigDecimal commandId,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for readCommand
|
ApiResponse<ApiCommand> |
readCommandWithHttpInfo(BigDecimal commandId)
Retrieve detailed information on an asynchronous command.
|
ApiCommand |
retry(BigDecimal commandId)
Try to rerun a command.
|
com.squareup.okhttp.Call |
retryAsync(BigDecimal commandId,
ApiCallback<ApiCommand> callback)
Try to rerun a command.
|
com.squareup.okhttp.Call |
retryCall(BigDecimal commandId,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for retry
|
ApiResponse<ApiCommand> |
retryWithHttpInfo(BigDecimal commandId)
Try to rerun a command.
|
void |
setApiClient(ApiClient apiClient) |
public CommandsResourceApi()
public CommandsResourceApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public com.squareup.okhttp.Call abortCommandCall(BigDecimal commandId, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
commandId
- The command id. (required)progressListener
- Progress listenerprogressRequestListener
- Progress request listenerApiException
- If fail to serialize the request body objectpublic ApiCommand abortCommand(BigDecimal commandId) throws ApiException
commandId
- The command id. (required)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<ApiCommand> abortCommandWithHttpInfo(BigDecimal commandId) throws ApiException
commandId
- The command id. (required)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call abortCommandAsync(BigDecimal commandId, ApiCallback<ApiCommand> callback) throws ApiException
commandId
- The command id. (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 readCommandCall(BigDecimal commandId, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
commandId
- The command id. (required)progressListener
- Progress listenerprogressRequestListener
- Progress request listenerApiException
- If fail to serialize the request body objectpublic ApiCommand readCommand(BigDecimal commandId) throws ApiException
commandId
- The command id. (required)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<ApiCommand> readCommandWithHttpInfo(BigDecimal commandId) throws ApiException
commandId
- The command id. (required)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call readCommandAsync(BigDecimal commandId, ApiCallback<ApiCommand> callback) throws ApiException
commandId
- The command id. (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 retryCall(BigDecimal commandId, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
commandId
- ID of the command that needs to be run. (required)progressListener
- Progress listenerprogressRequestListener
- Progress request listenerApiException
- If fail to serialize the request body objectpublic ApiCommand retry(BigDecimal commandId) throws ApiException
commandId
- ID of the command that needs to be run. (required)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<ApiCommand> retryWithHttpInfo(BigDecimal commandId) throws ApiException
commandId
- ID of the command that needs to be run. (required)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call retryAsync(BigDecimal commandId, ApiCallback<ApiCommand> callback) throws ApiException
commandId
- ID of the command that needs to be run. (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.