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.
  • Constructor Details

    • DocumentAccepted

      public DocumentAccepted()
  • Method Details

    • getDocumentId

      public String getDocumentId()
      Gets the documentId.

      The unique identifier of the ingested document.

      Returns:
      the documentId
    • getStatus

      public String 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

      public List<Notice> getNotices()
      Gets the notices.

      Array of notices produced by the document-ingestion process.

      Returns:
      the notices