public class UnalignedElement
extends com.ibm.cloud.sdk.core.service.model.GenericModel
Modifier and Type | Field and Description |
---|---|
protected java.util.List<Attribute> |
attributes |
protected java.util.List<CategoryComparison> |
categories |
protected java.lang.String |
documentLabel |
protected Location |
location |
protected java.lang.String |
text |
protected java.util.List<TypeLabelComparison> |
types |
Constructor and Description |
---|
UnalignedElement() |
Modifier and Type | Method and Description |
---|---|
java.util.List<Attribute> |
getAttributes()
Gets the attributes.
|
java.util.List<CategoryComparison> |
getCategories()
Gets the categories.
|
java.lang.String |
getDocumentLabel()
Gets the documentLabel.
|
Location |
getLocation()
Gets the location.
|
java.lang.String |
getText()
Gets the text.
|
java.util.List<TypeLabelComparison> |
getTypes()
Gets the types.
|
@SerializedName(value="document_label") protected java.lang.String documentLabel
protected Location location
protected java.lang.String text
protected java.util.List<TypeLabelComparison> types
protected java.util.List<CategoryComparison> categories
protected java.util.List<Attribute> attributes
public java.lang.String getDocumentLabel()
The label assigned to the document by the value of the `file_1_label` or `file_2_label` parameters on the **Compare two documents** method.
public Location getLocation()
The numeric location of the identified element in the document, represented with two integers labeled `begin` and `end`.
public java.lang.String getText()
The text of the element.
public java.util.List<TypeLabelComparison> getTypes()
Description of the action specified by the element and whom it affects.
public java.util.List<CategoryComparison> getCategories()
List of functional categories into which the element falls; in other words, the subject matter of the element.
public java.util.List<Attribute> getAttributes()
List of document attributes.