public class QueryNoticesResult
extends com.ibm.cloud.sdk.core.service.model.DynamicModel<java.lang.Object>
Modifier and Type | Class and Description |
---|---|
static interface |
QueryNoticesResult.FileType
The type of the original source file.
|
Modifier and Type | Field and Description |
---|---|
protected java.lang.Long |
code |
protected java.lang.String |
collectionId |
protected java.lang.String |
filename |
protected java.lang.String |
fileType |
protected java.lang.String |
id |
protected java.util.Map<java.lang.String,java.lang.Object> |
metadata |
protected java.util.List<Notice> |
notices |
protected QueryResultMetadata |
resultMetadata |
protected java.lang.String |
sha1 |
Constructor and Description |
---|
QueryNoticesResult() |
Modifier and Type | Method and Description |
---|---|
java.lang.Long |
getCode()
Gets the code.
|
java.lang.String |
getCollectionId()
Gets the collectionId.
|
java.lang.String |
getFilename()
Gets the filename.
|
java.lang.String |
getFileType()
Gets the fileType.
|
java.lang.String |
getId()
Gets the id.
|
java.util.Map<java.lang.String,java.lang.Object> |
getMetadata()
Gets the metadata.
|
java.util.List<Notice> |
getNotices()
Gets the notices.
|
QueryResultMetadata |
getResultMetadata()
Gets the resultMetadata.
|
java.lang.String |
getSha1()
Gets the sha1.
|
@SerializedName(value="id") protected java.lang.String id
@SerializedName(value="metadata") protected java.util.Map<java.lang.String,java.lang.Object> metadata
@SerializedName(value="collection_id") protected java.lang.String collectionId
@SerializedName(value="result_metadata") protected QueryResultMetadata resultMetadata
@SerializedName(value="code") protected java.lang.Long code
@SerializedName(value="filename") protected java.lang.String filename
@SerializedName(value="file_type") protected java.lang.String fileType
@SerializedName(value="sha1") protected java.lang.String sha1
@SerializedName(value="notices") protected java.util.List<Notice> notices
public java.lang.String getId()
The unique identifier of the document.
public java.util.Map<java.lang.String,java.lang.Object> getMetadata()
Metadata of the document.
public java.lang.String getCollectionId()
The collection ID of the collection containing the document for this result.
public QueryResultMetadata getResultMetadata()
Metadata of a query result.
public java.lang.Long getCode()
The internal status code returned by the ingestion subsystem indicating the overall result of ingesting the source document.
public java.lang.String getFilename()
Name of the original source file (if available).
public java.lang.String getFileType()
The type of the original source file.
public java.lang.String getSha1()
The SHA-1 hash of the original source file (formatted as a hexadecimal string).
public java.util.List<Notice> getNotices()
Array of notices for the document.