public class Conversation extends Object
DialogService.| Constructor and Description |
|---|
Conversation() |
| Modifier and Type | Method and Description |
|---|---|
Integer |
getClientId()
Gets the client id.
|
double |
getConfidence()
Gets the confidence.
|
Integer |
getId()
Gets the id.
|
String |
getInput()
Gets the input.
|
List<String> |
getResponse()
Gets the response.
|
void |
setClientId(int clientId)
Sets the client id.
|
void |
setConfidence(double confidence)
Sets the confidence.
|
void |
setId(int id)
Sets the id.
|
void |
setInput(String input)
Sets the input.
|
void |
setResponse(List<String> response)
Sets the response.
|
String |
toString() |
Conversation |
withClientId(int clientId)
With client id.
|
Conversation |
withConfidence(double confidence)
With confidence.
|
Conversation |
withId(int id)
With conversation id.
|
Conversation |
withInput(String input)
With input.
|
Conversation |
withResponse(List<String> response)
With response.
|
public Integer getClientId()
public double getConfidence()
public Integer getId()
public String getInput()
public void setClientId(int clientId)
clientId - The client_idpublic void setConfidence(double confidence)
confidence - The confidencepublic void setId(int id)
id - the new idpublic void setInput(String input)
input - The inputpublic void setResponse(List<String> response)
response - The responsepublic Conversation withClientId(int clientId)
clientId - the client idpublic Conversation withConfidence(double confidence)
confidence - the confidencepublic Conversation withId(int id)
id - the idpublic Conversation withInput(String input)
input - the inputpublic Conversation withResponse(List<String> response)
response - the responseCopyright © 2015. All rights reserved.