public class PreviewApi
extends java.lang.Object
Constructor | Description |
---|---|
PreviewApi(Configuration configuration) |
Initializes new instance of PreviewApi
|
PreviewApi(java.lang.String appSid,
java.lang.String appKey) |
Initializes new instance of PreviewApi
|
Modifier and Type | Method | Description |
---|---|---|
void |
deletePages(DeletePagesRequest request) |
Removes document's pages image representations
|
com.squareup.okhttp.Call |
deletePagesAsync(DeletePagesRequest request,
ApiCallback<java.lang.Void> callback) |
Removes document's pages image representations (asynchronously)
|
com.squareup.okhttp.Call |
deletePagesCall(DeletePagesRequest request,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener) |
Build call for deletePages
|
ApiResponse<java.lang.Void> |
deletePagesWithHttpInfo(DeletePagesRequest request) |
Removes document's pages image representations
|
ApiClient |
getApiClient() |
Gets ApiClient
|
PageImages |
getPages(GetPagesRequest request) |
Generates image representations from documents pages
|
com.squareup.okhttp.Call |
getPagesAsync(GetPagesRequest request,
ApiCallback<PageImages> callback) |
Generates image representations from documents pages (asynchronously)
|
com.squareup.okhttp.Call |
getPagesCall(GetPagesRequest request,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener) |
Build call for getPages
|
ApiResponse<PageImages> |
getPagesWithHttpInfo(GetPagesRequest request) |
Generates image representations from documents pages
|
void |
setApiClient(ApiClient apiClient) |
Sets ApiClient
|
public PreviewApi(java.lang.String appSid, java.lang.String appKey)
appSid
- Application identifier (App SID)appKey
- Application private key (App Key)public PreviewApi(Configuration configuration)
configuration
- Configuration The configurationpublic ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
apiClient
- The Api clientpublic com.squareup.okhttp.Call deletePagesCall(DeletePagesRequest 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 void deletePages(DeletePagesRequest request) throws ApiException
request
- The request modelApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<java.lang.Void> deletePagesWithHttpInfo(DeletePagesRequest 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 deletePagesAsync(DeletePagesRequest request, ApiCallback<java.lang.Void> 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 getPagesCall(GetPagesRequest 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 PageImages getPages(GetPagesRequest request) throws ApiException
request
- The request modelApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<PageImages> getPagesWithHttpInfo(GetPagesRequest 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 getPagesAsync(GetPagesRequest request, ApiCallback<PageImages> 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 © 2022. All rights reserved.