Package com.affinda.api.client.models
Class AnnotationBase
- java.lang.Object
-
- com.affinda.api.client.models.AnnotationBase
-
- Direct Known Subclasses:
DateAnnotationUpdate,ExpectedRemunerationAnnotationUpdate,JobTitleAnnotationUpdate,LanguageAnnotationUpdate,LocationAnnotationUpdate,SkillAnnotationUpdate,TextAnnotationUpdate,YearsExperienceAnnotationUpdate
public class AnnotationBase extends Object
The AnnotationBase model.
-
-
Constructor Summary
Constructors Constructor Description AnnotationBase()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,Object>getAdditionalProperties()Get the additionalProperties property: Dictionary of <any>.FloatgetClassificationConfidence()Get the classificationConfidence property: The model's confidence that the text has been classified correctly.FloatgetConfidence()Get the confidence property: The overall confidence that the model's prediction is correct.StringgetContentType()Get the contentType property: The contentType property.StringgetDataPoint()Get the dataPoint property: The dataPoint property.IntegergetId()Get the id property: The id property.IntegergetPageIndex()Get the pageIndex property: The pageIndex property.StringgetRaw()Get the raw property: The raw property.RectanglegetRectangle()Get the rectangle property: The rectangle property.List<Rectangle>getRectangles()Get the rectangles property: The rectangles property.FloatgetTextExtractionConfidence()Get the textExtractionConfidence property: If the document was submitted as an image, this is the confidence that the text in the image has been correctly read by the model.BooleanisAutoVerified()Get the isAutoVerified property: The isAutoVerified property.BooleanisClientVerified()Get the isClientVerified property: The isClientVerified property.BooleanisVerified()Get the isVerified property: The isVerified property.AnnotationBasesetAdditionalProperties(Map<String,Object> additionalProperties)Set the additionalProperties property: Dictionary of <any>.AnnotationBasesetClassificationConfidence(Float classificationConfidence)Set the classificationConfidence property: The model's confidence that the text has been classified correctly.AnnotationBasesetConfidence(Float confidence)Set the confidence property: The overall confidence that the model's prediction is correct.AnnotationBasesetContentType(String contentType)Set the contentType property: The contentType property.AnnotationBasesetDataPoint(String dataPoint)Set the dataPoint property: The dataPoint property.AnnotationBasesetId(Integer id)Set the id property: The id property.AnnotationBasesetIsAutoVerified(Boolean isAutoVerified)Set the isAutoVerified property: The isAutoVerified property.AnnotationBasesetIsClientVerified(Boolean isClientVerified)Set the isClientVerified property: The isClientVerified property.AnnotationBasesetIsVerified(Boolean isVerified)Set the isVerified property: The isVerified property.AnnotationBasesetPageIndex(Integer pageIndex)Set the pageIndex property: The pageIndex property.AnnotationBasesetRaw(String raw)Set the raw property: The raw property.AnnotationBasesetRectangle(Rectangle rectangle)Set the rectangle property: The rectangle property.AnnotationBasesetTextExtractionConfidence(Float textExtractionConfidence)Set the textExtractionConfidence property: If the document was submitted as an image, this is the confidence that the text in the image has been correctly read by the model.
-
-
-
Method Detail
-
getId
public Integer getId()
Get the id property: The id property.- Returns:
- the id value.
-
setId
public AnnotationBase setId(Integer id)
Set the id property: The id property.- Parameters:
id- the id value to set.- Returns:
- the AnnotationBase object itself.
-
getRectangle
public Rectangle getRectangle()
Get the rectangle property: The rectangle property.- Returns:
- the rectangle value.
-
setRectangle
public AnnotationBase setRectangle(Rectangle rectangle)
Set the rectangle property: The rectangle property.- Parameters:
rectangle- the rectangle value to set.- Returns:
- the AnnotationBase object itself.
-
getRectangles
public List<Rectangle> getRectangles()
Get the rectangles property: The rectangles property.- Returns:
- the rectangles value.
-
getPageIndex
public Integer getPageIndex()
Get the pageIndex property: The pageIndex property.- Returns:
- the pageIndex value.
-
setPageIndex
public AnnotationBase setPageIndex(Integer pageIndex)
Set the pageIndex property: The pageIndex property.- Parameters:
pageIndex- the pageIndex value to set.- Returns:
- the AnnotationBase object itself.
-
getRaw
public String getRaw()
Get the raw property: The raw property.- Returns:
- the raw value.
-
setRaw
public AnnotationBase setRaw(String raw)
Set the raw property: The raw property.- Parameters:
raw- the raw value to set.- Returns:
- the AnnotationBase object itself.
-
getConfidence
public Float getConfidence()
Get the confidence property: The overall confidence that the model's prediction is correct.- Returns:
- the confidence value.
-
setConfidence
public AnnotationBase setConfidence(Float confidence)
Set the confidence property: The overall confidence that the model's prediction is correct.- Parameters:
confidence- the confidence value to set.- Returns:
- the AnnotationBase object itself.
-
getClassificationConfidence
public Float getClassificationConfidence()
Get the classificationConfidence property: The model's confidence that the text has been classified correctly.- Returns:
- the classificationConfidence value.
-
setClassificationConfidence
public AnnotationBase setClassificationConfidence(Float classificationConfidence)
Set the classificationConfidence property: The model's confidence that the text has been classified correctly.- Parameters:
classificationConfidence- the classificationConfidence value to set.- Returns:
- the AnnotationBase object itself.
-
getTextExtractionConfidence
public Float getTextExtractionConfidence()
Get the textExtractionConfidence property: If the document was submitted as an image, this is the confidence that the text in the image has been correctly read by the model.- Returns:
- the textExtractionConfidence value.
-
setTextExtractionConfidence
public AnnotationBase setTextExtractionConfidence(Float textExtractionConfidence)
Set the textExtractionConfidence property: If the document was submitted as an image, this is the confidence that the text in the image has been correctly read by the model.- Parameters:
textExtractionConfidence- the textExtractionConfidence value to set.- Returns:
- the AnnotationBase object itself.
-
isVerified
public Boolean isVerified()
Get the isVerified property: The isVerified property.- Returns:
- the isVerified value.
-
setIsVerified
public AnnotationBase setIsVerified(Boolean isVerified)
Set the isVerified property: The isVerified property.- Parameters:
isVerified- the isVerified value to set.- Returns:
- the AnnotationBase object itself.
-
isClientVerified
public Boolean isClientVerified()
Get the isClientVerified property: The isClientVerified property.- Returns:
- the isClientVerified value.
-
setIsClientVerified
public AnnotationBase setIsClientVerified(Boolean isClientVerified)
Set the isClientVerified property: The isClientVerified property.- Parameters:
isClientVerified- the isClientVerified value to set.- Returns:
- the AnnotationBase object itself.
-
isAutoVerified
public Boolean isAutoVerified()
Get the isAutoVerified property: The isAutoVerified property.- Returns:
- the isAutoVerified value.
-
setIsAutoVerified
public AnnotationBase setIsAutoVerified(Boolean isAutoVerified)
Set the isAutoVerified property: The isAutoVerified property.- Parameters:
isAutoVerified- the isAutoVerified value to set.- Returns:
- the AnnotationBase object itself.
-
getDataPoint
public String getDataPoint()
Get the dataPoint property: The dataPoint property.- Returns:
- the dataPoint value.
-
setDataPoint
public AnnotationBase setDataPoint(String dataPoint)
Set the dataPoint property: The dataPoint property.- Parameters:
dataPoint- the dataPoint value to set.- Returns:
- the AnnotationBase object itself.
-
getContentType
public String getContentType()
Get the contentType property: The contentType property.- Returns:
- the contentType value.
-
setContentType
public AnnotationBase setContentType(String contentType)
Set the contentType property: The contentType property.- Parameters:
contentType- the contentType value to set.- Returns:
- the AnnotationBase object itself.
-
getAdditionalProperties
public Map<String,Object> getAdditionalProperties()
Get the additionalProperties property: Dictionary of <any>.- Returns:
- the additionalProperties value.
-
setAdditionalProperties
public AnnotationBase setAdditionalProperties(Map<String,Object> additionalProperties)
Set the additionalProperties property: Dictionary of <any>.- Parameters:
additionalProperties- the additionalProperties value to set.- Returns:
- the AnnotationBase object itself.
-
-