Class Behavior
java.lang.Object
com.ibm.cloud.sdk.core.service.model.GenericModel
com.ibm.watson.personality_insights.v3.model.Behavior
- All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel
public class Behavior
extends com.ibm.cloud.sdk.core.service.model.GenericModel
The temporal behavior for the input content.
-
Constructor Summary
Constructors Constructor Description Behavior()
-
Method Summary
Modifier and Type Method Description String
getCategory()
Gets the category.String
getName()
Gets the name.Double
getPercentage()
Gets the percentage.String
getTraitId()
Gets the traitId.Methods inherited from class com.ibm.cloud.sdk.core.service.model.GenericModel
equals, hashCode, toString
-
Constructor Details
-
Behavior
public Behavior()
-
-
Method Details
-
getTraitId
Gets the traitId.The unique, non-localized identifier of the characteristic to which the results pertain. IDs have the form `behavior_{value}`.
- Returns:
- the traitId
-
getName
Gets the name.The user-visible, localized name of the characteristic.
- Returns:
- the name
-
getCategory
Gets the category.The category of the characteristic: `behavior` for temporal data.
- Returns:
- the category
-
getPercentage
Gets the percentage.For JSON content that is timestamped, the percentage of timestamped input data that occurred during that day of the week or hour of the day. The range is 0 to 1.
- Returns:
- the percentage
-