public static class DialogSuggestionResponseGeneric.Builder
extends java.lang.Object
Constructor and Description |
---|
DialogSuggestionResponseGeneric.Builder()
Instantiates a new builder.
|
DialogSuggestionResponseGeneric.Builder(java.lang.String responseType)
Instantiates a new builder with required properties.
|
public DialogSuggestionResponseGeneric.Builder()
public DialogSuggestionResponseGeneric.Builder(java.lang.String responseType)
responseType
- the responseTypepublic DialogSuggestionResponseGeneric build()
public DialogSuggestionResponseGeneric.Builder addOptions(DialogNodeOutputOptionsElement options)
options
- the new optionspublic DialogSuggestionResponseGeneric.Builder responseType(java.lang.String responseType)
responseType
- the responseTypepublic DialogSuggestionResponseGeneric.Builder text(java.lang.String text)
text
- the textpublic DialogSuggestionResponseGeneric.Builder time(long time)
time
- the timepublic DialogSuggestionResponseGeneric.Builder typing(java.lang.Boolean typing)
typing
- the typingpublic DialogSuggestionResponseGeneric.Builder source(java.lang.String source)
source
- the sourcepublic DialogSuggestionResponseGeneric.Builder title(java.lang.String title)
title
- the titlepublic DialogSuggestionResponseGeneric.Builder description(java.lang.String description)
description
- the descriptionpublic DialogSuggestionResponseGeneric.Builder preference(java.lang.String preference)
preference
- the preferencepublic DialogSuggestionResponseGeneric.Builder options(java.util.List<DialogNodeOutputOptionsElement> options)
options
- the optionspublic DialogSuggestionResponseGeneric.Builder messageToHumanAgent(java.lang.String messageToHumanAgent)
messageToHumanAgent
- the messageToHumanAgentpublic DialogSuggestionResponseGeneric.Builder topic(java.lang.String topic)
topic
- the topicpublic DialogSuggestionResponseGeneric.Builder dialogNode(java.lang.String dialogNode)
dialogNode
- the dialogNode