public class MessageOutput
extends com.ibm.cloud.sdk.core.service.model.GenericModel
Modifier and Type | Field and Description |
---|---|
protected java.util.List<DialogNodeAction> |
actions |
protected MessageOutputDebug |
debug |
protected java.util.List<RuntimeEntity> |
entities |
protected java.util.List<RuntimeResponseGeneric> |
generic |
protected java.util.List<RuntimeIntent> |
intents |
protected MessageOutputSpelling |
spelling |
protected java.util.Map<java.lang.String,java.lang.Object> |
userDefined |
Constructor and Description |
---|
MessageOutput() |
Modifier and Type | Method and Description |
---|---|
java.util.List<DialogNodeAction> |
getActions()
Gets the actions.
|
MessageOutputDebug |
getDebug()
Gets the debug.
|
java.util.List<RuntimeEntity> |
getEntities()
Gets the entities.
|
java.util.List<RuntimeResponseGeneric> |
getGeneric()
Gets the generic.
|
java.util.List<RuntimeIntent> |
getIntents()
Gets the intents.
|
MessageOutputSpelling |
getSpelling()
Gets the spelling.
|
java.util.Map<java.lang.String,java.lang.Object> |
getUserDefined()
Gets the userDefined.
|
protected java.util.List<RuntimeResponseGeneric> generic
protected java.util.List<RuntimeIntent> intents
protected java.util.List<RuntimeEntity> entities
protected java.util.List<DialogNodeAction> actions
protected MessageOutputDebug debug
@SerializedName(value="user_defined") protected java.util.Map<java.lang.String,java.lang.Object> userDefined
protected MessageOutputSpelling spelling
public java.util.List<RuntimeResponseGeneric> getGeneric()
Output intended for any channel. It is the responsibility of the client application to implement the supported response types.
public java.util.List<RuntimeIntent> getIntents()
An array of intents recognized in the user input, sorted in descending order of confidence.
public java.util.List<RuntimeEntity> getEntities()
An array of entities identified in the user input.
public java.util.List<DialogNodeAction> getActions()
An array of objects describing any actions requested by the dialog node.
public MessageOutputDebug getDebug()
Additional detailed information about a message response and how it was generated.
public java.util.Map<java.lang.String,java.lang.Object> getUserDefined()
An object containing any custom properties included in the response. This object includes any arbitrary properties defined in the dialog JSON editor as part of the dialog node output.
public MessageOutputSpelling getSpelling()
Properties describing any spelling corrections in the user input that was received.