Package com.affinda.api.client.models
Class AnnotationCreate
- java.lang.Object
-
- com.affinda.api.client.models.AnnotationCreate
-
public final class AnnotationCreate extends Object
The AnnotationCreate model.
-
-
Constructor Summary
Constructors Constructor Description AnnotationCreate()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetDataPoint()Get the dataPoint property: Data point's identifier.StringgetDocument()Get the document property: Uniquely identify a document.IntegergetPageIndex()Get the pageIndex property: The page number within the document, starting from 0.IntegergetParent()Get the parent property: The parent annotation's ID.ObjectgetParsed()Get the parsed property: The parsed property.StringgetRaw()Get the raw property: Raw data extracted from the before any post-processing.List<Rectangle>getRectangles()Get the rectangles property: x/y coordinates for the rectangles containing the data.BooleanisClientVerified()Get the isClientVerified property: Indicates whether the data has been validated by a human.AnnotationCreatesetDataPoint(String dataPoint)Set the dataPoint property: Data point's identifier.AnnotationCreatesetDocument(String document)Set the document property: Uniquely identify a document.AnnotationCreatesetIsClientVerified(Boolean isClientVerified)Set the isClientVerified property: Indicates whether the data has been validated by a human.AnnotationCreatesetPageIndex(Integer pageIndex)Set the pageIndex property: The page number within the document, starting from 0.AnnotationCreatesetParent(Integer parent)Set the parent property: The parent annotation's ID.AnnotationCreatesetParsed(Object parsed)Set the parsed property: The parsed property.AnnotationCreatesetRaw(String raw)Set the raw property: Raw data extracted from the before any post-processing.AnnotationCreatesetRectangles(List<Rectangle> rectangles)Set the rectangles property: x/y coordinates for the rectangles containing the data.
-
-
-
Method Detail
-
getRectangles
public List<Rectangle> getRectangles()
Get the rectangles property: x/y coordinates for the rectangles containing the data. An annotation can be contained within multiple rectangles.- Returns:
- the rectangles value.
-
setRectangles
public AnnotationCreate setRectangles(List<Rectangle> rectangles)
Set the rectangles property: x/y coordinates for the rectangles containing the data. An annotation can be contained within multiple rectangles.- Parameters:
rectangles- the rectangles value to set.- Returns:
- the AnnotationCreate object itself.
-
getDocument
public String getDocument()
Get the document property: Uniquely identify a document.- Returns:
- the document value.
-
setDocument
public AnnotationCreate setDocument(String document)
Set the document property: Uniquely identify a document.- Parameters:
document- the document value to set.- Returns:
- the AnnotationCreate object itself.
-
getPageIndex
public Integer getPageIndex()
Get the pageIndex property: The page number within the document, starting from 0.- Returns:
- the pageIndex value.
-
setPageIndex
public AnnotationCreate setPageIndex(Integer pageIndex)
Set the pageIndex property: The page number within the document, starting from 0.- Parameters:
pageIndex- the pageIndex value to set.- Returns:
- the AnnotationCreate object itself.
-
getDataPoint
public String getDataPoint()
Get the dataPoint property: Data point's identifier.- Returns:
- the dataPoint value.
-
setDataPoint
public AnnotationCreate setDataPoint(String dataPoint)
Set the dataPoint property: Data point's identifier.- Parameters:
dataPoint- the dataPoint value to set.- Returns:
- the AnnotationCreate object itself.
-
getRaw
public String getRaw()
Get the raw property: Raw data extracted from the before any post-processing.- Returns:
- the raw value.
-
setRaw
public AnnotationCreate setRaw(String raw)
Set the raw property: Raw data extracted from the before any post-processing.- Parameters:
raw- the raw value to set.- Returns:
- the AnnotationCreate object itself.
-
getParsed
public Object getParsed()
Get the parsed property: The parsed property.- Returns:
- the parsed value.
-
setParsed
public AnnotationCreate setParsed(Object parsed)
Set the parsed property: The parsed property.- Parameters:
parsed- the parsed value to set.- Returns:
- the AnnotationCreate object itself.
-
isClientVerified
public Boolean isClientVerified()
Get the isClientVerified property: Indicates whether the data has been validated by a human.- Returns:
- the isClientVerified value.
-
setIsClientVerified
public AnnotationCreate setIsClientVerified(Boolean isClientVerified)
Set the isClientVerified property: Indicates whether the data has been validated by a human.- Parameters:
isClientVerified- the isClientVerified value to set.- Returns:
- the AnnotationCreate object itself.
-
getParent
public Integer getParent()
Get the parent property: The parent annotation's ID.- Returns:
- the parent value.
-
setParent
public AnnotationCreate setParent(Integer parent)
Set the parent property: The parent annotation's ID.- Parameters:
parent- the parent value to set.- Returns:
- the AnnotationCreate object itself.
-
-