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 Details

    • Behavior

      public Behavior()
  • Method Details

    • getTraitId

      public String 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

      public String getName()
      Gets the name.

      The user-visible, localized name of the characteristic.

      Returns:
      the name
    • getCategory

      public String getCategory()
      Gets the category.

      The category of the characteristic: `behavior` for temporal data.

      Returns:
      the category
    • getPercentage

      public Double 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