public class SecurityApi
extends java.lang.Object
Constructor | Description |
---|---|
SecurityApi(Configuration configuration) |
Initializes new instance of SecurityApi
|
SecurityApi(java.lang.String appSid,
java.lang.String appKey) |
Initializes new instance of SecurityApi
|
Modifier and Type | Method | Description |
---|---|---|
DocumentResult |
addPassword(AddPasswordRequest request) |
Add document password protection
|
com.squareup.okhttp.Call |
addPasswordAsync(AddPasswordRequest request,
ApiCallback<DocumentResult> callback) |
Add document password protection (asynchronously)
|
com.squareup.okhttp.Call |
addPasswordCall(AddPasswordRequest request,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener) |
Build call for addPassword
|
ApiResponse<DocumentResult> |
addPasswordWithHttpInfo(AddPasswordRequest request) |
Add document password protection
|
PasswordResult |
checkPassword(CheckPasswordRequest request) |
Checks whether document is password protected
|
com.squareup.okhttp.Call |
checkPasswordAsync(CheckPasswordRequest request,
ApiCallback<PasswordResult> callback) |
Checks whether document is password protected (asynchronously)
|
com.squareup.okhttp.Call |
checkPasswordCall(CheckPasswordRequest request,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener) |
Build call for checkPassword
|
ApiResponse<PasswordResult> |
checkPasswordWithHttpInfo(CheckPasswordRequest request) |
Checks whether document is password protected
|
ApiClient |
getApiClient() |
Gets ApiClient
|
DocumentResult |
removePassword(RemovePasswordRequest request) |
Remove document password protection
|
com.squareup.okhttp.Call |
removePasswordAsync(RemovePasswordRequest request,
ApiCallback<DocumentResult> callback) |
Remove document password protection (asynchronously)
|
com.squareup.okhttp.Call |
removePasswordCall(RemovePasswordRequest request,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener) |
Build call for removePassword
|
ApiResponse<DocumentResult> |
removePasswordWithHttpInfo(RemovePasswordRequest request) |
Remove document password protection
|
void |
setApiClient(ApiClient apiClient) |
Sets ApiClient
|
DocumentResult |
updatePassword(UpdatePasswordRequest request) |
Update document password
|
com.squareup.okhttp.Call |
updatePasswordAsync(UpdatePasswordRequest request,
ApiCallback<DocumentResult> callback) |
Update document password (asynchronously)
|
com.squareup.okhttp.Call |
updatePasswordCall(UpdatePasswordRequest request,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener) |
Build call for updatePassword
|
ApiResponse<DocumentResult> |
updatePasswordWithHttpInfo(UpdatePasswordRequest request) |
Update document password
|
public SecurityApi(java.lang.String appSid, java.lang.String appKey)
appSid
- Application identifier (App SID)appKey
- Application private key (App Key)public SecurityApi(Configuration configuration)
configuration
- Configuration The configurationpublic ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
apiClient
- The Api clientpublic com.squareup.okhttp.Call addPasswordCall(AddPasswordRequest 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 addPassword(AddPasswordRequest 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> addPasswordWithHttpInfo(AddPasswordRequest 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 addPasswordAsync(AddPasswordRequest 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 checkPasswordCall(CheckPasswordRequest 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 PasswordResult checkPassword(CheckPasswordRequest request) throws ApiException
request
- The request modelApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<PasswordResult> checkPasswordWithHttpInfo(CheckPasswordRequest 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 checkPasswordAsync(CheckPasswordRequest request, ApiCallback<PasswordResult> 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 removePasswordCall(RemovePasswordRequest 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 removePassword(RemovePasswordRequest 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> removePasswordWithHttpInfo(RemovePasswordRequest 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 removePasswordAsync(RemovePasswordRequest 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 updatePasswordCall(UpdatePasswordRequest 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 updatePassword(UpdatePasswordRequest 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> updatePasswordWithHttpInfo(UpdatePasswordRequest 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 updatePasswordAsync(UpdatePasswordRequest 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.