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 interface
DocumentStatus.Status
The status of the translation job associated with a submitted document. -
Constructor Summary
Constructors Constructor Description DocumentStatus()
-
Method Summary
Modifier and Type Method Description String
getBaseModelId()
Gets the baseModelId.Long
getCharacterCount()
Gets the characterCount.Date
getCompleted()
Gets the completed.Date
getCreated()
Gets the created.Double
getDetectedLanguageConfidence()
Gets the detectedLanguageConfidence.String
getDocumentId()
Gets the documentId.String
getFilename()
Gets the filename.String
getModelId()
Gets the modelId.String
getSource()
Gets the source.String
getStatus()
Gets the status.String
getTarget()
Gets the target.Long
getWordCount()
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
-