Class RuntimeResponseGeneric
- All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel
- Direct Known Subclasses:
RuntimeResponseGenericRuntimeResponseTypeChannelTransfer
,RuntimeResponseGenericRuntimeResponseTypeConnectToAgent
,RuntimeResponseGenericRuntimeResponseTypeImage
,RuntimeResponseGenericRuntimeResponseTypeOption
,RuntimeResponseGenericRuntimeResponseTypePause
,RuntimeResponseGenericRuntimeResponseTypeSuggestion
,RuntimeResponseGenericRuntimeResponseTypeText
,RuntimeResponseGenericRuntimeResponseTypeUserDefined
public class RuntimeResponseGeneric
extends com.ibm.cloud.sdk.core.service.model.GenericModel
Classes which extend this class: - RuntimeResponseGenericRuntimeResponseTypeText - RuntimeResponseGenericRuntimeResponseTypePause - RuntimeResponseGenericRuntimeResponseTypeImage - RuntimeResponseGenericRuntimeResponseTypeOption - RuntimeResponseGenericRuntimeResponseTypeConnectToAgent - RuntimeResponseGenericRuntimeResponseTypeSuggestion - RuntimeResponseGenericRuntimeResponseTypeChannelTransfer - RuntimeResponseGenericRuntimeResponseTypeUserDefined
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
RuntimeResponseGeneric.Preference
The preferred type of control to display. -
Method Summary
Modifier and Type Method Description AgentAvailabilityMessage
agentAvailable()
Gets the agentAvailable.AgentAvailabilityMessage
agentUnavailable()
Gets the agentUnavailable.String
altText()
Gets the altText.List<ResponseGenericChannel>
channels()
Gets the channels.String
description()
Gets the description.String
dialogNode()
Gets the dialogNode.String
messageToHumanAgent()
Gets the messageToHumanAgent.String
messageToUser()
Gets the messageToUser.List<DialogNodeOutputOptionsElement>
options()
Gets the options.String
preference()
Gets the preference.String
responseType()
Gets the responseType.String
source()
Gets the source.List<DialogSuggestion>
suggestions()
Gets the suggestions.String
text()
Gets the text.Long
time()
Gets the time.String
title()
Gets the title.String
topic()
Gets the topic.Boolean
typing()
Gets the typing.Map<String,Object>
userDefined()
Gets the userDefined.Methods inherited from class com.ibm.cloud.sdk.core.service.model.GenericModel
equals, hashCode, toString
-
Method Details
-
responseType
Gets the responseType.The type of response returned by the dialog node. The specified response type must be supported by the client application or channel.
- Returns:
- the responseType
-
text
Gets the text.The text of the response.
- Returns:
- the text
-
channels
Gets the channels.An array of objects specifying channels for which the response is intended. If **channels** is present, the response is intended for a built-in integration and should not be handled by an API client.
- Returns:
- the channels
-
time
Gets the time.How long to pause, in milliseconds.
- Returns:
- the time
-
typing
Gets the typing.Whether to send a "user is typing" event during the pause.
- Returns:
- the typing
-
source
Gets the source.The `https:` URL of the image.
- Returns:
- the source
-
title
Gets the title.The title or introductory text to show before the response.
- Returns:
- the title
-
description
Gets the description.The description to show with the the response.
- Returns:
- the description
-
altText
Gets the altText.Descriptive text that can be used for screen readers or other situations where the image cannot be seen.
- Returns:
- the altText
-
preference
Gets the preference.The preferred type of control to display.
- Returns:
- the preference
-
options
Gets the options.An array of objects describing the options from which the user can choose.
- Returns:
- the options
-
messageToHumanAgent
Gets the messageToHumanAgent.A message to be sent to the human agent who will be taking over the conversation.
- Returns:
- the messageToHumanAgent
-
agentAvailable
Gets the agentAvailable.An optional message to be displayed to the user to indicate that the conversation will be transferred to the next available agent.
- Returns:
- the agentAvailable
-
topic
Gets the 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.
- Returns:
- the topic
-
dialogNode
Gets the dialogNode.The unique 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.
- Returns:
- the dialogNode
-
suggestions
Gets the suggestions.An array of objects describing the possible matching dialog nodes from which the user can choose.
- Returns:
- the suggestions
-
messageToUser
Gets the messageToUser.The message to display to the user when initiating a channel transfer.
- Returns:
- the messageToUser
-
userDefined
Gets the userDefined.An object containing any properties for the user-defined response type.
- Returns:
- the userDefined
-