Class MessageContext

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

public class MessageContext
extends com.ibm.cloud.sdk.core.service.model.GenericModel
MessageContext.
  • Method Details

    • newBuilder

      public MessageContext.Builder newBuilder()
      New builder.
      Returns:
      a MessageContext builder
    • global

      public MessageContextGlobal global()
      Gets the global.

      Session context data that is shared by all skills used by the Assistant.

      Returns:
      the global
    • skills

      public Map<String,​MessageContextSkill> skills()
      Gets the skills.

      Information specific to particular skills used by the assistant.

      **Note:** Currently, only a single child property is supported, containing variables that apply to the dialog skill used by the assistant.

      Returns:
      the skills