public final class SentimentRequest extends Request
| Modifier and Type | Class and Description |
|---|---|
static class |
SentimentRequest.Builder
Fluent builder class for
MorphologyRequest. |
| Modifier | Constructor and Description |
|---|---|
protected |
SentimentRequest(com.basistech.util.LanguageCode language,
Object content,
String contentUri,
String contentType,
SentimentOptions options)
constructor for
SentimentRequest |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o)
if the param is a
SentimentRequest, compare contents for equality |
SentimentOptions |
getOptions()
get the sentiment options
|
int |
hashCode() |
void |
setOptions(SentimentOptions options)
set the sentiment options
|
getContent, getContentBytes, getContentType, getContentUri, getLanguage, getRawContentprotected SentimentRequest(com.basistech.util.LanguageCode language,
Object content,
String contentUri,
String contentType,
SentimentOptions options)
SentimentRequestlanguage - language codecontent - raw datacontentUri - uri pointing to the datacontentType - byte array of dataoptions - sentiment optionspublic SentimentOptions getOptions()
public void setOptions(SentimentOptions options)
options - the sentiment optionsCopyright © 2014–2016 Basis Technology Corp.. All rights reserved.