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 SummaryNested Classes Modifier and Type Class Description static interfaceDocumentAccepted.StatusStatus of the document in the ingestion process.
- 
Constructor SummaryConstructors Constructor Description DocumentAccepted()
- 
Method SummaryModifier and Type Method Description StringgetDocumentId()Gets the documentId.List<Notice>getNotices()Gets the notices.StringgetStatus()Gets the status.Methods inherited from class com.ibm.cloud.sdk.core.service.model.GenericModelequals, hashCode, toString
- 
Constructor Details- 
DocumentAcceptedpublic DocumentAccepted()
 
- 
- 
Method Details- 
getDocumentIdGets the documentId.The unique identifier of the ingested document. - Returns:
- the documentId
 
- 
getStatusGets 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
 
- 
getNoticesGets the notices.Array of notices produced by the document-ingestion process. - Returns:
- the notices
 
 
-