public class CompareComply extends WatsonService
defaultHeaders, JSON_MIME_PATTERN, JSON_PATCH_MIME_PATTERN, MESSAGE_CODE, MESSAGE_ERROR, skipAuthentication, VERSION
Constructor and Description |
---|
CompareComply(java.lang.String versionDate)
Instantiates a new `CompareComply`.
|
CompareComply(java.lang.String versionDate,
IamOptions iamOptions)
Instantiates a new `CompareComply` with IAM.
|
Modifier and Type | Method and Description |
---|---|
ServiceCall<FeedbackReturn> |
addFeedback(AddFeedbackOptions addFeedbackOptions)
Add feedback.
|
ServiceCall<ClassifyReturn> |
classifyElements(ClassifyElementsOptions classifyElementsOptions)
Classify the elements of a document.
|
ServiceCall<CompareReturn> |
compareDocuments(CompareDocumentsOptions compareDocumentsOptions)
Compare two documents.
|
ServiceCall<HTMLReturn> |
convertToHtml(ConvertToHtmlOptions convertToHtmlOptions)
Convert file to HTML.
|
ServiceCall<BatchStatus> |
createBatch(CreateBatchOptions createBatchOptions)
Submit a batch-processing request.
|
ServiceCall<java.lang.Void> |
deleteFeedback(DeleteFeedbackOptions deleteFeedbackOptions)
Deletes a specified feedback entry.
|
ServiceCall<TableReturn> |
extractTables(ExtractTablesOptions extractTablesOptions)
Extract a document's tables.
|
ServiceCall<BatchStatus> |
getBatch(GetBatchOptions getBatchOptions)
Gets information about a specific batch-processing request.
|
ServiceCall<GetFeedback> |
getFeedback(GetFeedbackOptions getFeedbackOptions)
List a specified feedback entry.
|
ServiceCall<Batches> |
listBatches()
Gets the list of submitted batch-processing jobs.
|
ServiceCall<Batches> |
listBatches(ListBatchesOptions listBatchesOptions)
Gets the list of submitted batch-processing jobs.
|
ServiceCall<FeedbackList> |
listFeedback()
List the feedback in documents.
|
ServiceCall<FeedbackList> |
listFeedback(ListFeedbackOptions listFeedbackOptions)
List the feedback in documents.
|
ServiceCall<BatchStatus> |
updateBatch(UpdateBatchOptions updateBatchOptions)
Updates a pending or active batch-processing request.
|
configureClient, configureHttpClient, createServiceCall, getApiKey, getEndPoint, getName, getPassword, getToken, getUsername, isJsonMimeType, isJsonPatchMimeType, isTokenManagerSet, processServiceCall, setApiKey, setAuthentication, setDefaultHeaders, setDefaultHeaders, setEndPoint, setIamCredentials, setSkipAuthentication, setUsernameAndPassword, toString
public CompareComply(java.lang.String versionDate)
versionDate
- The version date (yyyy-MM-dd) of the REST API to use. Specifying this value will keep your API
calls from failing when the service introduces breaking changes.public CompareComply(java.lang.String versionDate, IamOptions iamOptions)
versionDate
- The version date (yyyy-MM-dd) of the REST API to use. Specifying this value will keep your API
calls from failing when the service introduces breaking changes.iamOptions
- the options for authenticating through IAMpublic ServiceCall<HTMLReturn> convertToHtml(ConvertToHtmlOptions convertToHtmlOptions)
convertToHtmlOptions
- the ConvertToHtmlOptions
containing the options for the callServiceCall
with a response type of HTMLReturn
public ServiceCall<ClassifyReturn> classifyElements(ClassifyElementsOptions classifyElementsOptions)
classifyElementsOptions
- the ClassifyElementsOptions
containing the options for the callServiceCall
with a response type of ClassifyReturn
public ServiceCall<TableReturn> extractTables(ExtractTablesOptions extractTablesOptions)
extractTablesOptions
- the ExtractTablesOptions
containing the options for the callServiceCall
with a response type of TableReturn
public ServiceCall<CompareReturn> compareDocuments(CompareDocumentsOptions compareDocumentsOptions)
compareDocumentsOptions
- the CompareDocumentsOptions
containing the options for the callServiceCall
with a response type of CompareReturn
public ServiceCall<FeedbackReturn> addFeedback(AddFeedbackOptions addFeedbackOptions)
addFeedbackOptions
- the AddFeedbackOptions
containing the options for the callServiceCall
with a response type of FeedbackReturn
public ServiceCall<java.lang.Void> deleteFeedback(DeleteFeedbackOptions deleteFeedbackOptions)
deleteFeedbackOptions
- the DeleteFeedbackOptions
containing the options for the callServiceCall
with a response type of Voidpublic ServiceCall<GetFeedback> getFeedback(GetFeedbackOptions getFeedbackOptions)
getFeedbackOptions
- the GetFeedbackOptions
containing the options for the callServiceCall
with a response type of GetFeedback
public ServiceCall<FeedbackList> listFeedback(ListFeedbackOptions listFeedbackOptions)
listFeedbackOptions
- the ListFeedbackOptions
containing the options for the callServiceCall
with a response type of FeedbackList
public ServiceCall<FeedbackList> listFeedback()
ServiceCall
with a response type of FeedbackList
public ServiceCall<BatchStatus> createBatch(CreateBatchOptions createBatchOptions)
createBatchOptions
- the CreateBatchOptions
containing the options for the callServiceCall
with a response type of BatchStatus
public ServiceCall<BatchStatus> getBatch(GetBatchOptions getBatchOptions)
getBatchOptions
- the GetBatchOptions
containing the options for the callServiceCall
with a response type of BatchStatus
public ServiceCall<Batches> listBatches(ListBatchesOptions listBatchesOptions)
listBatchesOptions
- the ListBatchesOptions
containing the options for the callServiceCall
with a response type of Batches
public ServiceCall<Batches> listBatches()
ServiceCall
with a response type of Batches
public ServiceCall<BatchStatus> updateBatch(UpdateBatchOptions updateBatchOptions)
updateBatchOptions
- the UpdateBatchOptions
containing the options for the callServiceCall
with a response type of BatchStatus