Class CreateDialogNodeOptions
- All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel
public class CreateDialogNodeOptions
extends com.ibm.cloud.sdk.core.service.model.GenericModel
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCreateDialogNodeOptions.BuilderBuilder.static interfaceCreateDialogNodeOptions.DigressInWhether this top-level dialog node can be digressed into.static interfaceCreateDialogNodeOptions.DigressOutWhether this dialog node can be returned to after a digression.static interfaceCreateDialogNodeOptions.DigressOutSlotsWhether the user can digress to top-level nodes while filling out slots.static interfaceCreateDialogNodeOptions.EventNameHow an `event_handler` node is processed.static interfaceCreateDialogNodeOptions.TypeHow the dialog node is processed. -
Method Summary
Modifier and Type Method Description List<DialogNodeAction>actions()Gets the actions.Stringconditions()Gets the conditions.DialogNodeContextcontext()Gets the context.Stringdescription()Gets the description.StringdialogNode()Gets the dialogNode.StringdigressIn()Gets the digressIn.StringdigressOut()Gets the digressOut.StringdigressOutSlots()Gets the digressOutSlots.BooleandisambiguationOptOut()Gets the disambiguationOptOut.StringeventName()Gets the eventName.BooleanincludeAudit()Gets the includeAudit.Map<String,Object>metadata()Gets the metadata.CreateDialogNodeOptions.BuildernewBuilder()New builder.DialogNodeNextStepnextStep()Gets the nextStep.DialogNodeOutputoutput()Gets the output.Stringparent()Gets the parent.StringpreviousSibling()Gets the previousSibling.Stringtitle()Gets the title.Stringtype()Gets the type.StringuserLabel()Gets the userLabel.Stringvariable()Gets the variable.StringworkspaceId()Gets the workspaceId.Methods inherited from class com.ibm.cloud.sdk.core.service.model.GenericModel
equals, hashCode, toString
-
Method Details
-
newBuilder
New builder.- Returns:
- a CreateDialogNodeOptions builder
-
workspaceId
Gets the workspaceId.Unique identifier of the workspace.
- Returns:
- the workspaceId
-
dialogNode
Gets the dialogNode.The unique ID of the dialog node. This is an internal identifier used to refer to the dialog node from other dialog nodes and in the diagnostic information included with message responses.
This string can contain only Unicode alphanumeric, space, underscore, hyphen, and dot characters.
- Returns:
- the dialogNode
-
description
Gets the description.The description of the dialog node. This string cannot contain carriage return, newline, or tab characters.
- Returns:
- the description
-
conditions
Gets the conditions.The condition that will trigger the dialog node. This string cannot contain carriage return, newline, or tab characters.
- Returns:
- the conditions
-
parent
Gets the parent.The unique ID of the parent dialog node. This property is omitted if the dialog node has no parent.
- Returns:
- the parent
-
previousSibling
Gets the previousSibling.The unique ID of the previous sibling dialog node. This property is omitted if the dialog node has no previous sibling.
- Returns:
- the previousSibling
-
output
Gets the output.The output of the dialog node. For more information about how to specify dialog node output, see the [documentation](https://cloud.ibm.com/docs/assistant?topic=assistant-dialog-overview#dialog-overview-responses).
- Returns:
- the output
-
context
Gets the context.The context for the dialog node.
- Returns:
- the context
-
metadata
Gets the metadata.The metadata for the dialog node.
- Returns:
- the metadata
-
nextStep
Gets the nextStep.The next step to execute following this dialog node.
- Returns:
- the nextStep
-
title
Gets the title.A human-readable name for the dialog node. If the node is included in disambiguation, this title is used to populate the **label** property of the corresponding suggestion in the `suggestion` response type (unless it is overridden by the **user_label** property). The title is also used to populate the **topic** property in the `connect_to_agent` response type.
This string can contain only Unicode alphanumeric, space, underscore, hyphen, and dot characters.
- Returns:
- the title
-
type
Gets the type.How the dialog node is processed.
- Returns:
- the type
-
eventName
Gets the eventName.How an `event_handler` node is processed.
- Returns:
- the eventName
-
variable
Gets the variable.The location in the dialog context where output is stored.
- Returns:
- the variable
-
actions
Gets the actions.An array of objects describing any actions to be invoked by the dialog node.
- Returns:
- the actions
-
digressIn
Gets the digressIn.Whether this top-level dialog node can be digressed into.
- Returns:
- the digressIn
-
digressOut
Gets the digressOut.Whether this dialog node can be returned to after a digression.
- Returns:
- the digressOut
-
digressOutSlots
Gets the digressOutSlots.Whether the user can digress to top-level nodes while filling out slots.
- Returns:
- the digressOutSlots
-
userLabel
Gets the userLabel.A label that can be displayed externally to describe the purpose of the node to users. If set, this label is used to identify the node in disambiguation responses (overriding the value of the **title** property).
- Returns:
- the userLabel
-
disambiguationOptOut
Gets the disambiguationOptOut.Whether the dialog node should be excluded from disambiguation suggestions. Valid only when **type**=`standard` or `frame`.
- Returns:
- the disambiguationOptOut
-
includeAudit
Gets the includeAudit.Whether to include the audit properties (`created` and `updated` timestamps) in the response.
- Returns:
- the includeAudit
-