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

public class Log
extends com.ibm.cloud.sdk.core.service.model.GenericModel
Log.
  • Constructor Details

    • Log

      public Log()
  • Method Details

    • getLogId

      public String getLogId()
      Gets the logId.

      A unique identifier for the logged event.

      Returns:
      the logId
    • getRequest

      public MessageRequest getRequest()
      Gets the request.

      A stateful message request formatted for the Watson Assistant service.

      Returns:
      the request
    • getResponse

      public MessageResponse getResponse()
      Gets the response.

      A response from the Watson Assistant service.

      Returns:
      the response
    • getAssistantId

      public String getAssistantId()
      Gets the assistantId.

      Unique identifier of the assistant.

      Returns:
      the assistantId
    • getSessionId

      public String getSessionId()
      Gets the sessionId.

      The ID of the session the message was part of.

      Returns:
      the sessionId
    • getSkillId

      public String getSkillId()
      Gets the skillId.

      The unique identifier of the skill that responded to the message.

      Returns:
      the skillId
    • getSnapshot

      public String getSnapshot()
      Gets the snapshot.

      The name of the snapshot (dialog skill version) that responded to the message (for example, `draft`).

      Returns:
      the snapshot
    • getRequestTimestamp

      public String getRequestTimestamp()
      Gets the requestTimestamp.

      The timestamp for receipt of the message.

      Returns:
      the requestTimestamp
    • getResponseTimestamp

      public String getResponseTimestamp()
      Gets the responseTimestamp.

      The timestamp for the system response to the message.

      Returns:
      the responseTimestamp
    • getLanguage

      public String getLanguage()
      Gets the language.

      The language of the assistant to which the message request was made.

      Returns:
      the language
    • getCustomerId

      public String getCustomerId()
      Gets the customerId.

      The customer ID specified for the message, if any.

      Returns:
      the customerId