public class DialogSuggestion
extends com.ibm.cloud.sdk.core.service.model.GenericModel
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
label |
protected java.util.Map<java.lang.String,java.lang.Object> |
output |
protected DialogSuggestionValue |
value |
Constructor and Description |
---|
DialogSuggestion() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getLabel()
Gets the label.
|
java.util.Map<java.lang.String,java.lang.Object> |
getOutput()
Gets the output.
|
DialogSuggestionValue |
getValue()
Gets the value.
|
protected java.lang.String label
protected DialogSuggestionValue value
protected java.util.Map<java.lang.String,java.lang.Object> output
public java.lang.String getLabel()
The user-facing label for the suggestion. This label is taken from the **title** or **user_label** property of the corresponding dialog node, depending on the disambiguation options.
public DialogSuggestionValue getValue()
An object defining the message input to be sent to the assistant if the user selects the corresponding disambiguation option.
public java.util.Map<java.lang.String,java.lang.Object> getOutput()
The dialog output that will be returned from the Watson Assistant service if the user selects the corresponding option.