Package com.acumenvelocity.ath.model
Class DocumentInfo
- java.lang.Object
-
- com.acumenvelocity.ath.model.DocumentInfo
-
@Generated(value="org.openapitools.codegen.languages.JavaInflectorServerCodegen", comments="Generator version: 7.15.0") public class DocumentInfo extends ObjectDocument information.
-
-
Constructor Summary
Constructors Constructor Description DocumentInfo()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DocumentInfocreatedAt(Date createdAt)Creation timestamp.DocumentInfocreatedBy(UUID createdBy)UUID of the user who created the document.DocumentInfodocFileName(String docFileName)Name of the document.DocumentInfodocGcsUrl(URI docGcsUrl)GCS URL (gs://bucket/blob) of the original document content.DocumentInfodocId(UUID docId)UUID of the document.DocumentInfodocTrlGcsUrl(URI docTrlGcsUrl)Optional GCS URL (gs://bucket/blob) of an existing translation if to be imported along with the original document.booleanequals(Object o)DategetCreatedAt()UUIDgetCreatedBy()StringgetDocFileName()URIgetDocGcsUrl()UUIDgetDocId()URIgetDocTrlGcsUrl()LonggetSegmentsCount()StringgetSrcLang()StringgetTrgLang()DategetUpdatedAt()UUIDgetUpdatedBy()inthashCode()DocumentInfosegmentsCount(Long segmentsCount)Number of translation segments in the document.voidsetCreatedAt(Date createdAt)voidsetCreatedBy(UUID createdBy)voidsetDocFileName(String docFileName)voidsetDocGcsUrl(URI docGcsUrl)voidsetDocId(UUID docId)voidsetDocTrlGcsUrl(URI docTrlGcsUrl)voidsetSegmentsCount(Long segmentsCount)voidsetSrcLang(String srcLang)voidsetTrgLang(String trgLang)voidsetUpdatedAt(Date updatedAt)voidsetUpdatedBy(UUID updatedBy)DocumentInfosrcLang(String srcLang)Source language ISO code.StringtoString()DocumentInfotrgLang(String trgLang)Target language ISO code.DocumentInfoupdatedAt(Date updatedAt)Last update timestamp.DocumentInfoupdatedBy(UUID updatedBy)UUID of the user who last updated the document.
-
-
-
Method Detail
-
docId
public DocumentInfo docId(UUID docId)
UUID of the document.
-
getDocId
public UUID getDocId()
-
setDocId
public void setDocId(UUID docId)
-
docFileName
public DocumentInfo docFileName(String docFileName)
Name of the document.
-
getDocFileName
public String getDocFileName()
-
setDocFileName
public void setDocFileName(String docFileName)
-
docGcsUrl
public DocumentInfo docGcsUrl(URI docGcsUrl)
GCS URL (gs://bucket/blob) of the original document content.
-
getDocGcsUrl
public URI getDocGcsUrl()
-
setDocGcsUrl
public void setDocGcsUrl(URI docGcsUrl)
-
docTrlGcsUrl
public DocumentInfo docTrlGcsUrl(URI docTrlGcsUrl)
Optional GCS URL (gs://bucket/blob) of an existing translation if to be imported along with the original document. If specified, the passed translation is segmented and aligned with extracted original document's segments. If the number of segments is different, the translation is ignored and regular import pipeline with TM and MT is run on the original document. The caller takes the risk of the possible segments' misalignment, in which case manual postediting of misaligned segments is requered.
-
getDocTrlGcsUrl
public URI getDocTrlGcsUrl()
-
setDocTrlGcsUrl
public void setDocTrlGcsUrl(URI docTrlGcsUrl)
-
srcLang
public DocumentInfo srcLang(String srcLang)
Source language ISO code.
-
getSrcLang
public String getSrcLang()
-
setSrcLang
public void setSrcLang(String srcLang)
-
trgLang
public DocumentInfo trgLang(String trgLang)
Target language ISO code.
-
getTrgLang
public String getTrgLang()
-
setTrgLang
public void setTrgLang(String trgLang)
-
segmentsCount
public DocumentInfo segmentsCount(Long segmentsCount)
Number of translation segments in the document.
-
getSegmentsCount
public Long getSegmentsCount()
-
setSegmentsCount
public void setSegmentsCount(Long segmentsCount)
-
createdBy
public DocumentInfo createdBy(UUID createdBy)
UUID of the user who created the document.
-
getCreatedBy
public UUID getCreatedBy()
-
setCreatedBy
public void setCreatedBy(UUID createdBy)
-
createdAt
public DocumentInfo createdAt(Date createdAt)
Creation timestamp.
-
getCreatedAt
public Date getCreatedAt()
-
setCreatedAt
public void setCreatedAt(Date createdAt)
-
updatedBy
public DocumentInfo updatedBy(UUID updatedBy)
UUID of the user who last updated the document.
-
getUpdatedBy
public UUID getUpdatedBy()
-
setUpdatedBy
public void setUpdatedBy(UUID updatedBy)
-
updatedAt
public DocumentInfo updatedAt(Date updatedAt)
Last update timestamp.
-
getUpdatedAt
public Date getUpdatedAt()
-
setUpdatedAt
public void setUpdatedAt(Date updatedAt)
-
-