primaryResults
An array of objects that contains the search results to be displayed in the initial response to the user.
- Returns:
- the primaryResults
com.ibm.cloud.sdk.core.service.model.ObjectModel
RuntimeResponseGenericRuntimeResponseTypeChannelTransfer
, RuntimeResponseGenericRuntimeResponseTypeConnectToAgent
, RuntimeResponseGenericRuntimeResponseTypeImage
, RuntimeResponseGenericRuntimeResponseTypeOption
, RuntimeResponseGenericRuntimeResponseTypePause
, RuntimeResponseGenericRuntimeResponseTypeSearch
, 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 - RuntimeResponseGenericRuntimeResponseTypeSearch - RuntimeResponseGenericRuntimeResponseTypeUserDefined
Modifier and Type | Class | Description |
---|---|---|
static interface |
RuntimeResponseGeneric.Preference |
The preferred type of control to display.
|
Modifier and Type | Method | Description |
---|---|---|
List<SearchResult> |
additionalResults() |
Gets the additionalResults.
|
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 |
header() |
Gets the header.
|
String |
messageToHumanAgent() |
Gets the messageToHumanAgent.
|
String |
messageToUser() |
Gets the messageToUser.
|
List<DialogNodeOutputOptionsElement> |
options() |
Gets the options.
|
String |
preference() |
Gets the preference.
|
List<SearchResult> |
primaryResults() |
Gets the primaryResults.
|
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.
|
equals, hashCode, toString
The type of response returned by the dialog node. The specified response type must be supported by the client application or channel.
The text of the response.
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.
How long to pause, in milliseconds.
Whether to send a "user is typing" event during the pause.
The `https:` URL of the image.
The title to show before the response.
The description to show with the the response.
Descriptive text that can be used for screen readers or other situations where the image cannot be seen.
The preferred type of control to display.
An array of objects describing the options from which the user can choose.
A message to be sent to the human agent who will be taking over the conversation.
An optional message to be displayed to the user to indicate that the conversation will be transferred to the next available agent.
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.
An array of objects describing the possible matching dialog nodes from which the user can choose.
The message to display to the user when initiating a channel transfer.
The title or introductory text to show before the response. This text is defined in the search skill configuration.
An array of objects that contains the search results to be displayed in the initial response to the user.
An array of objects that contains additional search results that can be displayed to the user upon request.
An object containing any properties for the user-defined response type.