public class OutputData extends com.ibm.cloud.sdk.core.service.model.DynamicModel<Object>
Modifier and Type | Class and Description |
---|---|
static class |
OutputData.Builder
Builder.
|
Constructor and Description |
---|
OutputData() |
Modifier and Type | Method and Description |
---|---|
List<RuntimeResponseGeneric> |
getGeneric()
Gets the generic.
|
List<LogMessage> |
getLogMessages()
Gets the logMessages.
|
List<String> |
getNodesVisited()
Gets the nodesVisited.
|
List<DialogNodeVisitedDetails> |
getNodesVisitedDetails()
Gets the nodesVisitedDetails.
|
List<String> |
getText()
Gets the text.
|
OutputData.Builder |
newBuilder()
New builder.
|
void |
setGeneric(List<RuntimeResponseGeneric> generic)
Sets the generic.
|
void |
setLogMessages(List<LogMessage> logMessages)
Sets the logMessages.
|
void |
setNodesVisited(List<String> nodesVisited)
Sets the nodesVisited.
|
void |
setNodesVisitedDetails(List<DialogNodeVisitedDetails> nodesVisitedDetails)
Sets the nodesVisitedDetails.
|
void |
setText(List<String> text)
Sets the text.
|
public OutputData.Builder newBuilder()
public List<String> getNodesVisited()
An array of the nodes that were triggered to create the response, in the order in which they were visited. This information is useful for debugging and for tracing the path taken through the node tree.
public void setNodesVisited(List<String> nodesVisited)
nodesVisited
- the new nodesVisitedpublic List<DialogNodeVisitedDetails> getNodesVisitedDetails()
An array of objects containing detailed diagnostic information about the nodes that were triggered during processing of the input message. Included only if **nodes_visited_details** is set to `true` in the message request.
public void setNodesVisitedDetails(List<DialogNodeVisitedDetails> nodesVisitedDetails)
nodesVisitedDetails
- the new nodesVisitedDetailspublic List<LogMessage> getLogMessages()
An array of up to 50 messages logged with the request.
public void setLogMessages(List<LogMessage> logMessages)
logMessages
- the new logMessagespublic List<String> getText()
An array of responses to the user.
public List<RuntimeResponseGeneric> getGeneric()
Output intended for any channel. It is the responsibility of the client application to implement the supported response types.
public void setGeneric(List<RuntimeResponseGeneric> generic)
generic
- the new genericCopyright © 2021 IBM Cloud. All rights reserved.