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 String
getLanguage()
Gets the language.String
getLogId()
Gets the logId.MessageRequest
getRequest()
Gets the request.String
getRequestTimestamp()
Gets the requestTimestamp.MessageResponse
getResponse()
Gets the response.String
getResponseTimestamp()
Gets the responseTimestamp.String
getWorkspaceId()
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
-