public class CompareApi extends Object
| Constructor | Description |
|---|---|
CompareApi(Configuration configuration) |
Initializes new instance of CompareApi
|
CompareApi(String appSid,
String appKey) |
Initializes new instance of CompareApi
|
| Modifier and Type | Method | Description |
|---|---|---|
Link |
comparisons(ComparisonsRequest request) |
Compares source and target documents and returns a link to saved result
|
com.squareup.okhttp.Call |
comparisonsAsync(ComparisonsRequest request,
ApiCallback<Link> callback) |
Compares source and target documents and returns a link to saved result (asynchronously)
|
com.squareup.okhttp.Call |
comparisonsCall(ComparisonsRequest request,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener) |
Build call for comparisons
|
ApiResponse<Link> |
comparisonsWithHttpInfo(ComparisonsRequest request) |
Compares source and target documents and returns a link to saved result
|
ApiClient |
getApiClient() |
Gets ApiClient
|
List<ChangeInfo> |
postChanges(PostChangesRequest request) |
Retrieves a list of changes between source and target documents
|
com.squareup.okhttp.Call |
postChangesAsync(PostChangesRequest request,
ApiCallback<List<ChangeInfo>> callback) |
Retrieves a list of changes between source and target documents (asynchronously)
|
com.squareup.okhttp.Call |
postChangesCall(PostChangesRequest request,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener) |
Build call for postChanges
|
ApiResponse<List<ChangeInfo>> |
postChangesWithHttpInfo(PostChangesRequest request) |
Retrieves a list of changes between source and target documents
|
Link |
putChangesDocument(PutChangesDocumentRequest request) |
Accepts or rejects changes to the resultant document and returns a link to saved result
|
com.squareup.okhttp.Call |
putChangesDocumentAsync(PutChangesDocumentRequest request,
ApiCallback<Link> callback) |
Accepts or rejects changes to the resultant document and returns a link to saved result (asynchronously)
|
com.squareup.okhttp.Call |
putChangesDocumentCall(PutChangesDocumentRequest request,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener) |
Build call for putChangesDocument
|
ApiResponse<Link> |
putChangesDocumentWithHttpInfo(PutChangesDocumentRequest request) |
Accepts or rejects changes to the resultant document and returns a link to saved result
|
void |
setApiClient(ApiClient apiClient) |
Sets ApiClient
|
public CompareApi(String appSid, String appKey)
appSid - Application identifier (App SID)appKey - Application private key (App Key)public CompareApi(Configuration configuration)
configuration - Configuration The configurationpublic ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
apiClient - The Api clientpublic com.squareup.okhttp.Call comparisonsCall(ComparisonsRequest 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 Link comparisons(ComparisonsRequest request) throws ApiException
request - The request modelApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<Link> comparisonsWithHttpInfo(ComparisonsRequest 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 comparisonsAsync(ComparisonsRequest request, ApiCallback<Link> 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 postChangesCall(PostChangesRequest 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 List<ChangeInfo> postChanges(PostChangesRequest request) throws ApiException
request - The request modelApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<List<ChangeInfo>> postChangesWithHttpInfo(PostChangesRequest 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 postChangesAsync(PostChangesRequest request, ApiCallback<List<ChangeInfo>> 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 putChangesDocumentCall(PutChangesDocumentRequest 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 Link putChangesDocument(PutChangesDocumentRequest request) throws ApiException
request - The request modelApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<Link> putChangesDocumentWithHttpInfo(PutChangesDocumentRequest 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 putChangesDocumentAsync(PutChangesDocumentRequest request, ApiCallback<Link> 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.