Class DocumentAccepted
java.lang.Object
com.ibm.cloud.sdk.core.service.model.GenericModel
com.ibm.watson.discovery.v1.model.DocumentAccepted
- All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel
public class DocumentAccepted
extends com.ibm.cloud.sdk.core.service.model.GenericModel
Information returned after an uploaded document is accepted.
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
DocumentAccepted.Status
Status of the document in the ingestion process. -
Constructor Summary
Constructors Constructor Description DocumentAccepted()
-
Method Summary
Modifier and Type Method Description String
getDocumentId()
Gets the documentId.List<Notice>
getNotices()
Gets the notices.String
getStatus()
Gets the status.Methods inherited from class com.ibm.cloud.sdk.core.service.model.GenericModel
equals, hashCode, toString
-
Constructor Details
-
DocumentAccepted
public DocumentAccepted()
-
-
Method Details
-
getDocumentId
Gets the documentId.The unique identifier of the ingested document.
- Returns:
- the documentId
-
getStatus
Gets the status.Status of the document in the ingestion process. A status of `processing` is returned for documents that are ingested with a *version* date before `2019-01-01`. The `pending` status is returned for all others.
- Returns:
- the status
-
getNotices
Gets the notices.Array of notices produced by the document-ingestion process.
- Returns:
- the notices
-