java.lang.Object
com.ibm.cloud.sdk.core.service.model.GenericModel
com.ibm.watson.assistant.v1.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

    • getRequest

      public MessageRequest getRequest()
      Gets the request.

      A request sent to the workspace, including the user input and context.

      Returns:
      the request
    • getResponse

      public MessageResponse getResponse()
      Gets the response.

      The response sent by the workspace, including the output text, detected intents and entities, and context.

      Returns:
      the response
    • getLogId

      public String getLogId()
      Gets the logId.

      A unique identifier for the logged event.

      Returns:
      the logId
    • 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
    • getWorkspaceId

      public String getWorkspaceId()
      Gets the workspaceId.

      The unique identifier of the workspace where the request was made.

      Returns:
      the workspaceId
    • getLanguage

      public String getLanguage()
      Gets the language.

      The language of the workspace where the message request was made.

      Returns:
      the language