public class MessageContextSkillSystem
extends com.ibm.cloud.sdk.core.service.model.DynamicModel<java.lang.Object>
Modifier and Type | Class and Description |
---|---|
static class |
MessageContextSkillSystem.Builder
Builder.
|
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
state |
Modifier | Constructor and Description |
---|---|
|
MessageContextSkillSystem() |
protected |
MessageContextSkillSystem(MessageContextSkillSystem.Builder builder) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getState()
Gets the state.
|
MessageContextSkillSystem.Builder |
newBuilder()
New builder.
|
void |
setState(java.lang.String state)
Sets the state.
|
public MessageContextSkillSystem()
protected MessageContextSkillSystem(MessageContextSkillSystem.Builder builder)
public MessageContextSkillSystem.Builder newBuilder()
public java.lang.String getState()
An encoded string that represents the current conversation state. By saving this value and then sending it in the context of a subsequent message request, you can return to an earlier point in the conversation. If you are using stateful sessions, you can also use a stored state value to restore a paused conversation whose session is expired.
public void setState(java.lang.String state)
state
- the new state