Class DialogSuggestion
java.lang.Object
com.ibm.cloud.sdk.core.service.model.GenericModel
com.ibm.watson.assistant.v1.model.DialogSuggestion
- All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel
public class DialogSuggestion
extends com.ibm.cloud.sdk.core.service.model.GenericModel
DialogSuggestion.
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
DialogSuggestion.Builder
Builder. -
Method Summary
Modifier and Type Method Description String
dialogNode()
Gets the dialogNode.String
label()
Gets the label.DialogSuggestion.Builder
newBuilder()
New builder.Map<String,Object>
output()
Gets the output.DialogSuggestionValue
value()
Gets the value.Methods inherited from class com.ibm.cloud.sdk.core.service.model.GenericModel
equals, hashCode, toString
-
Method Details
-
newBuilder
New builder.- Returns:
- a DialogSuggestion builder
-
label
Gets the 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.
- Returns:
- the label
-
value
Gets the 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.
- Returns:
- the value
-
output
Gets the output.The dialog output that will be returned from the Watson Assistant service if the user selects the corresponding option.
- Returns:
- the output
-
dialogNode
Gets the dialogNode.The unique 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 **title** or **user_label** property.
- Returns:
- the dialogNode
-