Class Completions
java.lang.Object
com.ibm.cloud.sdk.core.service.model.GenericModel
com.ibm.watson.discovery.v2.model.Completions
- All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel
public class Completions
extends com.ibm.cloud.sdk.core.service.model.GenericModel
An object that contains an array of autocompletion suggestions.
-
Constructor Summary
Constructors Constructor Description Completions()
-
Method Summary
Modifier and Type Method Description List<String>
getCompletions()
Gets the completions.Methods inherited from class com.ibm.cloud.sdk.core.service.model.GenericModel
equals, hashCode, toString
-
Constructor Details
-
Completions
public Completions()
-
-
Method Details
-
getCompletions
Gets the completions.Array of autocomplete suggestion based on the provided prefix.
- Returns:
- the completions
-