Class QueryNoticesResponse

java.lang.Object
com.ibm.cloud.sdk.core.service.model.GenericModel
com.ibm.watson.discovery.v1.model.QueryNoticesResponse
All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel

public class QueryNoticesResponse
extends com.ibm.cloud.sdk.core.service.model.GenericModel
Object containing notice query results.
  • Constructor Details

    • QueryNoticesResponse

      public QueryNoticesResponse()
  • Method Details

    • getMatchingResults

      public Long getMatchingResults()
      Gets the matchingResults.

      The number of matching results.

      Returns:
      the matchingResults
    • getResults

      public List<QueryNoticesResult> getResults()
      Gets the results.

      Array of document results that match the query.

      Returns:
      the results
    • getAggregations

      public List<QueryAggregation> getAggregations()
      Gets the aggregations.

      Array of aggregation results that match the query.

      Returns:
      the aggregations
    • getPassages

      public List<QueryPassages> getPassages()
      Gets the passages.

      Array of passage results that match the query.

      Returns:
      the passages
    • getDuplicatesRemoved

      public Long getDuplicatesRemoved()
      Gets the duplicatesRemoved.

      The number of duplicates removed from this notices query.

      Returns:
      the duplicatesRemoved