public class ReviewApi extends Object
| Constructor | Description |
|---|---|
ReviewApi(Configuration configuration) |
Initializes new instance of ReviewApi
|
ReviewApi(String appSid,
String appKey) |
Initializes new instance of ReviewApi
|
| Modifier and Type | Method | Description |
|---|---|---|
Link |
applyRevisions(ApplyRevisionsRequest request) |
Accepts or rejects revisions in DOCX document
|
com.squareup.okhttp.Call |
applyRevisionsAsync(ApplyRevisionsRequest request,
ApiCallback<Link> callback) |
Accepts or rejects revisions in DOCX document (asynchronously)
|
com.squareup.okhttp.Call |
applyRevisionsCall(ApplyRevisionsRequest request,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener) |
Build call for applyRevisions
|
ApiResponse<Link> |
applyRevisionsWithHttpInfo(ApplyRevisionsRequest request) |
Accepts or rejects revisions in DOCX document
|
ApiClient |
getApiClient() |
Gets ApiClient
|
List<RevisionInfo> |
getRevisions(GetRevisionsRequest request) |
Get list of DOCX document revisions.
|
com.squareup.okhttp.Call |
getRevisionsAsync(GetRevisionsRequest request,
ApiCallback<List<RevisionInfo>> callback) |
Get list of DOCX document revisions.
|
com.squareup.okhttp.Call |
getRevisionsCall(GetRevisionsRequest request,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener) |
Build call for getRevisions
|
ApiResponse<List<RevisionInfo>> |
getRevisionsWithHttpInfo(GetRevisionsRequest request) |
Get list of DOCX document revisions.
|
void |
setApiClient(ApiClient apiClient) |
Sets ApiClient
|
public ReviewApi(String appSid, String appKey)
appSid - Application identifier (App SID)appKey - Application private key (App Key)public ReviewApi(Configuration configuration)
configuration - Configuration The configurationpublic ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
apiClient - The Api clientpublic com.squareup.okhttp.Call applyRevisionsCall(ApplyRevisionsRequest 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 applyRevisions(ApplyRevisionsRequest 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> applyRevisionsWithHttpInfo(ApplyRevisionsRequest 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 applyRevisionsAsync(ApplyRevisionsRequest 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 getRevisionsCall(GetRevisionsRequest 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<RevisionInfo> getRevisions(GetRevisionsRequest 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<RevisionInfo>> getRevisionsWithHttpInfo(GetRevisionsRequest 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 getRevisionsAsync(GetRevisionsRequest request, ApiCallback<List<RevisionInfo>> 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.