Class Log
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 Summary
Constructors Constructor Description Log() -
Method Summary
Modifier and Type Method Description StringgetLanguage()Gets the language.StringgetLogId()Gets the logId.MessageRequestgetRequest()Gets the request.StringgetRequestTimestamp()Gets the requestTimestamp.MessageResponsegetResponse()Gets the response.StringgetResponseTimestamp()Gets the responseTimestamp.StringgetWorkspaceId()Gets the workspaceId.Methods inherited from class com.ibm.cloud.sdk.core.service.model.GenericModel
equals, hashCode, toString
-
Constructor Details
-
Log
public Log()
-
-
Method Details
-
getRequest
Gets the request.A request sent to the workspace, including the user input and context.
- Returns:
- the request
-
getResponse
Gets the response.The response sent by the workspace, including the output text, detected intents and entities, and context.
- Returns:
- the response
-
getLogId
Gets the logId.A unique identifier for the logged event.
- Returns:
- the logId
-
getRequestTimestamp
Gets the requestTimestamp.The timestamp for receipt of the message.
- Returns:
- the requestTimestamp
-
getResponseTimestamp
Gets the responseTimestamp.The timestamp for the system response to the message.
- Returns:
- the responseTimestamp
-
getWorkspaceId
Gets the workspaceId.The unique identifier of the workspace where the request was made.
- Returns:
- the workspaceId
-
getLanguage
Gets the language.The language of the workspace where the message request was made.
- Returns:
- the language
-