public class RuntimeResponseGeneric
extends com.ibm.cloud.sdk.core.service.model.GenericModel
Classes which extend this class: - RuntimeResponseGenericRuntimeResponseTypeText - RuntimeResponseGenericRuntimeResponseTypePause - RuntimeResponseGenericRuntimeResponseTypeImage - RuntimeResponseGenericRuntimeResponseTypeOption - RuntimeResponseGenericRuntimeResponseTypeConnectToAgent - RuntimeResponseGenericRuntimeResponseTypeSuggestion
Modifier and Type | Class and Description |
---|---|
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 AgentAvailabilityMessage |
agentAvailable |
protected AgentAvailabilityMessage |
agentUnavailable |
protected java.lang.String |
description |
protected java.lang.String |
dialogNode |
protected static java.util.Map<java.lang.String,java.lang.Class<?>> |
discriminatorMapping |
protected static java.lang.String |
discriminatorPropertyName |
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.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 DialogNodeOutputConnectToAgentTransferInfo |
transferInfo |
protected java.lang.Boolean |
typing |
Modifier | Constructor and Description |
---|---|
protected |
RuntimeResponseGeneric() |
Modifier and Type | Method and Description |
---|---|
AgentAvailabilityMessage |
agentAvailable()
Gets the agentAvailable.
|
AgentAvailabilityMessage |
agentUnavailable()
Gets the agentUnavailable.
|
java.lang.String |
description()
Gets the description.
|
java.lang.String |
dialogNode()
Gets the dialogNode.
|
java.lang.String |
messageToHumanAgent()
Gets the messageToHumanAgent.
|
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.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.
|
DialogNodeOutputConnectToAgentTransferInfo |
transferInfo()
Gets the transferInfo.
|
java.lang.Boolean |
typing()
Gets the typing.
|
protected static java.lang.String discriminatorPropertyName
protected static java.util.Map<java.lang.String,java.lang.Class<?>> discriminatorMapping
@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
@SerializedName(value="agent_available") protected AgentAvailabilityMessage agentAvailable
@SerializedName(value="agent_unavailable") protected AgentAvailabilityMessage agentUnavailable
@SerializedName(value="transfer_info") protected DialogNodeOutputConnectToAgentTransferInfo transferInfo
protected java.lang.String topic
@SerializedName(value="dialog_node") protected java.lang.String dialogNode
protected java.util.List<DialogSuggestion> suggestions
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 AgentAvailabilityMessage agentAvailable()
An optional message to be displayed to the user to indicate that the conversation will be transferred to the next available agent.
public AgentAvailabilityMessage agentUnavailable()
An optional message to be displayed to the user to indicate that no online agent is available to take over the conversation.
public DialogNodeOutputConnectToAgentTransferInfo transferInfo()
Routing or other contextual information to be used by target service desk systems.
public java.lang.String topic()
A label identifying the topic of the conversation, derived from the **title** property of the relevant node or the **topic** property of the dialog node response.
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.
public java.util.List<DialogSuggestion> suggestions()
An array of objects describing the possible matching dialog nodes from which the user can choose.