public class ViewApi
extends java.lang.Object
Constructor | Description |
---|---|
ViewApi(Configuration configuration) |
Initializes new instance of ViewApi
|
ViewApi(java.lang.String appSid,
java.lang.String appKey) |
Initializes new instance of ViewApi
|
Modifier and Type | Method | Description |
---|---|---|
ViewResult |
createView(CreateViewRequest request) |
Render document pages
|
com.squareup.okhttp.Call |
createViewAsync(CreateViewRequest request,
ApiCallback<ViewResult> callback) |
Render document pages (asynchronously)
|
com.squareup.okhttp.Call |
createViewCall(CreateViewRequest request,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener) |
Build call for createView
|
ApiResponse<ViewResult> |
createViewWithHttpInfo(CreateViewRequest request) |
Render document pages
|
void |
deleteView(DeleteViewRequest request) |
Delete rendered pages
|
com.squareup.okhttp.Call |
deleteViewAsync(DeleteViewRequest request,
ApiCallback<java.lang.Void> callback) |
Delete rendered pages (asynchronously)
|
com.squareup.okhttp.Call |
deleteViewCall(DeleteViewRequest request,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener) |
Build call for deleteView
|
ApiResponse<java.lang.Void> |
deleteViewWithHttpInfo(DeleteViewRequest request) |
Delete rendered pages
|
ApiClient |
getApiClient() |
Gets ApiClient
|
void |
setApiClient(ApiClient apiClient) |
Sets ApiClient
|
public ViewApi(java.lang.String appSid, java.lang.String appKey)
appSid
- Application identifier (App SID)appKey
- Application private key (App Key)public ViewApi(Configuration configuration)
configuration
- Configuration The configurationpublic ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
apiClient
- The Api clientpublic com.squareup.okhttp.Call createViewCall(CreateViewRequest 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 ViewResult createView(CreateViewRequest request) throws ApiException
request
- The request modelApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<ViewResult> createViewWithHttpInfo(CreateViewRequest 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 createViewAsync(CreateViewRequest request, ApiCallback<ViewResult> 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 deleteViewCall(DeleteViewRequest 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 deleteView(DeleteViewRequest 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> deleteViewWithHttpInfo(DeleteViewRequest 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 deleteViewAsync(DeleteViewRequest 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 objectCopyright © 2019. All rights reserved.