public class CompareDocumentsOptions
extends com.ibm.cloud.sdk.core.service.model.GenericModel
Modifier and Type | Class and Description |
---|---|
static class |
CompareDocumentsOptions.Builder
Builder.
|
static interface |
CompareDocumentsOptions.Model
The analysis model to be used by the service.
|
Modifier and Type | Method and Description |
---|---|
InputStream |
file1()
Gets the file1.
|
String |
file1ContentType()
Gets the file1ContentType.
|
String |
file1Label()
Gets the file1Label.
|
InputStream |
file2()
Gets the file2.
|
String |
file2ContentType()
Gets the file2ContentType.
|
String |
file2Label()
Gets the file2Label.
|
String |
model()
Gets the model.
|
CompareDocumentsOptions.Builder |
newBuilder()
New builder.
|
public CompareDocumentsOptions.Builder newBuilder()
public InputStream file1()
The first document to compare.
public InputStream file2()
The second document to compare.
public String file1ContentType()
The content type of file1. Values for this parameter can be obtained from the HttpMediaType class.
public String file2ContentType()
The content type of file2. Values for this parameter can be obtained from the HttpMediaType class.
public String file1Label()
A text label for the first document.
public String file2Label()
A text label for the second document.
public String model()
The analysis model to be used by the service. For the **Element classification** and **Compare two documents** methods, the default is `contracts`. For the **Extract tables** method, the default is `tables`. These defaults apply to the standalone methods as well as to the methods' use in batch-processing requests.
Copyright © 2021 IBM Cloud. All rights reserved.