public class Conversation extends WatsonService
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
VERSION_DATE_2016_07_11
The Constant VERSION_DATE_2016_07_11.
|
static java.lang.String |
VERSION_DATE_2016_09_20
The Constant VERSION_DATE_2016_09_20.
|
static java.lang.String |
VERSION_DATE_2017_02_03
The Constant VERSION_DATE_2017_02_03.
|
static java.lang.String |
VERSION_DATE_2017_04_21
The Constant VERSION_DATE_2017_04_21.
|
static java.lang.String |
VERSION_DATE_2017_05_26
The Constant VERSION_DATE_2017_05_26.
|
defaultHeaders, MESSAGE_CODE, MESSAGE_ERROR, skipAuthentication, VERSION| Constructor and Description |
|---|
Conversation(java.lang.String versionDate)
Instantiates a new `Conversation`.
|
Conversation(java.lang.String versionDate,
java.lang.String username,
java.lang.String password)
Instantiates a new `Conversation` with username and password.
|
configureHttpClient, createServiceCall, getApiKey, getEndPoint, getName, getToken, processServiceCall, setApiKey, setAuthentication, setDefaultHeaders, setDefaultHeaders, setEndPoint, setSkipAuthentication, setUsernameAndPassword, toStringpublic static final java.lang.String VERSION_DATE_2017_05_26
public static final java.lang.String VERSION_DATE_2017_04_21
public static final java.lang.String VERSION_DATE_2017_02_03
public static final java.lang.String VERSION_DATE_2016_09_20
public static final java.lang.String VERSION_DATE_2016_07_11
public Conversation(java.lang.String versionDate)
versionDate - The version date (yyyy-MM-dd) of the REST API to use. Specifying this value will keep your API
calls from failing when the service introduces breaking changes.public Conversation(java.lang.String versionDate,
java.lang.String username,
java.lang.String password)
versionDate - The version date (yyyy-MM-dd) of the REST API to use. Specifying this value will keep your API
calls from failing when the service introduces breaking changes.username - the usernamepassword - the passwordpublic ServiceCall<Workspace> createWorkspace(CreateWorkspaceOptions createWorkspaceOptions)
createWorkspaceOptions - the CreateWorkspaceOptions containing the options for the callServiceCall with a response type of Workspacepublic ServiceCall<Workspace> createWorkspace()
ServiceCall with a response type of Workspacepublic ServiceCall<java.lang.Void> deleteWorkspace(DeleteWorkspaceOptions deleteWorkspaceOptions)
deleteWorkspaceOptions - the DeleteWorkspaceOptions containing the options for the callServiceCall with a response type of Voidpublic ServiceCall<WorkspaceExport> getWorkspace(GetWorkspaceOptions getWorkspaceOptions)
getWorkspaceOptions - the GetWorkspaceOptions containing the options for the callServiceCall with a response type of WorkspaceExportpublic ServiceCall<WorkspaceCollection> listWorkspaces(ListWorkspacesOptions listWorkspacesOptions)
listWorkspacesOptions - the ListWorkspacesOptions containing the options for the callServiceCall with a response type of WorkspaceCollectionpublic ServiceCall<WorkspaceCollection> listWorkspaces()
ServiceCall with a response type of WorkspaceCollectionpublic ServiceCall<Workspace> updateWorkspace(UpdateWorkspaceOptions updateWorkspaceOptions)
updateWorkspaceOptions - the UpdateWorkspaceOptions containing the options for the callServiceCall with a response type of Workspacepublic ServiceCall<MessageResponse> message(MessageOptions messageOptions)
messageOptions - the MessageOptions containing the options for the callServiceCall with a response type of MessageResponsepublic ServiceCall<Intent> createIntent(CreateIntentOptions createIntentOptions)
createIntentOptions - the CreateIntentOptions containing the options for the callServiceCall with a response type of Intentpublic ServiceCall<java.lang.Void> deleteIntent(DeleteIntentOptions deleteIntentOptions)
deleteIntentOptions - the DeleteIntentOptions containing the options for the callServiceCall with a response type of Voidpublic ServiceCall<IntentExport> getIntent(GetIntentOptions getIntentOptions)
getIntentOptions - the GetIntentOptions containing the options for the callServiceCall with a response type of IntentExportpublic ServiceCall<IntentCollection> listIntents(ListIntentsOptions listIntentsOptions)
listIntentsOptions - the ListIntentsOptions containing the options for the callServiceCall with a response type of IntentCollectionpublic ServiceCall<Intent> updateIntent(UpdateIntentOptions updateIntentOptions)
updateIntentOptions - the UpdateIntentOptions containing the options for the callServiceCall with a response type of Intentpublic ServiceCall<Example> createExample(CreateExampleOptions createExampleOptions)
createExampleOptions - the CreateExampleOptions containing the options for the callServiceCall with a response type of Examplepublic ServiceCall<java.lang.Void> deleteExample(DeleteExampleOptions deleteExampleOptions)
deleteExampleOptions - the DeleteExampleOptions containing the options for the callServiceCall with a response type of Voidpublic ServiceCall<Example> getExample(GetExampleOptions getExampleOptions)
getExampleOptions - the GetExampleOptions containing the options for the callServiceCall with a response type of Examplepublic ServiceCall<ExampleCollection> listExamples(ListExamplesOptions listExamplesOptions)
listExamplesOptions - the ListExamplesOptions containing the options for the callServiceCall with a response type of ExampleCollectionpublic ServiceCall<Example> updateExample(UpdateExampleOptions updateExampleOptions)
updateExampleOptions - the UpdateExampleOptions containing the options for the callServiceCall with a response type of Examplepublic ServiceCall<Entity> createEntity(CreateEntityOptions createEntityOptions)
createEntityOptions - the CreateEntityOptions containing the options for the callServiceCall with a response type of Entitypublic ServiceCall<java.lang.Void> deleteEntity(DeleteEntityOptions deleteEntityOptions)
deleteEntityOptions - the DeleteEntityOptions containing the options for the callServiceCall with a response type of Voidpublic ServiceCall<EntityExport> getEntity(GetEntityOptions getEntityOptions)
getEntityOptions - the GetEntityOptions containing the options for the callServiceCall with a response type of EntityExportpublic ServiceCall<EntityCollection> listEntities(ListEntitiesOptions listEntitiesOptions)
listEntitiesOptions - the ListEntitiesOptions containing the options for the callServiceCall with a response type of EntityCollectionpublic ServiceCall<Entity> updateEntity(UpdateEntityOptions updateEntityOptions)
updateEntityOptions - the UpdateEntityOptions containing the options for the callServiceCall with a response type of Entitypublic ServiceCall<Value> createValue(CreateValueOptions createValueOptions)
createValueOptions - the CreateValueOptions containing the options for the callServiceCall with a response type of Valuepublic ServiceCall<java.lang.Void> deleteValue(DeleteValueOptions deleteValueOptions)
deleteValueOptions - the DeleteValueOptions containing the options for the callServiceCall with a response type of Voidpublic ServiceCall<ValueExport> getValue(GetValueOptions getValueOptions)
getValueOptions - the GetValueOptions containing the options for the callServiceCall with a response type of ValueExportpublic ServiceCall<ValueCollection> listValues(ListValuesOptions listValuesOptions)
listValuesOptions - the ListValuesOptions containing the options for the callServiceCall with a response type of ValueCollectionpublic ServiceCall<Value> updateValue(UpdateValueOptions updateValueOptions)
updateValueOptions - the UpdateValueOptions containing the options for the callServiceCall with a response type of Valuepublic ServiceCall<Synonym> createSynonym(CreateSynonymOptions createSynonymOptions)
createSynonymOptions - the CreateSynonymOptions containing the options for the callServiceCall with a response type of Synonympublic ServiceCall<java.lang.Void> deleteSynonym(DeleteSynonymOptions deleteSynonymOptions)
deleteSynonymOptions - the DeleteSynonymOptions containing the options for the callServiceCall with a response type of Voidpublic ServiceCall<Synonym> getSynonym(GetSynonymOptions getSynonymOptions)
getSynonymOptions - the GetSynonymOptions containing the options for the callServiceCall with a response type of Synonympublic ServiceCall<SynonymCollection> listSynonyms(ListSynonymsOptions listSynonymsOptions)
listSynonymsOptions - the ListSynonymsOptions containing the options for the callServiceCall with a response type of SynonymCollectionpublic ServiceCall<Synonym> updateSynonym(UpdateSynonymOptions updateSynonymOptions)
updateSynonymOptions - the UpdateSynonymOptions containing the options for the callServiceCall with a response type of Synonympublic ServiceCall<DialogNode> createDialogNode(CreateDialogNodeOptions createDialogNodeOptions)
createDialogNodeOptions - the CreateDialogNodeOptions containing the options for the callServiceCall with a response type of DialogNodepublic ServiceCall<java.lang.Void> deleteDialogNode(DeleteDialogNodeOptions deleteDialogNodeOptions)
deleteDialogNodeOptions - the DeleteDialogNodeOptions containing the options for the callServiceCall with a response type of Voidpublic ServiceCall<DialogNode> getDialogNode(GetDialogNodeOptions getDialogNodeOptions)
getDialogNodeOptions - the GetDialogNodeOptions containing the options for the callServiceCall with a response type of DialogNodepublic ServiceCall<DialogNodeCollection> listDialogNodes(ListDialogNodesOptions listDialogNodesOptions)
listDialogNodesOptions - the ListDialogNodesOptions containing the options for the callServiceCall with a response type of DialogNodeCollectionpublic ServiceCall<DialogNode> updateDialogNode(UpdateDialogNodeOptions updateDialogNodeOptions)
updateDialogNodeOptions - the UpdateDialogNodeOptions containing the options for the callServiceCall with a response type of DialogNodepublic ServiceCall<LogCollection> listAllLogs(ListAllLogsOptions listAllLogsOptions)
listAllLogsOptions - the ListAllLogsOptions containing the options for the callServiceCall with a response type of LogCollectionpublic ServiceCall<LogCollection> listLogs(ListLogsOptions listLogsOptions)
listLogsOptions - the ListLogsOptions containing the options for the callServiceCall with a response type of LogCollectionpublic ServiceCall<Counterexample> createCounterexample(CreateCounterexampleOptions createCounterexampleOptions)
createCounterexampleOptions - the CreateCounterexampleOptions containing the options for the callServiceCall with a response type of Counterexamplepublic ServiceCall<java.lang.Void> deleteCounterexample(DeleteCounterexampleOptions deleteCounterexampleOptions)
deleteCounterexampleOptions - the DeleteCounterexampleOptions containing the options for the callServiceCall with a response type of Voidpublic ServiceCall<Counterexample> getCounterexample(GetCounterexampleOptions getCounterexampleOptions)
getCounterexampleOptions - the GetCounterexampleOptions containing the options for the callServiceCall with a response type of Counterexamplepublic ServiceCall<CounterexampleCollection> listCounterexamples(ListCounterexamplesOptions listCounterexamplesOptions)
listCounterexamplesOptions - the ListCounterexamplesOptions containing the options for the callServiceCall with a response type of CounterexampleCollectionpublic ServiceCall<Counterexample> updateCounterexample(UpdateCounterexampleOptions updateCounterexampleOptions)
updateCounterexampleOptions - the UpdateCounterexampleOptions containing the options for the callServiceCall with a response type of Counterexample