public class UpdateDialogNode
extends com.ibm.cloud.sdk.core.service.model.GenericModel
Modifier and Type | Class and Description |
---|---|
static class |
UpdateDialogNode.Builder
Builder.
|
static interface |
UpdateDialogNode.DigressIn
Whether this top-level dialog node can be digressed into.
|
static interface |
UpdateDialogNode.DigressOut
Whether this dialog node can be returned to after a digression.
|
static interface |
UpdateDialogNode.DigressOutSlots
Whether the user can digress to top-level nodes while filling out slots.
|
static interface |
UpdateDialogNode.EventName
How an `event_handler` node is processed.
|
static interface |
UpdateDialogNode.Type
How the dialog node is processed.
|
Modifier and Type | Method and Description |
---|---|
List<DialogNodeAction> |
actions()
Gets the actions.
|
Map<String,Object> |
asPatch()
Construct a JSON merge-patch from the UpdateDialogNode.
|
String |
conditions()
Gets the conditions.
|
DialogNodeContext |
context()
Gets the context.
|
Date |
created()
Gets the created.
|
String |
description()
Gets the description.
|
String |
dialogNode()
Gets the dialogNode.
|
String |
digressIn()
Gets the digressIn.
|
String |
digressOut()
Gets the digressOut.
|
String |
digressOutSlots()
Gets the digressOutSlots.
|
Boolean |
disabled()
Gets the disabled.
|
Boolean |
disambiguationOptOut()
Gets the disambiguationOptOut.
|
String |
eventName()
Gets the eventName.
|
Map<String,Object> |
metadata()
Gets the metadata.
|
UpdateDialogNode.Builder |
newBuilder()
New builder.
|
DialogNodeNextStep |
nextStep()
Gets the nextStep.
|
DialogNodeOutput |
output()
Gets the output.
|
String |
parent()
Gets the parent.
|
String |
previousSibling()
Gets the previousSibling.
|
String |
title()
Gets the title.
|
String |
toString() |
String |
type()
Gets the type.
|
Date |
updated()
Gets the updated.
|
String |
userLabel()
Gets the userLabel.
|
String |
variable()
Gets the variable.
|
public UpdateDialogNode.Builder newBuilder()
public String 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.
public String description()
The description of the dialog node. This string cannot contain carriage return, newline, or tab characters.
public String conditions()
The condition that will trigger the dialog node. This string cannot contain carriage return, newline, or tab characters.
public String parent()
The unique ID of the parent dialog node. This property is omitted if the dialog node has no parent.
public String previousSibling()
The unique 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 DialogNodeContext context()
The context for the dialog node.
public Map<String,Object> metadata()
The metadata for the dialog node.
public DialogNodeNextStep nextStep()
The next step to execute following this dialog node.
public String 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.
public String type()
How the dialog node is processed.
public String eventName()
How an `event_handler` node is processed.
public String variable()
The location in the dialog context where output is stored.
public List<DialogNodeAction> actions()
An array of objects describing any actions to be invoked by the dialog node.
public String digressIn()
Whether this top-level dialog node can be digressed into.
public String digressOut()
Whether this dialog node can be returned to after a digression.
public String digressOutSlots()
Whether the user can digress to top-level nodes while filling out slots.
public String 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).
public Boolean disambiguationOptOut()
Whether the dialog node should be excluded from disambiguation suggestions. Valid only when **type**=`standard` or `frame`.
public Boolean disabled()
For internal use only.
public Date created()
The timestamp for creation of the object.
public Date updated()
The timestamp for the most recent update to the object.
public Map<String,Object> asPatch()
Note that properties of the UpdateDialogNode with null values are not represented in the constructed JSON merge-patch object, but can be explicitly set afterward to signify a property delete.
public String toString()
toString
in interface com.ibm.cloud.sdk.core.service.model.ObjectModel
toString
in class com.ibm.cloud.sdk.core.service.model.GenericModel
Copyright © 2024 IBM Cloud. All rights reserved.