Class DialogNodeOutputGeneric
- All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel
- Direct Known Subclasses:
DialogNodeOutputGenericDialogNodeOutputResponseTypeChannelTransfer
,DialogNodeOutputGenericDialogNodeOutputResponseTypeConnectToAgent
,DialogNodeOutputGenericDialogNodeOutputResponseTypeImage
,DialogNodeOutputGenericDialogNodeOutputResponseTypeOption
,DialogNodeOutputGenericDialogNodeOutputResponseTypePause
,DialogNodeOutputGenericDialogNodeOutputResponseTypeSearchSkill
,DialogNodeOutputGenericDialogNodeOutputResponseTypeText
,DialogNodeOutputGenericDialogNodeOutputResponseTypeUserDefined
public class DialogNodeOutputGeneric
extends com.ibm.cloud.sdk.core.service.model.GenericModel
Classes which extend this class: - DialogNodeOutputGenericDialogNodeOutputResponseTypeText - DialogNodeOutputGenericDialogNodeOutputResponseTypePause - DialogNodeOutputGenericDialogNodeOutputResponseTypeImage - DialogNodeOutputGenericDialogNodeOutputResponseTypeOption - DialogNodeOutputGenericDialogNodeOutputResponseTypeConnectToAgent - DialogNodeOutputGenericDialogNodeOutputResponseTypeSearchSkill - DialogNodeOutputGenericDialogNodeOutputResponseTypeChannelTransfer - DialogNodeOutputGenericDialogNodeOutputResponseTypeUserDefined
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
DialogNodeOutputGeneric.Preference
The preferred type of control to display, if supported by the channel.static interface
DialogNodeOutputGeneric.QueryType
The type of the search query.static interface
DialogNodeOutputGeneric.SelectionPolicy
How a response is selected from the list, if more than one response is specified. -
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
delimiter()
Gets the delimiter.String
description()
Gets the description.String
discoveryVersion()
Gets the discoveryVersion.String
filter()
Gets the filter.String
messageToHumanAgent()
Gets the messageToHumanAgent.String
messageToUser()
Gets the messageToUser.List<DialogNodeOutputOptionsElement>
options()
Gets the options.String
preference()
Gets the preference.String
query()
Gets the query.String
queryType()
Gets the queryType.String
responseType()
Gets the responseType.String
selectionPolicy()
Gets the selectionPolicy.String
source()
Gets the source.Long
time()
Gets the time.String
title()
Gets the title.Boolean
typing()
Gets the typing.Map<String,Object>
userDefined()
Gets the userDefined.List<DialogNodeOutputTextValuesElement>
values()
Gets the values.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
-
values
Gets the values.A list of one or more objects defining text responses.
- Returns:
- the values
-
selectionPolicy
Gets the selectionPolicy.How a response is selected from the list, if more than one response is specified.
- Returns:
- the selectionPolicy
-
delimiter
Gets the delimiter.The delimiter to use as a separator between responses when `selection_policy`=`multiline`.
- Returns:
- the delimiter
-
channels
Gets the channels.An array of objects specifying channels for which the response is intended.
- Returns:
- the channels
-
time
Gets the time.How long to pause, in milliseconds. The valid values are from 0 to 10000.
- Returns:
- the time
-
typing
Gets the typing.Whether to send a "user is typing" event during the pause. Ignored if the channel does not support this event.
- Returns:
- the typing
-
source
Gets the source.The `https:` URL of the image.
- Returns:
- the source
-
title
Gets the title.An optional title to show before the response.
- Returns:
- the title
-
description
Gets the description.An optional description to show with 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, if supported by the channel.
- Returns:
- the preference
-
options
Gets the options.An array of objects describing the options from which the user can choose. You can include up to 20 options.
- Returns:
- the options
-
messageToHumanAgent
Gets the messageToHumanAgent.An optional 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
-
query
Gets the query.The text of the search query. This can be either a natural-language query or a query that uses the Discovery query language syntax, depending on the value of the **query_type** property. For more information, see the [Discovery service documentation](https://cloud.ibm.com/docs/discovery?topic=discovery-query-operators#query-operators).
- Returns:
- the query
-
queryType
Gets the queryType.The type of the search query.
- Returns:
- the queryType
-
filter
Gets the filter.An optional filter that narrows the set of documents to be searched. For more information, see the [Discovery service documentation]([Discovery service documentation](https://cloud.ibm.com/docs/discovery?topic=discovery-query-parameters#filter).
- Returns:
- the filter
-
discoveryVersion
Gets the discoveryVersion.The version of the Discovery service API to use for the query.
- Returns:
- the discoveryVersion
-
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. The total size of this object cannot exceed 5000 bytes.
- Returns:
- the userDefined
-