public class FocusPostEndpoint extends AbstractWWGraphQLEndpoint
Constructor and Description |
---|
FocusPostEndpoint(IWWClient client) |
Modifier and Type | Method and Description |
---|---|
List<Focus> |
postMessage(String text)
Posts the passed text for analysis of focuses
|
executeRequest, getAliasedChildren, getClient, getProfileDump, getRequest, getResultContainer, getResultContent, parseResultContainer, setProfileDump, setRequest, setResultContainer, setResultContent
public FocusPostEndpoint(IWWClient client)
client
- WWClient containing authentication details and tokenpublic List<Focus> postMessage(String text) throws WWException
text
- String for Watson Work Services to analyseWWException
- containing an error message, if the request was unsuccessfulCopyright © 2018 OpenNTF. All rights reserved.