public class DocumentAccepted
extends com.ibm.cloud.sdk.core.service.model.GenericModel
Modifier and Type | Class and Description |
---|---|
static interface |
DocumentAccepted.Status
Status of the document in the ingestion process.
|
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
documentId |
protected java.util.List<Notice> |
notices |
protected java.lang.String |
status |
Constructor and Description |
---|
DocumentAccepted() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getDocumentId()
Gets the documentId.
|
java.util.List<Notice> |
getNotices()
Gets the notices.
|
java.lang.String |
getStatus()
Gets the status.
|
@SerializedName(value="document_id") protected java.lang.String documentId
protected java.lang.String status
protected java.util.List<Notice> notices
public java.lang.String getDocumentId()
The unique identifier of the ingested document.
public java.lang.String getStatus()
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.
public java.util.List<Notice> getNotices()
Array of notices produced by the document-ingestion process.