public class DialogSuggestionResponseGeneric
extends com.ibm.cloud.sdk.core.service.model.GenericModel
Modifier and Type | Class and Description |
---|---|
static class |
DialogSuggestionResponseGeneric.Builder
Builder.
|
static interface |
DialogSuggestionResponseGeneric.Preference
The preferred type of control to display.
|
static interface |
DialogSuggestionResponseGeneric.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 |
dialogNode |
protected java.lang.String |
messageToHumanAgent |
protected java.util.List<DialogNodeOutputOptionsElement> |
options |
protected java.lang.String |
preference |
protected java.lang.String |
responseType |
protected java.lang.String |
source |
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 |
DialogSuggestionResponseGeneric(DialogSuggestionResponseGeneric.Builder builder) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
description()
Gets the description.
|
java.lang.String |
dialogNode()
Gets the dialogNode.
|
java.lang.String |
messageToHumanAgent()
Gets the messageToHumanAgent.
|
DialogSuggestionResponseGeneric.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.lang.String |
source()
Gets the source.
|
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
@SerializedName(value="dialog_node") protected java.lang.String dialogNode
protected DialogSuggestionResponseGeneric(DialogSuggestionResponseGeneric.Builder builder)
public DialogSuggestionResponseGeneric.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.
**Note:** The **suggestion** response type is part of the disambiguation feature, which is only available for Plus and Premium users. The **search_skill** response type is available only for Plus and Premium users, and is used only by the v2 runtime API.
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 **title** property of the relevant node.
public java.lang.String dialogNode()
The ID of the dialog node that the **topic** property is taken from. The **topic** property is populated using the value of the dialog node's **title** property.