Package com.affinda.api.client.models
Class Document
- java.lang.Object
-
- com.affinda.api.client.models.Document
-
- Direct Known Subclasses:
Invoice,JobDescription,Resume
public class Document extends Object
The Document model.
-
-
Constructor Summary
Constructors Constructor Description Document()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ObjectgetData()Get the data property: Any object.DocumentErrorgetError()Get the error property: The error property.DocumentMetagetMeta()Get the meta property: The meta property.List<DocumentWarning>getWarnings()Get the warnings property: The warnings property.DocumentsetData(Object data)Set the data property: Any object.DocumentsetError(DocumentError error)Set the error property: The error property.DocumentsetMeta(DocumentMeta meta)Set the meta property: The meta property.DocumentsetWarnings(List<DocumentWarning> warnings)Set the warnings property: The warnings property.
-
-
-
Method Detail
-
getData
public Object getData()
Get the data property: Any object.- Returns:
- the data value.
-
setData
public Document setData(Object data)
Set the data property: Any object.- Parameters:
data- the data value to set.- Returns:
- the Document object itself.
-
getMeta
public DocumentMeta getMeta()
Get the meta property: The meta property.- Returns:
- the meta value.
-
setMeta
public Document setMeta(DocumentMeta meta)
Set the meta property: The meta property.- Parameters:
meta- the meta value to set.- Returns:
- the Document object itself.
-
getError
public DocumentError getError()
Get the error property: The error property.- Returns:
- the error value.
-
setError
public Document setError(DocumentError error)
Set the error property: The error property.- Parameters:
error- the error value to set.- Returns:
- the Document object itself.
-
getWarnings
public List<DocumentWarning> getWarnings()
Get the warnings property: The warnings property.- Returns:
- the warnings value.
-
setWarnings
public Document setWarnings(List<DocumentWarning> warnings)
Set the warnings property: The warnings property.- Parameters:
warnings- the warnings value to set.- Returns:
- the Document object itself.
-
-