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 that contains suggested refinement settings. Available with Premium plans only.
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
DefaultQueryParamsSuggestedRefinements.Builder
Builder. -
Method Summary
Modifier and Type Method Description Long
count()
Gets the count.Boolean
enabled()
Gets the enabled.DefaultQueryParamsSuggestedRefinements.Builder
newBuilder()
New builder.Methods inherited from class com.ibm.cloud.sdk.core.service.model.GenericModel
equals, hashCode, toString
-
Method Details
-
newBuilder
New builder.- Returns:
- a DefaultQueryParamsSuggestedRefinements builder
-
enabled
Gets the enabled.When `true`, suggested refinements for the query are returned by default.
- Returns:
- the enabled
-
count
Gets the count.The number of suggested refinements to return by default.
- Returns:
- the count
-