public class ToolsResourceApi extends Object
Constructor and Description |
---|
ToolsResourceApi() |
ToolsResourceApi(ApiClient apiClient) |
Modifier and Type | Method and Description |
---|---|
ApiEcho |
echo(String message)
Echoes the provided message back to the caller.
|
com.squareup.okhttp.Call |
echoAsync(String message,
ApiCallback<ApiEcho> callback)
Echoes the provided message back to the caller.
|
com.squareup.okhttp.Call |
echoCall(String message,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for echo
|
ApiEcho |
echoError(String message)
Throws an error containing the given input message.
|
com.squareup.okhttp.Call |
echoErrorAsync(String message,
ApiCallback<ApiEcho> callback)
Throws an error containing the given input message.
|
com.squareup.okhttp.Call |
echoErrorCall(String message,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for echoError
|
ApiResponse<ApiEcho> |
echoErrorWithHttpInfo(String message)
Throws an error containing the given input message.
|
ApiResponse<ApiEcho> |
echoWithHttpInfo(String message)
Echoes the provided message back to the caller.
|
ApiClient |
getApiClient() |
void |
setApiClient(ApiClient apiClient) |
public ToolsResourceApi()
public ToolsResourceApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public com.squareup.okhttp.Call echoCall(String message, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
message
- The message to echo back (optional, default to Hello, World!)progressListener
- Progress listenerprogressRequestListener
- Progress request listenerApiException
- If fail to serialize the request body objectpublic ApiEcho echo(String message) throws ApiException
message
- The message to echo back (optional, default to Hello, World!)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<ApiEcho> echoWithHttpInfo(String message) throws ApiException
message
- The message to echo back (optional, default to Hello, World!)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call echoAsync(String message, ApiCallback<ApiEcho> callback) throws ApiException
message
- The message to echo back (optional, default to Hello, World!)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 echoErrorCall(String message, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
message
- The error message to echo (optional, default to Default error message)progressListener
- Progress listenerprogressRequestListener
- Progress request listenerApiException
- If fail to serialize the request body objectpublic ApiEcho echoError(String message) throws ApiException
message
- The error message to echo (optional, default to Default error message)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<ApiEcho> echoErrorWithHttpInfo(String message) throws ApiException
message
- The error message to echo (optional, default to Default error message)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call echoErrorAsync(String message, ApiCallback<ApiEcho> callback) throws ApiException
message
- The error message to echo (optional, default to Default error message)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.