public class Context
extends com.ibm.cloud.sdk.core.service.model.DynamicModel<java.lang.Object>
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
conversationId |
protected MessageContextMetadata |
metadata |
protected SystemResponse |
system |
Constructor and Description |
---|
Context() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getConversationId()
Gets the conversationId.
|
MessageContextMetadata |
getMetadata()
Gets the metadata.
|
SystemResponse |
getSystem()
Gets the system.
|
void |
setConversationId(java.lang.String conversationId)
Sets the conversationId.
|
void |
setMetadata(MessageContextMetadata metadata)
Sets the metadata.
|
void |
setSystem(SystemResponse system)
Sets the system.
|
@SerializedName(value="conversation_id") protected java.lang.String conversationId
@SerializedName(value="system") protected SystemResponse system
@SerializedName(value="metadata") protected MessageContextMetadata metadata
public java.lang.String getConversationId()
The unique identifier of the conversation.
public void setConversationId(java.lang.String conversationId)
conversationId
- the new conversationIdpublic SystemResponse getSystem()
For internal use only.
public void setSystem(SystemResponse system)
system
- the new systempublic MessageContextMetadata getMetadata()
Metadata related to the message.
public void setMetadata(MessageContextMetadata metadata)
metadata
- the new metadata