public class ComparisonApi extends Object
Constructor | Description |
---|---|
ComparisonApi(Configuration configuration) |
|
ComparisonApi(String appSid,
String appKey) |
Modifier and Type | Method | Description |
---|---|---|
Link |
comparison(ComparisonRequest request) |
Returns document with the result of comparison
|
com.squareup.okhttp.Call |
comparisonAsync(ComparisonRequest request,
ApiCallback<Link> callback) |
Returns document with the result of comparison (asynchronously)
|
com.squareup.okhttp.Call |
comparisonCall(ComparisonRequest request,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener) |
Build call for comparison
|
List<Link> |
comparisonImages(ComparisonImagesRequest request) |
Returns images of document with the result of comparison
|
com.squareup.okhttp.Call |
comparisonImagesAsync(ComparisonImagesRequest request,
ApiCallback<List<Link>> callback) |
Returns images of document with the result of comparison (asynchronously)
|
com.squareup.okhttp.Call |
comparisonImagesCall(ComparisonImagesRequest request,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener) |
Build call for comparisonImages
|
File |
comparisonImagesStream(ComparisonImagesStreamRequest request) |
Returns image's streams of document with the result of comparison
|
com.squareup.okhttp.Call |
comparisonImagesStreamAsync(ComparisonImagesStreamRequest request,
ApiCallback<File> callback) |
Returns image's streams of document with the result of comparison (asynchronously)
|
com.squareup.okhttp.Call |
comparisonImagesStreamCall(ComparisonImagesStreamRequest request,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener) |
Build call for comparisonImagesStream
|
ApiResponse<File> |
comparisonImagesStreamWithHttpInfo(ComparisonImagesStreamRequest request) |
Returns image's streams of document with the result of comparison
|
ApiResponse<List<Link>> |
comparisonImagesWithHttpInfo(ComparisonImagesRequest request) |
Returns images of document with the result of comparison
|
File |
comparisonStream(ComparisonStreamRequest request) |
Returns stream of document with the result of comparison
|
com.squareup.okhttp.Call |
comparisonStreamAsync(ComparisonStreamRequest request,
ApiCallback<File> callback) |
Returns stream of document with the result of comparison (asynchronously)
|
com.squareup.okhttp.Call |
comparisonStreamCall(ComparisonStreamRequest request,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener) |
Build call for comparisonStream
|
ApiResponse<File> |
comparisonStreamWithHttpInfo(ComparisonStreamRequest request) |
Returns stream of document with the result of comparison
|
ApiResponse<Link> |
comparisonWithHttpInfo(ComparisonRequest request) |
Returns document with the result of comparison
|
ApiClient |
getApiClient() |
|
void |
setApiClient(ApiClient apiClient) |
public ComparisonApi(Configuration configuration)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public com.squareup.okhttp.Call comparisonCall(ComparisonRequest 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 Link comparison(ComparisonRequest request) throws ApiException
request
- The request modelApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<Link> comparisonWithHttpInfo(ComparisonRequest 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 comparisonAsync(ComparisonRequest request, ApiCallback<Link> 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 comparisonImagesCall(ComparisonImagesRequest 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 List<Link> comparisonImages(ComparisonImagesRequest request) throws ApiException
request
- The request modelApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<List<Link>> comparisonImagesWithHttpInfo(ComparisonImagesRequest 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 comparisonImagesAsync(ComparisonImagesRequest request, ApiCallback<List<Link>> 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 comparisonImagesStreamCall(ComparisonImagesStreamRequest 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 File comparisonImagesStream(ComparisonImagesStreamRequest request) throws ApiException
request
- The request modelApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<File> comparisonImagesStreamWithHttpInfo(ComparisonImagesStreamRequest 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 comparisonImagesStreamAsync(ComparisonImagesStreamRequest request, ApiCallback<File> 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 comparisonStreamCall(ComparisonStreamRequest 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 File comparisonStream(ComparisonStreamRequest request) throws ApiException
request
- The request modelApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<File> comparisonStreamWithHttpInfo(ComparisonStreamRequest 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 comparisonStreamAsync(ComparisonStreamRequest request, ApiCallback<File> 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 © 2018. All rights reserved.