public class ConsumptionPreferences extends GenericModel
| Modifier and Type | Class and Description |
|---|---|
class |
ConsumptionPreferences.ConsumptionPreference
Detailed results inferred from the input text for the individual preferences of the category.
|
| Constructor and Description |
|---|
ConsumptionPreferences() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getCategoryId()
Gets the category id.
|
java.util.List<ConsumptionPreferences.ConsumptionPreference> |
getConsumptionPreferences()
Gets the consumption preferences.
|
java.lang.String |
getName()
Gets the name.
|
void |
setCategoryId(java.lang.String categoryId)
Sets the category id.
|
void |
setConsumptionPreferences(java.util.List<ConsumptionPreferences.ConsumptionPreference> consumptionPreferences)
Sets the consumption preferences.
|
void |
setName(java.lang.String name)
Sets the name.
|
equals, hashCode, toStringpublic java.util.List<ConsumptionPreferences.ConsumptionPreference> getConsumptionPreferences()
public void setConsumptionPreferences(java.util.List<ConsumptionPreferences.ConsumptionPreference> consumptionPreferences)
consumptionPreferences - the new consumption preferencespublic java.lang.String getCategoryId()
public void setCategoryId(java.lang.String categoryId)
categoryId - the new category idpublic java.lang.String getName()
public void setName(java.lang.String name)
name - the new name