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

    Methods inherited from class java.lang.Object

    getClass, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • Completions

      public Completions()
  • Method Details

    • getCompletions

      public List<String> getCompletions()
      Gets the completions.

      Array of autocomplete suggestion based on the provided prefix.

      Returns:
      the completions