public class Log
extends com.ibm.cloud.sdk.core.service.model.GenericModel
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
assistantId |
protected java.lang.String |
customerId |
protected java.lang.String |
language |
protected java.lang.String |
logId |
protected MessageRequest |
request |
protected java.lang.String |
requestTimestamp |
protected MessageResponse |
response |
protected java.lang.String |
responseTimestamp |
protected java.lang.String |
sessionId |
protected java.lang.String |
skillId |
protected java.lang.String |
snapshot |
Constructor and Description |
---|
Log() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getAssistantId()
Gets the assistantId.
|
java.lang.String |
getCustomerId()
Gets the customerId.
|
java.lang.String |
getLanguage()
Gets the language.
|
java.lang.String |
getLogId()
Gets the logId.
|
MessageRequest |
getRequest()
Gets the request.
|
java.lang.String |
getRequestTimestamp()
Gets the requestTimestamp.
|
MessageResponse |
getResponse()
Gets the response.
|
java.lang.String |
getResponseTimestamp()
Gets the responseTimestamp.
|
java.lang.String |
getSessionId()
Gets the sessionId.
|
java.lang.String |
getSkillId()
Gets the skillId.
|
java.lang.String |
getSnapshot()
Gets the snapshot.
|
@SerializedName(value="log_id") protected java.lang.String logId
protected MessageRequest request
protected MessageResponse response
@SerializedName(value="assistant_id") protected java.lang.String assistantId
@SerializedName(value="session_id") protected java.lang.String sessionId
@SerializedName(value="skill_id") protected java.lang.String skillId
protected java.lang.String snapshot
@SerializedName(value="request_timestamp") protected java.lang.String requestTimestamp
@SerializedName(value="response_timestamp") protected java.lang.String responseTimestamp
protected java.lang.String language
@SerializedName(value="customer_id") protected java.lang.String customerId
public java.lang.String getLogId()
A unique identifier for the logged event.
public MessageRequest getRequest()
A stateful message request formatted for the Watson Assistant service.
public MessageResponse getResponse()
A response from the Watson Assistant service.
public java.lang.String getAssistantId()
Unique identifier of the assistant.
public java.lang.String getSessionId()
The ID of the session the message was part of.
public java.lang.String getSkillId()
The unique identifier of the skill that responded to the message.
public java.lang.String getSnapshot()
The name of the snapshot (dialog skill version) that responded to the message (for example, `draft`).
public java.lang.String getRequestTimestamp()
The timestamp for receipt of the message.
public java.lang.String getResponseTimestamp()
The timestamp for the system response to the message.
public java.lang.String getLanguage()
The language of the assistant to which the message request was made.
public java.lang.String getCustomerId()
The customer ID specified for the message, if any.