public class LogQueryResponseResultDocumentsResult
extends com.ibm.cloud.sdk.core.service.model.GenericModel
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
collectionId |
protected java.lang.Double |
confidence |
protected java.lang.String |
documentId |
protected java.lang.Long |
position |
protected java.lang.Double |
score |
Constructor and Description |
---|
LogQueryResponseResultDocumentsResult() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getCollectionId()
Gets the collectionId.
|
java.lang.Double |
getConfidence()
Gets the confidence.
|
java.lang.String |
getDocumentId()
Gets the documentId.
|
java.lang.Long |
getPosition()
Gets the position.
|
java.lang.Double |
getScore()
Gets the score.
|
protected java.lang.Long position
@SerializedName(value="document_id") protected java.lang.String documentId
protected java.lang.Double score
protected java.lang.Double confidence
@SerializedName(value="collection_id") protected java.lang.String collectionId
public LogQueryResponseResultDocumentsResult()
public java.lang.Long getPosition()
The result rank of this document. A position of `1` indicates that it was the first returned result.
public java.lang.String getDocumentId()
The **document_id** of the document that this result represents.
public java.lang.Double getScore()
The raw score of this result. A higher score indicates a greater match to the query parameters.
public java.lang.Double getConfidence()
The confidence score of the result's analysis. A higher score indicating greater confidence.
public java.lang.String getCollectionId()
The **collection_id** of the document represented by this result.