public class CreateDialogNodeOptions
extends com.ibm.cloud.sdk.core.service.model.GenericModel
Modifier and Type | Class and Description |
---|---|
static class |
CreateDialogNodeOptions.Builder
Builder.
|
static interface |
CreateDialogNodeOptions.DigressIn
Whether this top-level dialog node can be digressed into.
|
static interface |
CreateDialogNodeOptions.DigressOut
Whether this dialog node can be returned to after a digression.
|
static interface |
CreateDialogNodeOptions.DigressOutSlots
Whether the user can digress to top-level nodes while filling out slots.
|
static interface |
CreateDialogNodeOptions.EventName
How an `event_handler` node is processed.
|
static interface |
CreateDialogNodeOptions.Type
How the dialog node is processed.
|
Modifier and Type | Field and Description |
---|---|
protected java.util.List<DialogNodeAction> |
actions |
protected java.lang.String |
conditions |
protected java.util.Map<java.lang.String,java.lang.Object> |
context |
protected java.lang.String |
description |
protected java.lang.String |
dialogNode |
protected java.lang.String |
digressIn |
protected java.lang.String |
digressOut |
protected java.lang.String |
digressOutSlots |
protected java.lang.Boolean |
disambiguationOptOut |
protected java.lang.String |
eventName |
protected java.lang.Boolean |
includeAudit |
protected java.util.Map<java.lang.String,java.lang.Object> |
metadata |
protected DialogNodeNextStep |
nextStep |
protected DialogNodeOutput |
output |
protected java.lang.String |
parent |
protected java.lang.String |
previousSibling |
protected java.lang.String |
title |
protected java.lang.String |
type |
protected java.lang.String |
userLabel |
protected java.lang.String |
variable |
protected java.lang.String |
workspaceId |
Modifier | Constructor and Description |
---|---|
protected |
CreateDialogNodeOptions(CreateDialogNodeOptions.Builder builder) |
Modifier and Type | Method and Description |
---|---|
java.util.List<DialogNodeAction> |
actions()
Gets the actions.
|
java.lang.String |
conditions()
Gets the conditions.
|
java.util.Map<java.lang.String,java.lang.Object> |
context()
Gets the context.
|
java.lang.String |
description()
Gets the description.
|
java.lang.String |
dialogNode()
Gets the dialogNode.
|
java.lang.String |
digressIn()
Gets the digressIn.
|
java.lang.String |
digressOut()
Gets the digressOut.
|
java.lang.String |
digressOutSlots()
Gets the digressOutSlots.
|
java.lang.Boolean |
disambiguationOptOut()
Gets the disambiguationOptOut.
|
java.lang.String |
eventName()
Gets the eventName.
|
java.lang.Boolean |
includeAudit()
Gets the includeAudit.
|
java.util.Map<java.lang.String,java.lang.Object> |
metadata()
Gets the metadata.
|
CreateDialogNodeOptions.Builder |
newBuilder()
New builder.
|
DialogNodeNextStep |
nextStep()
Gets the nextStep.
|
DialogNodeOutput |
output()
Gets the output.
|
java.lang.String |
parent()
Gets the parent.
|
java.lang.String |
previousSibling()
Gets the previousSibling.
|
java.lang.String |
title()
Gets the title.
|
java.lang.String |
type()
Gets the type.
|
java.lang.String |
userLabel()
Gets the userLabel.
|
java.lang.String |
variable()
Gets the variable.
|
java.lang.String |
workspaceId()
Gets the workspaceId.
|
protected java.lang.String workspaceId
protected java.lang.String dialogNode
protected java.lang.String description
protected java.lang.String conditions
protected java.lang.String parent
protected java.lang.String previousSibling
protected DialogNodeOutput output
protected java.util.Map<java.lang.String,java.lang.Object> context
protected java.util.Map<java.lang.String,java.lang.Object> metadata
protected DialogNodeNextStep nextStep
protected java.lang.String title
protected java.lang.String type
protected java.lang.String eventName
protected java.lang.String variable
protected java.util.List<DialogNodeAction> actions
protected java.lang.String digressIn
protected java.lang.String digressOut
protected java.lang.String digressOutSlots
protected java.lang.String userLabel
protected java.lang.Boolean disambiguationOptOut
protected java.lang.Boolean includeAudit
protected CreateDialogNodeOptions(CreateDialogNodeOptions.Builder builder)
public CreateDialogNodeOptions.Builder newBuilder()
public java.lang.String workspaceId()
Unique identifier of the workspace.
public java.lang.String dialogNode()
The dialog node ID. This string must conform to the following restrictions: - It can contain only Unicode alphanumeric, space, underscore, hyphen, and dot characters.
public java.lang.String description()
The description of the dialog node. This string cannot contain carriage return, newline, or tab characters.
public java.lang.String conditions()
The condition that will trigger the dialog node. This string cannot contain carriage return, newline, or tab characters.
public java.lang.String parent()
The ID of the parent dialog node. This property is omitted if the dialog node has no parent.
public java.lang.String previousSibling()
The ID of the previous sibling dialog node. This property is omitted if the dialog node has no previous sibling.
public DialogNodeOutput 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).
public java.util.Map<java.lang.String,java.lang.Object> context()
The context for the dialog node.
public java.util.Map<java.lang.String,java.lang.Object> metadata()
The metadata for the dialog node.
public DialogNodeNextStep nextStep()
The next step to execute following this dialog node.
public java.lang.String title()
The alias used to identify the dialog node. This string must conform to the following restrictions: - It can contain only Unicode alphanumeric, space, underscore, hyphen, and dot characters.
public java.lang.String type()
How the dialog node is processed.
public java.lang.String eventName()
How an `event_handler` node is processed.
public java.lang.String variable()
The location in the dialog context where output is stored.
public java.util.List<DialogNodeAction> actions()
An array of objects describing any actions to be invoked by the dialog node.
public java.lang.String digressIn()
Whether this top-level dialog node can be digressed into.
public java.lang.String digressOut()
Whether this dialog node can be returned to after a digression.
public java.lang.String digressOutSlots()
Whether the user can digress to top-level nodes while filling out slots.
public java.lang.String userLabel()
A label that can be displayed externally to describe the purpose of the node to users.
public java.lang.Boolean disambiguationOptOut()
Whether the dialog node should be excluded from disambiguation suggestions. Valid only when **type**=`standard` or `frame`.
public java.lang.Boolean includeAudit()
Whether to include the audit properties (`created` and `updated` timestamps) in the response.