Class ConsumptionPreferencesCategory
java.lang.Object
com.ibm.cloud.sdk.core.service.model.GenericModel
com.ibm.watson.personality_insights.v3.model.ConsumptionPreferencesCategory
- All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel
public class ConsumptionPreferencesCategory
extends com.ibm.cloud.sdk.core.service.model.GenericModel
The consumption preferences that the service inferred from the input content.
-
Constructor Summary
Constructors Constructor Description ConsumptionPreferencesCategory()
-
Method Summary
Modifier and Type Method Description String
getConsumptionPreferenceCategoryId()
Gets the consumptionPreferenceCategoryId.List<ConsumptionPreferences>
getConsumptionPreferences()
Gets the consumptionPreferences.String
getName()
Gets the name.Methods inherited from class com.ibm.cloud.sdk.core.service.model.GenericModel
equals, hashCode, toString
-
Constructor Details
-
ConsumptionPreferencesCategory
public ConsumptionPreferencesCategory()
-
-
Method Details
-
getConsumptionPreferenceCategoryId
Gets the consumptionPreferenceCategoryId.The unique, non-localized identifier of the consumption preferences category to which the results pertain. IDs have the form `consumption_preferences_{category}`.
- Returns:
- the consumptionPreferenceCategoryId
-
getName
Gets the name.The user-visible name of the consumption preferences category.
- Returns:
- the name
-
getConsumptionPreferences
Gets the consumptionPreferences.Detailed results inferred from the input text for the individual preferences of the category.
- Returns:
- the consumptionPreferences
-