Class InsightModelDataEvent

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

    public class InsightModelDataEvent
    extends com.ibm.cloud.sdk.core.service.model.DynamicModel<java.lang.Object>
    InsightModelData Event.
    • 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 InsightModelDataEvent annotation by specified key.
      java.lang.Float getAllergyScore()
      Gets the allergy score.
      java.lang.Float getScore()
      Gets the score.
      InsightModelDataUsage getUsage()
      Gets the usage.
      • 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

      • InsightModelDataEvent

        public InsightModelDataEvent()
    • Method Detail

      • getScore

        public java.lang.Float getScore()
        Gets the score.
        Returns:
        the score
      • getAllergyScore

        public java.lang.Float getAllergyScore()
        Gets the allergy score.
        Returns:
        the allergy score
      • get

        public java.lang.Object get​(java.lang.String key)
        Returns the value from InsightModelDataEvent 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