public class Log
extends com.ibm.cloud.sdk.core.service.model.GenericModel
Modifier and Type | Field and Description |
---|---|
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 |
workspaceId |
Constructor and Description |
---|
Log() |
Modifier and Type | Method and Description |
---|---|
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 |
getWorkspaceId()
Gets the workspaceId.
|
protected MessageRequest request
protected MessageResponse response
@SerializedName(value="log_id") protected java.lang.String logId
@SerializedName(value="request_timestamp") protected java.lang.String requestTimestamp
@SerializedName(value="response_timestamp") protected java.lang.String responseTimestamp
@SerializedName(value="workspace_id") protected java.lang.String workspaceId
protected java.lang.String language
public MessageRequest getRequest()
A request sent to the workspace, including the user input and context.
public MessageResponse getResponse()
The response sent by the workspace, including the output text, detected intents and entities, and context.
public java.lang.String getLogId()
A unique identifier for the logged event.
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 getWorkspaceId()
The unique identifier of the workspace where the request was made.
public java.lang.String getLanguage()
The language of the workspace where the message request was made.