public class ConsumptionPreferences extends GenericModel
| Modifier and Type | Class and Description | 
|---|---|
| class  | ConsumptionPreferences.ConsumptionPreferenceDetailed results inferred from the input text for the individual preferences of the category. | 
| Constructor and Description | 
|---|
| ConsumptionPreferences() | 
| Modifier and Type | Method and Description | 
|---|---|
| String | getCategoryId()Gets the category id. | 
| List<ConsumptionPreferences.ConsumptionPreference> | getConsumptionPreferences()Gets the consumption preferences. | 
| String | getName()Gets the name. | 
| void | setCategoryId(String categoryId)Sets the category id. | 
| void | setConsumptionPreferences(List<ConsumptionPreferences.ConsumptionPreference> consumptionPreferences)Sets the consumption preferences. | 
| void | setName(String name)Sets the name. | 
equals, hashCode, toStringpublic List<ConsumptionPreferences.ConsumptionPreference> getConsumptionPreferences()
public void setConsumptionPreferences(List<ConsumptionPreferences.ConsumptionPreference> consumptionPreferences)
consumptionPreferences - the new consumption preferencespublic String getCategoryId()
public void setCategoryId(String categoryId)
categoryId - the new category idpublic String getName()
public void setName(String name)
name - the new nameCopyright © 2015–2016 IBM Watson. All rights reserved.