public class CompareReturn
extends com.ibm.cloud.sdk.core.service.model.GenericModel
Modifier and Type | Field and Description |
---|---|
protected java.util.List<AlignedElement> |
alignedElements |
protected java.util.List<Document> |
documents |
protected java.lang.String |
modelId |
protected java.lang.String |
modelVersion |
protected java.util.List<UnalignedElement> |
unalignedElements |
Constructor and Description |
---|
CompareReturn() |
Modifier and Type | Method and Description |
---|---|
java.util.List<AlignedElement> |
getAlignedElements()
Gets the alignedElements.
|
java.util.List<Document> |
getDocuments()
Gets the documents.
|
java.lang.String |
getModelId()
Gets the modelId.
|
java.lang.String |
getModelVersion()
Gets the modelVersion.
|
java.util.List<UnalignedElement> |
getUnalignedElements()
Gets the unalignedElements.
|
@SerializedName(value="model_id") protected java.lang.String modelId
@SerializedName(value="model_version") protected java.lang.String modelVersion
protected java.util.List<Document> documents
@SerializedName(value="aligned_elements") protected java.util.List<AlignedElement> alignedElements
@SerializedName(value="unaligned_elements") protected java.util.List<UnalignedElement> unalignedElements
public java.lang.String getModelId()
The analysis model used to compare the input documents. For the **Compare two documents** method, the only valid value is `contracts`.
public java.lang.String getModelVersion()
The version of the analysis model identified by the value of the `model_id` key.
public java.util.List<Document> getDocuments()
Information about the documents being compared.
public java.util.List<AlignedElement> getAlignedElements()
A list of pairs of elements that semantically align between the compared documents.
public java.util.List<UnalignedElement> getUnalignedElements()
A list of elements that do not semantically align between the compared documents.