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 interfaceDialogNodeOutputGeneric.PreferenceThe preferred type of control to display, if supported by the channel.static interfaceDialogNodeOutputGeneric.QueryTypeThe type of the search query.static interfaceDialogNodeOutputGeneric.SelectionPolicyHow a response is selected from the list, if more than one response is specified. -
Method Summary
Modifier and Type Method Description AgentAvailabilityMessageagentAvailable()Gets the agentAvailable.AgentAvailabilityMessageagentUnavailable()Gets the agentUnavailable.List<ResponseGenericChannel>channels()Gets the channels.Stringdelimiter()Gets the delimiter.Stringdescription()Gets the description.StringdiscoveryVersion()Gets the discoveryVersion.Stringfilter()Gets the filter.StringmessageToHumanAgent()Gets the messageToHumanAgent.StringmessageToUser()Gets the messageToUser.List<DialogNodeOutputOptionsElement>options()Gets the options.Stringpreference()Gets the preference.Stringquery()Gets the query.StringqueryType()Gets the queryType.StringresponseType()Gets the responseType.StringselectionPolicy()Gets the selectionPolicy.Stringsource()Gets the source.Longtime()Gets the time.Stringtitle()Gets the title.Booleantyping()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 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
-
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
-