Package com.merative.acd.v1.model
Class InsightModelDataEvent
- java.lang.Object
-
- com.ibm.cloud.sdk.core.service.model.DynamicModel<java.lang.Object>
-
- com.merative.acd.v1.model.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.
-
-
Constructor Summary
Constructors Constructor Description InsightModelDataEvent()
-
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.
-
-
-
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
-
getUsage
public InsightModelDataUsage getUsage()
Gets the usage.- Returns:
- the usage
-
get
public java.lang.Object get(java.lang.String key)
Returns the value from InsightModelDataEvent annotation by specified key.- Overrides:
get
in classcom.ibm.cloud.sdk.core.service.model.DynamicModel<java.lang.Object>
- Parameters:
key
- the name of the field to get
-
-