Package com.affinda.api.client.models
Class DocumentMeta
- java.lang.Object
-
- com.affinda.api.client.models.DocumentMeta
-
public final class DocumentMeta extends Object
The DocumentMeta model.
-
-
Constructor Summary
Constructors Constructor Description DocumentMeta()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.time.OffsetDateTimegetArchivedDt()Get the archivedDt property: The archivedDt property.List<DocumentMetaChildDocumentsItem>getChildDocuments()Get the childDocuments property: If this document has been splitted into a number of child documents, this attribute points to those child documents.DocumentMetaCollectiongetCollection()Get the collection property: The collection property.UserNullablegetConfirmedBy()Get the confirmedBy property: The confirmedBy property.java.time.OffsetDateTimegetConfirmedDt()Get the confirmedDt property: The confirmedDt property.UsergetCreatedBy()Get the createdBy property: The createdBy property.java.time.OffsetDateTimegetCreatedDt()Get the createdDt property: The createdDt property.StringgetErrorCode()Get the errorCode property: The errorCode property.StringgetErrorDetail()Get the errorDetail property: The errorDetail property.java.time.OffsetDateTimegetExpiryTime()Get the expiryTime property: The date/time in ISO-8601 format when the document will be automatically deleted.StringgetFile()Get the file property: URL to view the file.StringgetFileName()Get the fileName property: Optional filename of the file.StringgetIdentifier()Get the identifier property: Uniquely identify a document.StringgetLanguage()Get the language property: The document's language.FloatgetOcrConfidence()Get the ocrConfidence property: The ocrConfidence property.List<PageMeta>getPages()Get the pages property: The document's pages.DocumentMetaParentDocumentgetParentDocument()Get the parentDocument property: If this document is part of a splitted document, this attribute points to the original document that this document is splitted from.StringgetPdf()Get the pdf property: The URL to the document's pdf (if the uploaded document is not already pdf, it's converted to pdf as part of the parsing process).java.time.OffsetDateTimegetReadyDt()Get the readyDt property: The datetime when the document was ready.RegionBiasgetRegionBias()Get the regionBias property: The regionBias property.java.time.OffsetDateTimegetRejectedDt()Get the rejectedDt property: The rejectedDt property.StringgetReviewUrl()Get the reviewUrl property: The reviewUrl property.StringgetSourceEmail()Get the sourceEmail property: If the document is created via email ingestion, this field stores the email file's URL.List<Tag>getTags()Get the tags property: The tags property.DocumentMetaWorkspacegetWorkspace()Get the workspace property: The workspace property.BooleanisArchived()Get the isArchived property: The isArchived property.BooleanisConfirmed()Get the isConfirmed property: The isConfirmed property.BooleanisFailed()Get the failed property: If true, some exception was raised during processing.BooleanisOcrd()Get the isOcrd property: The isOcrd property.BooleanisReady()Get the ready property: If true, the document has finished processing.BooleanisRejected()Get the isRejected property: The isRejected property.DocumentMetasetArchivedDt(java.time.OffsetDateTime archivedDt)Set the archivedDt property: The archivedDt property.DocumentMetasetChildDocuments(List<DocumentMetaChildDocumentsItem> childDocuments)Set the childDocuments property: If this document has been splitted into a number of child documents, this attribute points to those child documents.DocumentMetasetCollection(DocumentMetaCollection collection)Set the collection property: The collection property.DocumentMetasetConfirmedBy(UserNullable confirmedBy)Set the confirmedBy property: The confirmedBy property.DocumentMetasetConfirmedDt(java.time.OffsetDateTime confirmedDt)Set the confirmedDt property: The confirmedDt property.DocumentMetasetCreatedBy(User createdBy)Set the createdBy property: The createdBy property.DocumentMetasetCreatedDt(java.time.OffsetDateTime createdDt)Set the createdDt property: The createdDt property.DocumentMetasetErrorCode(String errorCode)Set the errorCode property: The errorCode property.DocumentMetasetErrorDetail(String errorDetail)Set the errorDetail property: The errorDetail property.DocumentMetasetExpiryTime(java.time.OffsetDateTime expiryTime)Set the expiryTime property: The date/time in ISO-8601 format when the document will be automatically deleted.DocumentMetasetFailed(Boolean failed)Set the failed property: If true, some exception was raised during processing.DocumentMetasetFile(String file)Set the file property: URL to view the file.DocumentMetasetFileName(String fileName)Set the fileName property: Optional filename of the file.DocumentMetasetIdentifier(String identifier)Set the identifier property: Uniquely identify a document.DocumentMetasetIsArchived(Boolean isArchived)Set the isArchived property: The isArchived property.DocumentMetasetIsConfirmed(Boolean isConfirmed)Set the isConfirmed property: The isConfirmed property.DocumentMetasetIsOcrd(Boolean isOcrd)Set the isOcrd property: The isOcrd property.DocumentMetasetIsRejected(Boolean isRejected)Set the isRejected property: The isRejected property.DocumentMetasetLanguage(String language)Set the language property: The document's language.DocumentMetasetOcrConfidence(Float ocrConfidence)Set the ocrConfidence property: The ocrConfidence property.DocumentMetasetPages(List<PageMeta> pages)Set the pages property: The document's pages.DocumentMetasetParentDocument(DocumentMetaParentDocument parentDocument)Set the parentDocument property: If this document is part of a splitted document, this attribute points to the original document that this document is splitted from.DocumentMetasetPdf(String pdf)Set the pdf property: The URL to the document's pdf (if the uploaded document is not already pdf, it's converted to pdf as part of the parsing process).DocumentMetasetReady(Boolean ready)Set the ready property: If true, the document has finished processing.DocumentMetasetReadyDt(java.time.OffsetDateTime readyDt)Set the readyDt property: The datetime when the document was ready.DocumentMetasetRegionBias(RegionBias regionBias)Set the regionBias property: The regionBias property.DocumentMetasetRejectedDt(java.time.OffsetDateTime rejectedDt)Set the rejectedDt property: The rejectedDt property.DocumentMetasetReviewUrl(String reviewUrl)Set the reviewUrl property: The reviewUrl property.DocumentMetasetSourceEmail(String sourceEmail)Set the sourceEmail property: If the document is created via email ingestion, this field stores the email file's URL.DocumentMetasetTags(List<Tag> tags)Set the tags property: The tags property.DocumentMetasetWorkspace(DocumentMetaWorkspace workspace)Set the workspace property: The workspace property.
-
-
-
Method Detail
-
getIdentifier
public String getIdentifier()
Get the identifier property: Uniquely identify a document.- Returns:
- the identifier value.
-
setIdentifier
public DocumentMeta setIdentifier(String identifier)
Set the identifier property: Uniquely identify a document.- Parameters:
identifier- the identifier value to set.- Returns:
- the DocumentMeta object itself.
-
getFileName
public String getFileName()
Get the fileName property: Optional filename of the file.- Returns:
- the fileName value.
-
setFileName
public DocumentMeta setFileName(String fileName)
Set the fileName property: Optional filename of the file.- Parameters:
fileName- the fileName value to set.- Returns:
- the DocumentMeta object itself.
-
isReady
public Boolean isReady()
Get the ready property: If true, the document has finished processing. Particularly useful if an endpoint request specified wait=False, when polling use this variable to determine when to stop polling.- Returns:
- the ready value.
-
setReady
public DocumentMeta setReady(Boolean ready)
Set the ready property: If true, the document has finished processing. Particularly useful if an endpoint request specified wait=False, when polling use this variable to determine when to stop polling.- Parameters:
ready- the ready value to set.- Returns:
- the DocumentMeta object itself.
-
getReadyDt
public java.time.OffsetDateTime getReadyDt()
Get the readyDt property: The datetime when the document was ready.- Returns:
- the readyDt value.
-
setReadyDt
public DocumentMeta setReadyDt(java.time.OffsetDateTime readyDt)
Set the readyDt property: The datetime when the document was ready.- Parameters:
readyDt- the readyDt value to set.- Returns:
- the DocumentMeta object itself.
-
isFailed
public Boolean isFailed()
Get the failed property: If true, some exception was raised during processing. Check the 'error' field of the main return object.- Returns:
- the failed value.
-
setFailed
public DocumentMeta setFailed(Boolean failed)
Set the failed property: If true, some exception was raised during processing. Check the 'error' field of the main return object.- Parameters:
failed- the failed value to set.- Returns:
- the DocumentMeta object itself.
-
getExpiryTime
public java.time.OffsetDateTime getExpiryTime()
Get the expiryTime property: The date/time in ISO-8601 format when the document will be automatically deleted. Defaults to no expiry.- Returns:
- the expiryTime value.
-
setExpiryTime
public DocumentMeta setExpiryTime(java.time.OffsetDateTime expiryTime)
Set the expiryTime property: The date/time in ISO-8601 format when the document will be automatically deleted. Defaults to no expiry.- Parameters:
expiryTime- the expiryTime value to set.- Returns:
- the DocumentMeta object itself.
-
getLanguage
public String getLanguage()
Get the language property: The document's language.- Returns:
- the language value.
-
setLanguage
public DocumentMeta setLanguage(String language)
Set the language property: The document's language.- Parameters:
language- the language value to set.- Returns:
- the DocumentMeta object itself.
-
getPdf
public String getPdf()
Get the pdf property: The URL to the document's pdf (if the uploaded document is not already pdf, it's converted to pdf as part of the parsing process).- Returns:
- the pdf value.
-
setPdf
public DocumentMeta setPdf(String pdf)
Set the pdf property: The URL to the document's pdf (if the uploaded document is not already pdf, it's converted to pdf as part of the parsing process).- Parameters:
pdf- the pdf value to set.- Returns:
- the DocumentMeta object itself.
-
getParentDocument
public DocumentMetaParentDocument getParentDocument()
Get the parentDocument property: If this document is part of a splitted document, this attribute points to the original document that this document is splitted from.- Returns:
- the parentDocument value.
-
setParentDocument
public DocumentMeta setParentDocument(DocumentMetaParentDocument parentDocument)
Set the parentDocument property: If this document is part of a splitted document, this attribute points to the original document that this document is splitted from.- Parameters:
parentDocument- the parentDocument value to set.- Returns:
- the DocumentMeta object itself.
-
getChildDocuments
public List<DocumentMetaChildDocumentsItem> getChildDocuments()
Get the childDocuments property: If this document has been splitted into a number of child documents, this attribute points to those child documents.- Returns:
- the childDocuments value.
-
setChildDocuments
public DocumentMeta setChildDocuments(List<DocumentMetaChildDocumentsItem> childDocuments)
Set the childDocuments property: If this document has been splitted into a number of child documents, this attribute points to those child documents.- Parameters:
childDocuments- the childDocuments value to set.- Returns:
- the DocumentMeta object itself.
-
getPages
public List<PageMeta> getPages()
Get the pages property: The document's pages.- Returns:
- the pages value.
-
setPages
public DocumentMeta setPages(List<PageMeta> pages)
Set the pages property: The document's pages.- Parameters:
pages- the pages value to set.- Returns:
- the DocumentMeta object itself.
-
isOcrd
public Boolean isOcrd()
Get the isOcrd property: The isOcrd property.- Returns:
- the isOcrd value.
-
setIsOcrd
public DocumentMeta setIsOcrd(Boolean isOcrd)
Set the isOcrd property: The isOcrd property.- Parameters:
isOcrd- the isOcrd value to set.- Returns:
- the DocumentMeta object itself.
-
getOcrConfidence
public Float getOcrConfidence()
Get the ocrConfidence property: The ocrConfidence property.- Returns:
- the ocrConfidence value.
-
setOcrConfidence
public DocumentMeta setOcrConfidence(Float ocrConfidence)
Set the ocrConfidence property: The ocrConfidence property.- Parameters:
ocrConfidence- the ocrConfidence value to set.- Returns:
- the DocumentMeta object itself.
-
getReviewUrl
public String getReviewUrl()
Get the reviewUrl property: The reviewUrl property.- Returns:
- the reviewUrl value.
-
setReviewUrl
public DocumentMeta setReviewUrl(String reviewUrl)
Set the reviewUrl property: The reviewUrl property.- Parameters:
reviewUrl- the reviewUrl value to set.- Returns:
- the DocumentMeta object itself.
-
getCollection
public DocumentMetaCollection getCollection()
Get the collection property: The collection property.- Returns:
- the collection value.
-
setCollection
public DocumentMeta setCollection(DocumentMetaCollection collection)
Set the collection property: The collection property.- Parameters:
collection- the collection value to set.- Returns:
- the DocumentMeta object itself.
-
getWorkspace
public DocumentMetaWorkspace getWorkspace()
Get the workspace property: The workspace property.- Returns:
- the workspace value.
-
setWorkspace
public DocumentMeta setWorkspace(DocumentMetaWorkspace workspace)
Set the workspace property: The workspace property.- Parameters:
workspace- the workspace value to set.- Returns:
- the DocumentMeta object itself.
-
getArchivedDt
public java.time.OffsetDateTime getArchivedDt()
Get the archivedDt property: The archivedDt property.- Returns:
- the archivedDt value.
-
setArchivedDt
public DocumentMeta setArchivedDt(java.time.OffsetDateTime archivedDt)
Set the archivedDt property: The archivedDt property.- Parameters:
archivedDt- the archivedDt value to set.- Returns:
- the DocumentMeta object itself.
-
isArchived
public Boolean isArchived()
Get the isArchived property: The isArchived property.- Returns:
- the isArchived value.
-
setIsArchived
public DocumentMeta setIsArchived(Boolean isArchived)
Set the isArchived property: The isArchived property.- Parameters:
isArchived- the isArchived value to set.- Returns:
- the DocumentMeta object itself.
-
getConfirmedDt
public java.time.OffsetDateTime getConfirmedDt()
Get the confirmedDt property: The confirmedDt property.- Returns:
- the confirmedDt value.
-
setConfirmedDt
public DocumentMeta setConfirmedDt(java.time.OffsetDateTime confirmedDt)
Set the confirmedDt property: The confirmedDt property.- Parameters:
confirmedDt- the confirmedDt value to set.- Returns:
- the DocumentMeta object itself.
-
isConfirmed
public Boolean isConfirmed()
Get the isConfirmed property: The isConfirmed property.- Returns:
- the isConfirmed value.
-
setIsConfirmed
public DocumentMeta setIsConfirmed(Boolean isConfirmed)
Set the isConfirmed property: The isConfirmed property.- Parameters:
isConfirmed- the isConfirmed value to set.- Returns:
- the DocumentMeta object itself.
-
getRejectedDt
public java.time.OffsetDateTime getRejectedDt()
Get the rejectedDt property: The rejectedDt property.- Returns:
- the rejectedDt value.
-
setRejectedDt
public DocumentMeta setRejectedDt(java.time.OffsetDateTime rejectedDt)
Set the rejectedDt property: The rejectedDt property.- Parameters:
rejectedDt- the rejectedDt value to set.- Returns:
- the DocumentMeta object itself.
-
isRejected
public Boolean isRejected()
Get the isRejected property: The isRejected property.- Returns:
- the isRejected value.
-
setIsRejected
public DocumentMeta setIsRejected(Boolean isRejected)
Set the isRejected property: The isRejected property.- Parameters:
isRejected- the isRejected value to set.- Returns:
- the DocumentMeta object itself.
-
getCreatedDt
public java.time.OffsetDateTime getCreatedDt()
Get the createdDt property: The createdDt property.- Returns:
- the createdDt value.
-
setCreatedDt
public DocumentMeta setCreatedDt(java.time.OffsetDateTime createdDt)
Set the createdDt property: The createdDt property.- Parameters:
createdDt- the createdDt value to set.- Returns:
- the DocumentMeta object itself.
-
getErrorCode
public String getErrorCode()
Get the errorCode property: The errorCode property.- Returns:
- the errorCode value.
-
setErrorCode
public DocumentMeta setErrorCode(String errorCode)
Set the errorCode property: The errorCode property.- Parameters:
errorCode- the errorCode value to set.- Returns:
- the DocumentMeta object itself.
-
getErrorDetail
public String getErrorDetail()
Get the errorDetail property: The errorDetail property.- Returns:
- the errorDetail value.
-
setErrorDetail
public DocumentMeta setErrorDetail(String errorDetail)
Set the errorDetail property: The errorDetail property.- Parameters:
errorDetail- the errorDetail value to set.- Returns:
- the DocumentMeta object itself.
-
getFile
public String getFile()
Get the file property: URL to view the file.- Returns:
- the file value.
-
setFile
public DocumentMeta setFile(String file)
Set the file property: URL to view the file.- Parameters:
file- the file value to set.- Returns:
- the DocumentMeta object itself.
-
getTags
public List<Tag> getTags()
Get the tags property: The tags property.- Returns:
- the tags value.
-
setTags
public DocumentMeta setTags(List<Tag> tags)
Set the tags property: The tags property.- Parameters:
tags- the tags value to set.- Returns:
- the DocumentMeta object itself.
-
getConfirmedBy
public UserNullable getConfirmedBy()
Get the confirmedBy property: The confirmedBy property.- Returns:
- the confirmedBy value.
-
setConfirmedBy
public DocumentMeta setConfirmedBy(UserNullable confirmedBy)
Set the confirmedBy property: The confirmedBy property.- Parameters:
confirmedBy- the confirmedBy value to set.- Returns:
- the DocumentMeta object itself.
-
getCreatedBy
public User getCreatedBy()
Get the createdBy property: The createdBy property.- Returns:
- the createdBy value.
-
setCreatedBy
public DocumentMeta setCreatedBy(User createdBy)
Set the createdBy property: The createdBy property.- Parameters:
createdBy- the createdBy value to set.- Returns:
- the DocumentMeta object itself.
-
getSourceEmail
public String getSourceEmail()
Get the sourceEmail property: If the document is created via email ingestion, this field stores the email file's URL.- Returns:
- the sourceEmail value.
-
setSourceEmail
public DocumentMeta setSourceEmail(String sourceEmail)
Set the sourceEmail property: If the document is created via email ingestion, this field stores the email file's URL.- Parameters:
sourceEmail- the sourceEmail value to set.- Returns:
- the DocumentMeta object itself.
-
getRegionBias
public RegionBias getRegionBias()
Get the regionBias property: The regionBias property.- Returns:
- the regionBias value.
-
setRegionBias
public DocumentMeta setRegionBias(RegionBias regionBias)
Set the regionBias property: The regionBias property.- Parameters:
regionBias- the regionBias value to set.- Returns:
- the DocumentMeta object itself.
-
-