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<Counterexample> createCounterexample(CreateCounterexampleOptions createCounterexampleOptions)
createCounterexampleOptions - the CreateCounterexampleOptions containing the options for the callCounterexample with the responsepublic ServiceCall<java.lang.Void> deleteCounterexample(DeleteCounterexampleOptions deleteCounterexampleOptions)
deleteCounterexampleOptions - the DeleteCounterexampleOptions containing the options for the callpublic ServiceCall<Counterexample> getCounterexample(GetCounterexampleOptions getCounterexampleOptions)
getCounterexampleOptions - the GetCounterexampleOptions containing the options for the callCounterexample with the responsepublic ServiceCall<CounterexampleCollection> listCounterexamples(ListCounterexamplesOptions listCounterexamplesOptions)
listCounterexamplesOptions - the ListCounterexamplesOptions containing the options for the callCounterexampleCollection with the responsepublic ServiceCall<Counterexample> updateCounterexample(UpdateCounterexampleOptions updateCounterexampleOptions)
updateCounterexampleOptions - the UpdateCounterexampleOptions containing the options for the callCounterexample with the responsepublic ServiceCall<DialogNode> createDialogNode(CreateDialogNodeOptions createDialogNodeOptions)
createDialogNodeOptions - the CreateDialogNodeOptions containing the options for the callDialogNode with the responsepublic ServiceCall<java.lang.Void> deleteDialogNode(DeleteDialogNodeOptions deleteDialogNodeOptions)
deleteDialogNodeOptions - the DeleteDialogNodeOptions containing the options for the callpublic ServiceCall<DialogNode> getDialogNode(GetDialogNodeOptions getDialogNodeOptions)
getDialogNodeOptions - the GetDialogNodeOptions containing the options for the callDialogNode with the responsepublic ServiceCall<DialogNodeCollection> listDialogNodes(ListDialogNodesOptions listDialogNodesOptions)
listDialogNodesOptions - the ListDialogNodesOptions containing the options for the callDialogNodeCollection with the responsepublic ServiceCall<DialogNode> updateDialogNode(UpdateDialogNodeOptions updateDialogNodeOptions)
updateDialogNodeOptions - the UpdateDialogNodeOptions containing the options for the callDialogNode with the responsepublic ServiceCall<Entity> createEntity(CreateEntityOptions createEntityOptions)
createEntityOptions - the CreateEntityOptions containing the options for the callEntity with the responsepublic ServiceCall<java.lang.Void> deleteEntity(DeleteEntityOptions deleteEntityOptions)
deleteEntityOptions - the DeleteEntityOptions containing the options for the callpublic ServiceCall<EntityExport> getEntity(GetEntityOptions getEntityOptions)
getEntityOptions - the GetEntityOptions containing the options for the callEntityExport with the responsepublic ServiceCall<EntityCollection> listEntities(ListEntitiesOptions listEntitiesOptions)
listEntitiesOptions - the ListEntitiesOptions containing the options for the callEntityCollection with the responsepublic ServiceCall<Entity> updateEntity(UpdateEntityOptions updateEntityOptions)
updateEntityOptions - the UpdateEntityOptions containing the options for the callEntity with the responsepublic ServiceCall<Example> createExample(CreateExampleOptions createExampleOptions)
createExampleOptions - the CreateExampleOptions containing the options for the callExample with the responsepublic ServiceCall<java.lang.Void> deleteExample(DeleteExampleOptions deleteExampleOptions)
deleteExampleOptions - the DeleteExampleOptions containing the options for the callpublic ServiceCall<Example> getExample(GetExampleOptions getExampleOptions)
getExampleOptions - the GetExampleOptions containing the options for the callExample with the responsepublic ServiceCall<ExampleCollection> listExamples(ListExamplesOptions listExamplesOptions)
listExamplesOptions - the ListExamplesOptions containing the options for the callExampleCollection with the responsepublic ServiceCall<Example> updateExample(UpdateExampleOptions updateExampleOptions)
updateExampleOptions - the UpdateExampleOptions containing the options for the callExample with the responsepublic ServiceCall<Intent> createIntent(CreateIntentOptions createIntentOptions)
createIntentOptions - the CreateIntentOptions containing the options for the callIntent with the responsepublic ServiceCall<java.lang.Void> deleteIntent(DeleteIntentOptions deleteIntentOptions)
deleteIntentOptions - the DeleteIntentOptions containing the options for the callpublic ServiceCall<IntentExport> getIntent(GetIntentOptions getIntentOptions)
getIntentOptions - the GetIntentOptions containing the options for the callIntentExport with the responsepublic ServiceCall<IntentCollection> listIntents(ListIntentsOptions listIntentsOptions)
listIntentsOptions - the ListIntentsOptions containing the options for the callIntentCollection with the responsepublic ServiceCall<Intent> updateIntent(UpdateIntentOptions updateIntentOptions)
updateIntentOptions - the UpdateIntentOptions containing the options for the callIntent with the responsepublic ServiceCall<LogCollection> listLogs(ListLogsOptions listLogsOptions)
listLogsOptions - the ListLogsOptions containing the options for the callLogCollection with the responsepublic ServiceCall<MessageResponse> message(MessageOptions messageOptions)
messageOptions - the MessageOptions containing the options for the callMessageResponse with the responsepublic ServiceCall<Synonym> createSynonym(CreateSynonymOptions createSynonymOptions)
createSynonymOptions - the CreateSynonymOptions containing the options for the callSynonym with the responsepublic ServiceCall<java.lang.Void> deleteSynonym(DeleteSynonymOptions deleteSynonymOptions)
deleteSynonymOptions - the DeleteSynonymOptions containing the options for the callpublic ServiceCall<Synonym> getSynonym(GetSynonymOptions getSynonymOptions)
getSynonymOptions - the GetSynonymOptions containing the options for the callSynonym with the responsepublic ServiceCall<SynonymCollection> listSynonyms(ListSynonymsOptions listSynonymsOptions)
listSynonymsOptions - the ListSynonymsOptions containing the options for the callSynonymCollection with the responsepublic ServiceCall<Synonym> updateSynonym(UpdateSynonymOptions updateSynonymOptions)
updateSynonymOptions - the UpdateSynonymOptions containing the options for the callSynonym with the responsepublic ServiceCall<Value> createValue(CreateValueOptions createValueOptions)
createValueOptions - the CreateValueOptions containing the options for the callValue with the responsepublic ServiceCall<java.lang.Void> deleteValue(DeleteValueOptions deleteValueOptions)
deleteValueOptions - the DeleteValueOptions containing the options for the callpublic ServiceCall<ValueExport> getValue(GetValueOptions getValueOptions)
getValueOptions - the GetValueOptions containing the options for the callValueExport with the responsepublic ServiceCall<ValueCollection> listValues(ListValuesOptions listValuesOptions)
listValuesOptions - the ListValuesOptions containing the options for the callValueCollection with the responsepublic ServiceCall<Value> updateValue(UpdateValueOptions updateValueOptions)
updateValueOptions - the UpdateValueOptions containing the options for the callValue with the responsepublic ServiceCall<Workspace> createWorkspace(CreateWorkspaceOptions createWorkspaceOptions)
createWorkspaceOptions - the CreateWorkspaceOptions containing the options for the callWorkspace with the responsepublic ServiceCall<java.lang.Void> deleteWorkspace(DeleteWorkspaceOptions deleteWorkspaceOptions)
deleteWorkspaceOptions - the DeleteWorkspaceOptions containing the options for the callpublic ServiceCall<WorkspaceExport> getWorkspace(GetWorkspaceOptions getWorkspaceOptions)
getWorkspaceOptions - the GetWorkspaceOptions containing the options for the callWorkspaceExport with the responsepublic ServiceCall<WorkspaceCollection> listWorkspaces(ListWorkspacesOptions listWorkspacesOptions)
listWorkspacesOptions - the ListWorkspacesOptions containing the options for the callWorkspaceCollection with the responsepublic ServiceCall<Workspace> updateWorkspace(UpdateWorkspaceOptions updateWorkspaceOptions)
updateWorkspaceOptions - the UpdateWorkspaceOptions containing the options for the callWorkspace with the response