Class Suggestion

  • All Implemented Interfaces:
    com.ibm.cloud.sdk.core.service.model.ObjectModel

    public class Suggestion
    extends com.ibm.cloud.sdk.core.service.model.DynamicModel<java.lang.Object>
    • Constructor Summary

      Constructors 
      Constructor Description
      Suggestion()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Object get​(java.lang.String key)
      Returns the value from Suggestion annotation by specified key.
      java.lang.Boolean getApplied()
      Gets the applied field.
      java.lang.Double getConfidence()
      Gets the confidence field.
      java.util.List<java.lang.String> getSemtypes()
      Gets the semtypes field.
      java.lang.String getText()
      Gets the text field.
      • Methods inherited from class com.ibm.cloud.sdk.core.service.model.DynamicModel

        equals, getAdditionalPropertyTypeToken, getProperties, getPropertyNames, hashCode, put, removeProperties, removeProperty, setProperties, toString
      • Methods inherited from class java.lang.Object

        getClass, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • Suggestion

        public Suggestion()
    • Method Detail

      • getApplied

        public java.lang.Boolean getApplied()
        Gets the applied field.
        Returns:
        the applied field
      • getConfidence

        public java.lang.Double getConfidence()
        Gets the confidence field.
        Returns:
        the confidence field
      • getSemtypes

        public java.util.List<java.lang.String> getSemtypes()
        Gets the semtypes field.
        Returns:
        the semtypes field
      • getText

        public java.lang.String getText()
        Gets the text field.
        Returns:
        the text field
      • get

        public java.lang.Object get​(java.lang.String key)
        Returns the value from Suggestion annotation by specified key.
        Overrides:
        get in class com.ibm.cloud.sdk.core.service.model.DynamicModel<java.lang.Object>
        Parameters:
        key - the name of the field to get