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