Class DocumentStatus
java.lang.Object
com.ibm.cloud.sdk.core.service.model.GenericModel
com.ibm.watson.discovery.v1.model.DocumentStatus
- All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel
public class DocumentStatus
extends com.ibm.cloud.sdk.core.service.model.GenericModel
Status information about a submitted document.
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceDocumentStatus.FileTypeThe type of the original source file.static interfaceDocumentStatus.StatusStatus of the document in the ingestion process. -
Constructor Summary
Constructors Constructor Description DocumentStatus() -
Method Summary
Modifier and Type Method Description StringgetConfigurationId()Gets the configurationId.StringgetDocumentId()Gets the documentId.StringgetFilename()Gets the filename.StringgetFileType()Gets the fileType.List<Notice>getNotices()Gets the notices.StringgetSha1()Gets the sha1.StringgetStatus()Gets the status.StringgetStatusDescription()Gets the statusDescription.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.The unique identifier of the document.
- Returns:
- the documentId
-
getConfigurationId
Gets the configurationId.The unique identifier for the configuration.
- Returns:
- the configurationId
-
getStatus
Gets the status.Status of the document in the ingestion process.
- Returns:
- the status
-
getStatusDescription
Gets the statusDescription.Description of the document status.
- Returns:
- the statusDescription
-
getFilename
Gets the filename.Name of the original source file (if available).
- Returns:
- the filename
-
getFileType
Gets the fileType.The type of the original source file.
- Returns:
- the fileType
-
getSha1
Gets the sha1.The SHA-1 hash of the original source file (formatted as a hexadecimal string).
- Returns:
- the sha1
-
getNotices
Gets the notices.Array of notices produced by the document-ingestion process.
- Returns:
- the notices
-