public class ConsumptionPreferences.ConsumptionPreference extends GenericModel
| Constructor and Description |
|---|
ConsumptionPreference() |
| Modifier and Type | Method and Description |
|---|---|
String |
getId()
Gets the id.
|
String |
getName()
Gets the name.
|
Double |
getScore()
Gets the score for the consumption preference.
|
void |
setId(String id)
Sets the id.
|
void |
setName(String name)
Sets the name.
|
void |
setScore(Double score)
Sets the score for the consumption preference.
|
equals, hashCode, toStringpublic String getId()
public void setId(String id)
id - the new idpublic String getName()
public void setName(String name)
name - the new namepublic Double getScore()
public void setScore(Double score)
score - the new scoreCopyright © 2015–2016 IBM Watson. All rights reserved.