public class Behavior
extends com.ibm.cloud.sdk.core.service.model.GenericModel
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
category |
protected java.lang.String |
name |
protected java.lang.Double |
percentage |
protected java.lang.String |
traitId |
Constructor and Description |
---|
Behavior() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getCategory()
Gets the category.
|
java.lang.String |
getName()
Gets the name.
|
java.lang.Double |
getPercentage()
Gets the percentage.
|
java.lang.String |
getTraitId()
Gets the traitId.
|
@SerializedName(value="trait_id") protected java.lang.String traitId
protected java.lang.String name
protected java.lang.String category
protected java.lang.Double percentage
public java.lang.String getTraitId()
The unique, non-localized identifier of the characteristic to which the results pertain. IDs have the form `behavior_{value}`.
public java.lang.String getName()
The user-visible, localized name of the characteristic.
public java.lang.String getCategory()
The category of the characteristic: `behavior` for temporal data.
public java.lang.Double getPercentage()
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.