public class DialogSuggestion
extends com.ibm.cloud.sdk.core.service.model.GenericModel
Modifier and Type | Class and Description |
---|---|
static class |
DialogSuggestion.Builder
Builder.
|
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
dialogNode |
protected java.lang.String |
label |
protected DialogSuggestionOutput |
output |
protected DialogSuggestionValue |
value |
Modifier | Constructor and Description |
---|---|
protected |
DialogSuggestion(DialogSuggestion.Builder builder) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
dialogNode()
Gets the dialogNode.
|
java.lang.String |
label()
Gets the label.
|
DialogSuggestion.Builder |
newBuilder()
New builder.
|
DialogSuggestionOutput |
output()
Gets the output.
|
DialogSuggestionValue |
value()
Gets the value.
|
protected java.lang.String label
protected DialogSuggestionValue value
protected DialogSuggestionOutput output
@SerializedName(value="dialog_node") protected java.lang.String dialogNode
protected DialogSuggestion(DialogSuggestion.Builder builder)
public DialogSuggestion.Builder newBuilder()
public java.lang.String label()
The user-facing label for the disambiguation option. This label is taken from the **title** or **user_label** property of the corresponding dialog node, depending on the disambiguation options.
public DialogSuggestionValue value()
An object defining the message input, intents, and entities to be sent to the Watson Assistant service if the user selects the corresponding disambiguation option.
public DialogSuggestionOutput output()
The dialog output that will be returned from the Watson Assistant service if the user selects the corresponding option.
public java.lang.String dialogNode()
The ID of the dialog node that the **label** property is taken from. The **label** property is populated using the value of the dialog node's **user_label** property.