public class EditApi extends Object
| Constructor | Description |
|---|---|
EditApi(Configuration configuration) |
Initializes new instance of EditApi
|
EditApi(String appSid,
String appKey) |
Initializes new instance of EditApi
|
| Modifier and Type | Method | Description |
|---|---|---|
ApiClient |
getApiClient() |
Gets ApiClient
|
LoadResult |
load(LoadRequest request) |
Load document for editing
|
com.squareup.okhttp.Call |
loadAsync(LoadRequest request,
ApiCallback<LoadResult> callback) |
Load document for editing (asynchronously)
|
com.squareup.okhttp.Call |
loadCall(LoadRequest request,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener) |
Build call for load
|
ApiResponse<LoadResult> |
loadWithHttpInfo(LoadRequest request) |
Load document for editing
|
DocumentResult |
save(SaveRequest request) |
Save document after editing
|
com.squareup.okhttp.Call |
saveAsync(SaveRequest request,
ApiCallback<DocumentResult> callback) |
Save document after editing (asynchronously)
|
com.squareup.okhttp.Call |
saveCall(SaveRequest request,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener) |
Build call for save
|
ApiResponse<DocumentResult> |
saveWithHttpInfo(SaveRequest request) |
Save document after editing
|
void |
setApiClient(ApiClient apiClient) |
Sets ApiClient
|
public EditApi(String appSid, String appKey)
appSid - Application identifier (App SID)appKey - Application private key (App Key)public EditApi(Configuration configuration)
configuration - Configuration The configurationpublic ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
apiClient - The Api clientpublic com.squareup.okhttp.Call loadCall(LoadRequest request, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
request - The request modelprogressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic LoadResult load(LoadRequest request) throws ApiException
request - The request modelApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<LoadResult> loadWithHttpInfo(LoadRequest request) throws ApiException
request - The request modelApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call loadAsync(LoadRequest request, ApiCallback<LoadResult> callback) throws ApiException
request - The request modelcallback - 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 saveCall(SaveRequest request, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
request - The request modelprogressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic DocumentResult save(SaveRequest request) throws ApiException
request - The request modelApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<DocumentResult> saveWithHttpInfo(SaveRequest request) throws ApiException
request - The request modelApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call saveAsync(SaveRequest request, ApiCallback<DocumentResult> callback) throws ApiException
request - The request modelcallback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body objectCopyright © 2025. All rights reserved.