@Deprecated public class DialogService extends WatsonService
ConversationServicedefaultHeaders, MESSAGE_CODE, MESSAGE_ERROR, skipAuthentication, VERSION| Constructor and Description | 
|---|
DialogService()
Deprecated.  
Instantiates a new Dialog service with the default URL. 
 | 
DialogService(String username,
             String password)
Deprecated.  
Instantiates a new dialog service by username and password. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
ServiceCall<Conversation> | 
converse(Conversation conversation,
        String newMessage)
Deprecated.  
Starts or continue conversations. 
 | 
ServiceCall<Conversation> | 
createConversation(String dialogId)
Deprecated.  
Starts or continue conversations. 
 | 
ServiceCall<Dialog> | 
createDialog(String name,
            File dialogFile)
Deprecated.  
Creates a dialog. 
 | 
ServiceCall<Void> | 
deleteDialog(String dialogId)
Deprecated.  
Deletes a dialog. 
 | 
ServiceCall<List<DialogContent>> | 
getContent(String dialogId)
Deprecated.  
Gets content for nodes. 
 | 
ServiceCall<List<ConversationData>> | 
getConversationData(ConversationDataOptions options)
Deprecated.  
Returns chat session data dump for a given date rage. 
 | 
ServiceCall<List<Dialog>> | 
getDialogs()
Deprecated.  
Retrieves the list of Dialogs for the user. 
 | 
ServiceCall<Map<String,String>> | 
getProfile(Conversation conversation,
          String... names)
Deprecated.  
Returns a list of name-value pars associated with a client id. 
 | 
ServiceCall<Map<String,String>> | 
getProfile(String dialogId,
          Integer clientId,
          String... names)
Deprecated.  
Returns a list of name-value pars associated with a client id. 
 | 
ServiceCall<Void> | 
updateDialog(String dialogId,
            File dialogFile)
Deprecated.  
Updates an existing  
Dialog. | 
ServiceCall<Void> | 
updateProfile(Conversation conversation,
             Map<String,String> profile)
Deprecated.  
Updates a profile with a Map of key-value variables. 
Profile variables are case sensitive.  | 
ServiceCall<Void> | 
updateProfile(String dialogId,
             Integer clientId,
             Map<String,String> profile)
Deprecated.  
Updates a dialog profile with a profile. 
Profile variables are case sensitive.  | 
configureHttpClient, createServiceCall, getApiKey, getEndPoint, getName, getToken, processServiceCall, setApiKey, setAuthentication, setDefaultHeaders, setEndPoint, setSkipAuthentication, setUsernameAndPassword, toStringpublic DialogService()
public ServiceCall<Conversation> converse(Conversation conversation, String newMessage)
conversation - the current conversationnewMessage - the new messageConversation with the responsepublic ServiceCall<Conversation> createConversation(String dialogId)
dialogId - the dialog identifierConversationpublic ServiceCall<Dialog> createDialog(String name, File dialogFile)
name - The dialog namedialogFile - The dialog script fileDialogpublic ServiceCall<Void> deleteDialog(String dialogId)
dialogId - The dialog identifierDialogServicepublic ServiceCall<List<DialogContent>> getContent(String dialogId)
dialogId - the dialog identifierDialogContent for nodespublic ServiceCall<List<ConversationData>> getConversationData(ConversationDataOptions options)
options - the optionsConversationDatapublic ServiceCall<List<Dialog>> getDialogs()
Dialog listpublic ServiceCall<Map<String,String>> getProfile(Conversation conversation, String... names)
conversation - The current conversationnames - the profile variables to returnpublic ServiceCall<Map<String,String>> getProfile(String dialogId, Integer clientId, String... names)
dialogId - The dialog identifierclientId - the client idnames - the profile variables to returnpublic ServiceCall<Void> updateDialog(String dialogId, File dialogFile)
Dialog.dialogId - The dialog identifierdialogFile - The dialog fileDialogpublic ServiceCall<Void> updateProfile(Conversation conversation, Map<String,String> profile)
conversation - the conversationprofile - the profilepublic ServiceCall<Void> updateProfile(String dialogId, Integer clientId, Map<String,String> profile)
dialogId - The dialog identifierclientId - the client identifierprofile - the profile variablesCopyright © 2015–2016 IBM Watson. All rights reserved.