public class PagesApi
extends java.lang.Object
Constructor | Description |
---|---|
PagesApi(Configuration configuration) |
Initializes new instance of PagesApi
|
PagesApi(java.lang.String appSid,
java.lang.String appKey) |
Initializes new instance of PagesApi
|
Modifier and Type | Method | Description |
---|---|---|
DocumentResult |
extract(ExtractRequest request) |
Make new document with some pages from source document
|
com.squareup.okhttp.Call |
extractAsync(ExtractRequest request,
ApiCallback<DocumentResult> callback) |
Make new document with some pages from source document (asynchronously)
|
com.squareup.okhttp.Call |
extractCall(ExtractRequest request,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener) |
Build call for extract
|
ApiResponse<DocumentResult> |
extractWithHttpInfo(ExtractRequest request) |
Make new document with some pages from source document
|
ApiClient |
getApiClient() |
Gets ApiClient
|
DocumentResult |
move(MoveRequest request) |
Move page to a new position within document
|
com.squareup.okhttp.Call |
moveAsync(MoveRequest request,
ApiCallback<DocumentResult> callback) |
Move page to a new position within document (asynchronously)
|
com.squareup.okhttp.Call |
moveCall(MoveRequest request,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener) |
Build call for move
|
ApiResponse<DocumentResult> |
moveWithHttpInfo(MoveRequest request) |
Move page to a new position within document
|
DocumentResult |
orientation(OrientationRequest request) |
Make new document and apply new orientation mode for specified pages
|
com.squareup.okhttp.Call |
orientationAsync(OrientationRequest request,
ApiCallback<DocumentResult> callback) |
Make new document and apply new orientation mode for specified pages (asynchronously)
|
com.squareup.okhttp.Call |
orientationCall(OrientationRequest request,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener) |
Build call for orientation
|
ApiResponse<DocumentResult> |
orientationWithHttpInfo(OrientationRequest request) |
Make new document and apply new orientation mode for specified pages
|
DocumentResult |
remove(RemoveRequest request) |
Remove pages from document
|
com.squareup.okhttp.Call |
removeAsync(RemoveRequest request,
ApiCallback<DocumentResult> callback) |
Remove pages from document (asynchronously)
|
com.squareup.okhttp.Call |
removeCall(RemoveRequest request,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener) |
Build call for remove
|
ApiResponse<DocumentResult> |
removeWithHttpInfo(RemoveRequest request) |
Remove pages from document
|
DocumentResult |
rotate(RotateRequest request) |
Rotate pages in document
|
com.squareup.okhttp.Call |
rotateAsync(RotateRequest request,
ApiCallback<DocumentResult> callback) |
Rotate pages in document (asynchronously)
|
com.squareup.okhttp.Call |
rotateCall(RotateRequest request,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener) |
Build call for rotate
|
ApiResponse<DocumentResult> |
rotateWithHttpInfo(RotateRequest request) |
Rotate pages in document
|
void |
setApiClient(ApiClient apiClient) |
Sets ApiClient
|
DocumentResult |
swap(SwapRequest request) |
Swap two pages within document
|
com.squareup.okhttp.Call |
swapAsync(SwapRequest request,
ApiCallback<DocumentResult> callback) |
Swap two pages within document (asynchronously)
|
com.squareup.okhttp.Call |
swapCall(SwapRequest request,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener) |
Build call for swap
|
ApiResponse<DocumentResult> |
swapWithHttpInfo(SwapRequest request) |
Swap two pages within document
|
public PagesApi(java.lang.String appSid, java.lang.String appKey)
appSid
- Application identifier (App SID)appKey
- Application private key (App Key)public PagesApi(Configuration configuration)
configuration
- Configuration The configurationpublic ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
apiClient
- The Api clientpublic com.squareup.okhttp.Call extractCall(ExtractRequest 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 extract(ExtractRequest 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> extractWithHttpInfo(ExtractRequest 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 extractAsync(ExtractRequest 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 objectpublic com.squareup.okhttp.Call moveCall(MoveRequest 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 move(MoveRequest 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> moveWithHttpInfo(MoveRequest 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 moveAsync(MoveRequest 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 objectpublic com.squareup.okhttp.Call orientationCall(OrientationRequest 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 orientation(OrientationRequest 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> orientationWithHttpInfo(OrientationRequest 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 orientationAsync(OrientationRequest 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 objectpublic com.squareup.okhttp.Call removeCall(RemoveRequest 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 remove(RemoveRequest 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> removeWithHttpInfo(RemoveRequest 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 removeAsync(RemoveRequest 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 objectpublic com.squareup.okhttp.Call rotateCall(RotateRequest 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 rotate(RotateRequest 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> rotateWithHttpInfo(RotateRequest 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 rotateAsync(RotateRequest 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 objectpublic com.squareup.okhttp.Call swapCall(SwapRequest 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 swap(SwapRequest 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> swapWithHttpInfo(SwapRequest 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 swapAsync(SwapRequest 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 © 2022. All rights reserved.