public class DocumentStatus
extends com.ibm.cloud.sdk.core.service.model.GenericModel
Modifier and Type | Class and Description |
---|---|
static interface |
DocumentStatus.Status
The status of the translation job associated with a submitted document.
|
Constructor and Description |
---|
DocumentStatus() |
Modifier and Type | Method and 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.
|
public String getDocumentId()
System generated ID identifying a document being translated using one specific translation model.
public String getFilename()
filename from the submission (if it was missing in the multipart-form, 'noname.<ext matching content type>' is used.
public String getStatus()
The status of the translation job associated with a submitted document.
public String getModelId()
A globally unique string that identifies the underlying model that is used for translation.
public String getBaseModelId()
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.
public String getSource()
Translation source language code.
public Double getDetectedLanguageConfidence()
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.
public String getTarget()
Translation target language code.
public Date getCreated()
The time when the document was submitted.
public Date getCompleted()
The time when the translation completed.
public Long getWordCount()
An estimate of the number of words in the source document. Returned only if `status` is `available`.
public Long getCharacterCount()
The number of characters in the source document, present only if status=available.
Copyright © 2021 IBM Cloud. All rights reserved.