public class UploadApi extends Object
| Constructor and Description |
|---|
UploadApi() |
UploadApi(ApiClient apiClient) |
| Modifier and Type | Method and Description |
|---|---|
ApiClient |
getApiClient() |
void |
setApiClient(ApiClient apiClient) |
String |
uploadsPost(UploadFile uploadFile,
String convert)
Upload File
Upload File
|
com.squareup.okhttp.Call |
uploadsPostAsync(UploadFile uploadFile,
String convert,
ApiCallback<String> callback)
Upload File (asynchronously)
Upload File
|
com.squareup.okhttp.Call |
uploadsPostCall(UploadFile uploadFile,
String convert,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for uploadsPost
|
ApiResponse<String> |
uploadsPostWithHttpInfo(UploadFile uploadFile,
String convert)
Upload File
Upload File
|
public UploadApi()
public UploadApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public com.squareup.okhttp.Call uploadsPostCall(UploadFile uploadFile, String convert, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
uploadFile - Your file to be uploaded (required)convert - (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic String uploadsPost(UploadFile uploadFile, String convert) throws ApiException
uploadFile - Your file to be uploaded (required)convert - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<String> uploadsPostWithHttpInfo(UploadFile uploadFile, String convert) throws ApiException
uploadFile - Your file to be uploaded (required)convert - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call uploadsPostAsync(UploadFile uploadFile, String convert, ApiCallback<String> callback) throws ApiException
uploadFile - Your file to be uploaded (required)convert - (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.