Class Log
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 Summary
Constructors Constructor Description Log()
-
Method Summary
Modifier and Type Method Description String
getAssistantId()
Gets the assistantId.String
getCustomerId()
Gets the customerId.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
getSessionId()
Gets the sessionId.String
getSkillId()
Gets the skillId.String
getSnapshot()
Gets the snapshot.Methods inherited from class com.ibm.cloud.sdk.core.service.model.GenericModel
equals, hashCode, toString
-
Constructor Details
-
Log
public Log()
-
-
Method Details
-
getLogId
Gets the logId.A unique identifier for the logged event.
- Returns:
- the logId
-
getRequest
Gets the request.A stateful message request formatted for the Watson Assistant service.
- Returns:
- the request
-
getResponse
Gets the response.A response from the Watson Assistant service.
- Returns:
- the response
-
getAssistantId
Gets the assistantId.Unique identifier of the assistant.
- Returns:
- the assistantId
-
getSessionId
Gets the sessionId.The ID of the session the message was part of.
- Returns:
- the sessionId
-
getSkillId
Gets the skillId.The unique identifier of the skill that responded to the message.
- Returns:
- the skillId
-
getSnapshot
Gets the snapshot.The name of the snapshot (dialog skill version) that responded to the message (for example, `draft`).
- Returns:
- the snapshot
-
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
-
getLanguage
Gets the language.The language of the assistant to which the message request was made.
- Returns:
- the language
-
getCustomerId
Gets the customerId.The customer ID specified for the message, if any.
- Returns:
- the customerId
-