Class Completions

java.lang.Object
com.ibm.cloud.sdk.core.service.model.GenericModel
com.ibm.watson.discovery.v1.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 containing 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 autcomplete suggestion based on the provided prefix.

      Returns:
      the completions