public class QueryResultMetadata
extends com.ibm.cloud.sdk.core.service.model.GenericModel
Modifier and Type | Class and Description |
---|---|
static interface |
QueryResultMetadata.DocumentRetrievalSource
The document retrieval source that produced this search result.
|
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
collectionId |
protected java.lang.Double |
confidence |
protected java.lang.String |
documentRetrievalSource |
Constructor and Description |
---|
QueryResultMetadata() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getCollectionId()
Gets the collectionId.
|
java.lang.Double |
getConfidence()
Gets the confidence.
|
java.lang.String |
getDocumentRetrievalSource()
Gets the documentRetrievalSource.
|
@SerializedName(value="document_retrieval_source") protected java.lang.String documentRetrievalSource
@SerializedName(value="collection_id") protected java.lang.String collectionId
protected java.lang.Double confidence
public java.lang.String getDocumentRetrievalSource()
public java.lang.String getCollectionId()
public java.lang.Double getConfidence()