public class MetadataApi extends Object
| Constructor | Description |
|---|---|
MetadataApi(Configuration configuration) |
Initializes new instance of MetadataApi
|
MetadataApi(String appSid,
String appKey) |
Initializes new instance of MetadataApi
|
| Modifier and Type | Method | Description |
|---|---|---|
AddResult |
add(AddRequest request) |
Add new metadata fields to a file.
|
com.squareup.okhttp.Call |
addAsync(AddRequest request,
ApiCallback<AddResult> callback) |
Add new metadata fields to a file.
|
com.squareup.okhttp.Call |
addCall(AddRequest request,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener) |
Build call for add
|
ApiResponse<AddResult> |
addWithHttpInfo(AddRequest request) |
Add new metadata fields to a file.
|
ExtractResult |
extract(ExtractRequest request) |
Retrieve document metadata.
|
com.squareup.okhttp.Call |
extractAsync(ExtractRequest request,
ApiCallback<ExtractResult> callback) |
Retrieve document metadata.
|
com.squareup.okhttp.Call |
extractCall(ExtractRequest request,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener) |
Build call for extract
|
ApiResponse<ExtractResult> |
extractWithHttpInfo(ExtractRequest request) |
Retrieve document metadata.
|
ApiClient |
getApiClient() |
Gets ApiClient
|
RemoveResult |
remove(RemoveRequest request) |
Remove metadata from document using search criteria.
|
com.squareup.okhttp.Call |
removeAsync(RemoveRequest request,
ApiCallback<RemoveResult> callback) |
Remove metadata from document using search criteria.
|
com.squareup.okhttp.Call |
removeCall(RemoveRequest request,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener) |
Build call for remove
|
ApiResponse<RemoveResult> |
removeWithHttpInfo(RemoveRequest request) |
Remove metadata from document using search criteria.
|
SetResult |
set(SetRequest request) |
Set existing metadata fields with new values.
|
void |
setApiClient(ApiClient apiClient) |
Sets ApiClient
|
com.squareup.okhttp.Call |
setAsync(SetRequest request,
ApiCallback<SetResult> callback) |
Set existing metadata fields with new values.
|
com.squareup.okhttp.Call |
setCall(SetRequest request,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener) |
Build call for set
|
ApiResponse<SetResult> |
setWithHttpInfo(SetRequest request) |
Set existing metadata fields with new values.
|
public MetadataApi(String appSid, String appKey)
appSid - Application identifier (App SID)appKey - Application private key (App Key)public MetadataApi(Configuration configuration)
configuration - Configuration The configurationpublic ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
apiClient - The Api clientpublic com.squareup.okhttp.Call addCall(AddRequest 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 AddResult add(AddRequest request) throws ApiException
request - The request modelApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<AddResult> addWithHttpInfo(AddRequest 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 addAsync(AddRequest request, ApiCallback<AddResult> 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 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 ExtractResult 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<ExtractResult> 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<ExtractResult> 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 RemoveResult 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<RemoveResult> 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<RemoveResult> 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 setCall(SetRequest 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 SetResult set(SetRequest request) throws ApiException
request - The request modelApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<SetResult> setWithHttpInfo(SetRequest 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 setAsync(SetRequest request, ApiCallback<SetResult> 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 © 2026. All rights reserved.