Class MessageOutput

java.lang.Object
com.ibm.cloud.sdk.core.service.model.GenericModel
com.ibm.watson.assistant.v2.model.MessageOutput
All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel

public class MessageOutput
extends com.ibm.cloud.sdk.core.service.model.GenericModel
Assistant output to be rendered or processed by the client.
  • Constructor Details

    • MessageOutput

      public MessageOutput()
  • Method Details

    • getGeneric

      public List<RuntimeResponseGeneric> getGeneric()
      Gets the generic.

      Output intended for any channel. It is the responsibility of the client application to implement the supported response types.

      Returns:
      the generic
    • getIntents

      public List<RuntimeIntent> getIntents()
      Gets the intents.

      An array of intents recognized in the user input, sorted in descending order of confidence.

      Returns:
      the intents
    • getEntities

      public List<RuntimeEntity> getEntities()
      Gets the entities.

      An array of entities identified in the user input.

      Returns:
      the entities
    • getActions

      public List<DialogNodeAction> getActions()
      Gets the actions.

      An array of objects describing any actions requested by the dialog node.

      Returns:
      the actions
    • getDebug

      public MessageOutputDebug getDebug()
      Gets the debug.

      Additional detailed information about a message response and how it was generated.

      Returns:
      the debug
    • getUserDefined

      public Map<String,​Object> getUserDefined()
      Gets the userDefined.

      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.

      Returns:
      the userDefined
    • getSpelling

      public MessageOutputSpelling getSpelling()
      Gets the spelling.

      Properties describing any spelling corrections in the user input that was received.

      Returns:
      the spelling