public class DocumentDetails
extends com.ibm.cloud.sdk.core.service.model.GenericModel
Modifier and Type | Class and Description |
---|---|
static interface |
DocumentDetails.Status
The status of the ingestion of the document.
|
Constructor and Description |
---|
DocumentDetails() |
Modifier and Type | Method and Description |
---|---|
DocumentDetailsChildren |
getChildren()
Gets the children.
|
Date |
getCreated()
Gets the created.
|
String |
getDocumentId()
Gets the documentId.
|
String |
getFilename()
Gets the filename.
|
String |
getFileType()
Gets the fileType.
|
List<Notice> |
getNotices()
Gets the notices.
|
String |
getSha256()
Gets the sha256.
|
String |
getStatus()
Gets the status.
|
Date |
getUpdated()
Gets the updated.
|
public String getDocumentId()
The unique identifier of the document.
public Date getCreated()
Date and time that the document is added to the collection. For a child document, the date and time when the process that generates the child document runs. The date-time format is `yyyy-MM-dd'T'HH:mm:ss.SSS'Z'`.
public Date getUpdated()
Date and time that the document is finished being processed and is indexed. This date changes whenever the document is reprocessed, including for enrichment changes. The date-time format is `yyyy-MM-dd'T'HH:mm:ss.SSS'Z'`.
public String getStatus()
The status of the ingestion of the document. The possible values are:
* `available`: Ingestion is finished and the document is indexed.
* `failed`: Ingestion is finished, but the document is not indexed because of an error.
* `pending`: The document is uploaded, but the ingestion process is not started.
* `processing`: Ingestion is in progress.
public List<Notice> getNotices()
Array of JSON objects for notices, meaning warning or error messages, that are produced by the document ingestion process. The array does not include notices that are produced for child documents that are generated when a document is processed.
public DocumentDetailsChildren getChildren()
Information about the child documents that are generated from a single document during ingestion or other processing.
public String getFilename()
Name of the original source file (if available).
public String getFileType()
The type of the original source file, such as `csv`, `excel`, `html`, `json`, `pdf`, `text`, `word`, and so on.
public String getSha256()
The SHA-256 hash of the original source file. The hash is formatted as a hexadecimal string.
Copyright © 2022 IBM Cloud. All rights reserved.