Class DocumentInfo


  • @Generated(value="org.openapitools.codegen.languages.JavaInflectorServerCodegen",
               comments="Generator version: 7.15.0")
    public class DocumentInfo
    extends Object
    Document information.
    • Constructor Detail

      • DocumentInfo

        public DocumentInfo()
    • Method Detail

      • 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)
      • getSrcLang

        public String getSrcLang()
      • setSrcLang

        public void setSrcLang​(String srcLang)
      • 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)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object