Class DefaultQueryParamsSuggestedRefinements

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

public class DefaultQueryParamsSuggestedRefinements
extends com.ibm.cloud.sdk.core.service.model.GenericModel
Object containing suggested refinement settings.
  • Method Details

    • newBuilder

      New builder.
      Returns:
      a DefaultQueryParamsSuggestedRefinements builder
    • enabled

      public Boolean enabled()
      Gets the enabled.

      When `true`, a suggested refinements for the query are returned by default.

      Returns:
      the enabled
    • count

      public Long count()
      Gets the count.

      The number of suggested refinements to return by default.

      Returns:
      the count