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 Details

    • ConsumptionPreferencesCategory

      public ConsumptionPreferencesCategory()
  • Method Details

    • getConsumptionPreferenceCategoryId

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

      public String getName()
      Gets the name.

      The user-visible name of the consumption preferences category.

      Returns:
      the name
    • getConsumptionPreferences

      public List<ConsumptionPreferences> getConsumptionPreferences()
      Gets the consumptionPreferences.

      Detailed results inferred from the input text for the individual preferences of the category.

      Returns:
      the consumptionPreferences