Class DocumentStatus
- All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel
public class DocumentStatus
extends com.ibm.cloud.sdk.core.service.model.GenericModel
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceDocumentStatus.StatusThe status of the translation job associated with a submitted document. -
Constructor Summary
Constructors Constructor Description DocumentStatus() -
Method Summary
Modifier and Type Method Description StringgetBaseModelId()Gets the baseModelId.LonggetCharacterCount()Gets the characterCount.DategetCompleted()Gets the completed.DategetCreated()Gets the created.DoublegetDetectedLanguageConfidence()Gets the detectedLanguageConfidence.StringgetDocumentId()Gets the documentId.StringgetFilename()Gets the filename.StringgetModelId()Gets the modelId.StringgetSource()Gets the source.StringgetStatus()Gets the status.StringgetTarget()Gets the target.LonggetWordCount()Gets the wordCount.Methods inherited from class com.ibm.cloud.sdk.core.service.model.GenericModel
equals, hashCode, toString
-
Constructor Details
-
DocumentStatus
public DocumentStatus()
-
-
Method Details
-
getDocumentId
Gets the documentId.System generated ID identifying a document being translated using one specific translation model.
- Returns:
- the documentId
-
getFilename
Gets the filename.filename from the submission (if it was missing in the multipart-form, 'noname.<ext matching content type>' is used.
- Returns:
- the filename
-
getStatus
Gets the status.The status of the translation job associated with a submitted document.
- Returns:
- the status
-
getModelId
Gets the modelId.A globally unique string that identifies the underlying model that is used for translation.
- Returns:
- the modelId
-
getBaseModelId
Gets the baseModelId.Model ID of the base model that was used to customize the model. If the model is not a custom model, this will be absent or an empty string.
- Returns:
- the baseModelId
-
getSource
Gets the source.Translation source language code.
- Returns:
- the source
-
getDetectedLanguageConfidence
Gets the detectedLanguageConfidence.A score between 0 and 1 indicating the confidence of source language detection. A higher value indicates greater confidence. This is returned only when the service automatically detects the source language.
- Returns:
- the detectedLanguageConfidence
-
getTarget
Gets the target.Translation target language code.
- Returns:
- the target
-
getCreated
Gets the created.The time when the document was submitted.
- Returns:
- the created
-
getCompleted
Gets the completed.The time when the translation completed.
- Returns:
- the completed
-
getWordCount
Gets the wordCount.An estimate of the number of words in the source document. Returned only if `status` is `available`.
- Returns:
- the wordCount
-
getCharacterCount
Gets the characterCount.The number of characters in the source document, present only if status=available.
- Returns:
- the characterCount
-