public class RuntimeResponseGeneric
extends com.ibm.cloud.sdk.core.service.model.GenericModel
Modifier and Type | Class and Description |
---|---|
static class |
RuntimeResponseGeneric.Builder
Builder.
|
static interface |
RuntimeResponseGeneric.Preference
The preferred type of control to display.
|
static interface |
RuntimeResponseGeneric.ResponseType
The type of response returned by the dialog node.
|
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
description |
protected java.lang.String |
header |
protected java.lang.String |
messageToHumanAgent |
protected java.util.List<DialogNodeOutputOptionsElement> |
options |
protected java.lang.String |
preference |
protected java.lang.String |
responseType |
protected java.util.List<SearchResult> |
results |
protected java.lang.String |
source |
protected java.util.List<DialogSuggestion> |
suggestions |
protected java.lang.String |
text |
protected java.lang.Long |
time |
protected java.lang.String |
title |
protected java.lang.String |
topic |
protected java.lang.Boolean |
typing |
Modifier | Constructor and Description |
---|---|
protected |
RuntimeResponseGeneric(RuntimeResponseGeneric.Builder builder) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
description()
Gets the description.
|
java.lang.String |
header()
Gets the header.
|
java.lang.String |
messageToHumanAgent()
Gets the messageToHumanAgent.
|
RuntimeResponseGeneric.Builder |
newBuilder()
New builder.
|
java.util.List<DialogNodeOutputOptionsElement> |
options()
Gets the options.
|
java.lang.String |
preference()
Gets the preference.
|
java.lang.String |
responseType()
Gets the responseType.
|
java.util.List<SearchResult> |
results()
Gets the results.
|
java.lang.String |
source()
Gets the source.
|
java.util.List<DialogSuggestion> |
suggestions()
Gets the suggestions.
|
java.lang.String |
text()
Gets the text.
|
java.lang.Long |
time()
Gets the time.
|
java.lang.String |
title()
Gets the title.
|
java.lang.String |
topic()
Gets the topic.
|
java.lang.Boolean |
typing()
Gets the typing.
|
@SerializedName(value="response_type") protected java.lang.String responseType
protected java.lang.String text
protected java.lang.Long time
protected java.lang.Boolean typing
protected java.lang.String source
protected java.lang.String title
protected java.lang.String description
protected java.lang.String preference
protected java.util.List<DialogNodeOutputOptionsElement> options
@SerializedName(value="message_to_human_agent") protected java.lang.String messageToHumanAgent
protected java.lang.String topic
protected java.util.List<DialogSuggestion> suggestions
protected java.lang.String header
protected java.util.List<SearchResult> results
protected RuntimeResponseGeneric(RuntimeResponseGeneric.Builder builder)
public RuntimeResponseGeneric.Builder newBuilder()
public java.lang.String responseType()
The type of response returned by the dialog node. The specified response type must be supported by the client application or channel.
public java.lang.String text()
The text of the response.
public java.lang.Long time()
How long to pause, in milliseconds.
public java.lang.Boolean typing()
Whether to send a "user is typing" event during the pause.
public java.lang.String source()
The URL of the image.
public java.lang.String title()
The title or introductory text to show before the response.
public java.lang.String description()
The description to show with the the response.
public java.lang.String preference()
The preferred type of control to display.
public java.util.List<DialogNodeOutputOptionsElement> options()
An array of objects describing the options from which the user can choose.
public java.lang.String messageToHumanAgent()
A message to be sent to the human agent who will be taking over the conversation.
public java.lang.String topic()
A label identifying the topic of the conversation, derived from the **user_label** property of the relevant node.
public java.util.List<DialogSuggestion> suggestions()
An array of objects describing the possible matching dialog nodes from which the user can choose.
public java.lang.String header()
The title or introductory text to show before the response. This text is defined in the search skill configuration.
public java.util.List<SearchResult> results()
An array of objects containing search results.