Class DocumentAccepted
java.lang.Object
com.ibm.cloud.sdk.core.service.model.GenericModel
com.ibm.watson.discovery.v2.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 interfaceDocumentAccepted.StatusStatus of the document in the ingestion process. - 
Constructor Summary
Constructors Constructor Description DocumentAccepted() - 
Method Summary
Modifier and Type Method Description StringgetDocumentId()Gets the documentId.StringgetStatus()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
 
 
 -