Class QueryNoticesResult
java.lang.Object
com.ibm.cloud.sdk.core.service.model.DynamicModel<Object>
com.ibm.watson.discovery.v1.model.QueryNoticesResult
- All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel
public class QueryNoticesResult extends com.ibm.cloud.sdk.core.service.model.DynamicModel<Object>
Query result object.
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceQueryNoticesResult.FileTypeThe type of the original source file. -
Constructor Summary
Constructors Constructor Description QueryNoticesResult() -
Method Summary
Modifier and Type Method Description LonggetCode()Gets the code.StringgetCollectionId()Gets the collectionId.StringgetFilename()Gets the filename.StringgetFileType()Gets the fileType.StringgetId()Gets the id.Map<String,Object>getMetadata()Gets the metadata.List<Notice>getNotices()Gets the notices.QueryResultMetadatagetResultMetadata()Gets the resultMetadata.StringgetSha1()Gets the sha1.Methods inherited from class com.ibm.cloud.sdk.core.service.model.DynamicModel
equals, get, getAdditionalPropertyTypeToken, getProperties, getPropertyNames, hashCode, put, removeProperties, removeProperty, setProperties, toString
-
Constructor Details
-
QueryNoticesResult
public QueryNoticesResult()
-
-
Method Details
-
getId
Gets the id.The unique identifier of the document.
- Returns:
- the id
-
getMetadata
Gets the metadata.Metadata of the document.
- Returns:
- the metadata
-
getCollectionId
Gets the collectionId.The collection ID of the collection containing the document for this result.
- Returns:
- the collectionId
-
getResultMetadata
Gets the resultMetadata.Metadata of a query result.
- Returns:
- the resultMetadata
-
getCode
Gets the code.The internal status code returned by the ingestion subsystem indicating the overall result of ingesting the source document.
- Returns:
- the code
-
getFilename
Gets the filename.Name of the original source file (if available).
- Returns:
- the filename
-
getFileType
Gets the fileType.The type of the original source file.
- Returns:
- the fileType
-
getSha1
Gets the sha1.The SHA-1 hash of the original source file (formatted as a hexadecimal string).
- Returns:
- the sha1
-
getNotices
Gets the notices.Array of notices for the document.
- Returns:
- the notices
-