public class MessageResonance extends WatsonService
| Constructor and Description |
|---|
MessageResonance()
Instantiates a new message resonance.
|
| Modifier and Type | Method and Description |
|---|---|
MessageResonanceDataset |
getDataset()
Gets the dataset.
|
Message |
getResonance(String text)
Returns the resonance for the given text.
|
void |
setDataset(MessageResonanceDataset dataset)
Sets the dataset.
|
String |
toString() |
execute, getApiKey, getDefaultContentType, getDefaultRequestParams, getEndPoint, getGson, getHttpClient, setApiKey, setEndPoint, setUsernameAndPasswordpublic MessageResonanceDataset getDataset()
public Message getResonance(String text)
text - the textpublic void setDataset(MessageResonanceDataset dataset)
dataset - the new datasetpublic String toString()
toString in class WatsonServiceCopyright © 2015. All rights reserved.