public static class RuntimeResponseGeneric.Builder
extends java.lang.Object
| Constructor and Description |
|---|
RuntimeResponseGeneric.Builder()
Instantiates a new builder.
|
RuntimeResponseGeneric.Builder(java.lang.String responseType)
Instantiates a new builder with required properties.
|
| Modifier and Type | Method and Description |
|---|---|
RuntimeResponseGeneric.Builder |
addOptions(DialogNodeOutputOptionsElement options)
Adds an options to options.
|
RuntimeResponseGeneric.Builder |
addSuggestions(DialogSuggestion suggestions)
Adds an suggestions to suggestions.
|
RuntimeResponseGeneric |
build()
Builds a RuntimeResponseGeneric.
|
RuntimeResponseGeneric.Builder |
description(java.lang.String description)
Set the description.
|
RuntimeResponseGeneric.Builder |
dialogNode(java.lang.String dialogNode)
Set the dialogNode.
|
RuntimeResponseGeneric.Builder |
messageToHumanAgent(java.lang.String messageToHumanAgent)
Set the messageToHumanAgent.
|
RuntimeResponseGeneric.Builder |
options(java.util.List<DialogNodeOutputOptionsElement> options)
Set the options.
|
RuntimeResponseGeneric.Builder |
preference(java.lang.String preference)
Set the preference.
|
RuntimeResponseGeneric.Builder |
responseType(java.lang.String responseType)
Set the responseType.
|
RuntimeResponseGeneric.Builder |
source(java.lang.String source)
Set the source.
|
RuntimeResponseGeneric.Builder |
suggestions(java.util.List<DialogSuggestion> suggestions)
Set the suggestions.
|
RuntimeResponseGeneric.Builder |
text(java.lang.String text)
Set the text.
|
RuntimeResponseGeneric.Builder |
time(long time)
Set the time.
|
RuntimeResponseGeneric.Builder |
title(java.lang.String title)
Set the title.
|
RuntimeResponseGeneric.Builder |
topic(java.lang.String topic)
Set the topic.
|
RuntimeResponseGeneric.Builder |
typing(java.lang.Boolean typing)
Set the typing.
|
public RuntimeResponseGeneric.Builder()
public RuntimeResponseGeneric.Builder(java.lang.String responseType)
responseType - the responseTypepublic RuntimeResponseGeneric build()
public RuntimeResponseGeneric.Builder addOptions(DialogNodeOutputOptionsElement options)
options - the new optionspublic RuntimeResponseGeneric.Builder addSuggestions(DialogSuggestion suggestions)
suggestions - the new suggestionspublic RuntimeResponseGeneric.Builder responseType(java.lang.String responseType)
responseType - the responseTypepublic RuntimeResponseGeneric.Builder text(java.lang.String text)
text - the textpublic RuntimeResponseGeneric.Builder time(long time)
time - the timepublic RuntimeResponseGeneric.Builder typing(java.lang.Boolean typing)
typing - the typingpublic RuntimeResponseGeneric.Builder source(java.lang.String source)
source - the sourcepublic RuntimeResponseGeneric.Builder title(java.lang.String title)
title - the titlepublic RuntimeResponseGeneric.Builder description(java.lang.String description)
description - the descriptionpublic RuntimeResponseGeneric.Builder preference(java.lang.String preference)
preference - the preferencepublic RuntimeResponseGeneric.Builder options(java.util.List<DialogNodeOutputOptionsElement> options)
options - the optionspublic RuntimeResponseGeneric.Builder messageToHumanAgent(java.lang.String messageToHumanAgent)
messageToHumanAgent - the messageToHumanAgentpublic RuntimeResponseGeneric.Builder topic(java.lang.String topic)
topic - the topicpublic RuntimeResponseGeneric.Builder dialogNode(java.lang.String dialogNode)
dialogNode - the dialogNodepublic RuntimeResponseGeneric.Builder suggestions(java.util.List<DialogSuggestion> suggestions)
suggestions - the suggestions