public class MessageContextSkillSystem extends com.ibm.cloud.sdk.core.service.model.DynamicModel<Object>
Modifier and Type | Class and Description |
---|---|
static class |
MessageContextSkillSystem.Builder
Builder.
|
Constructor and Description |
---|
MessageContextSkillSystem() |
Modifier and Type | Method and Description |
---|---|
String |
getState()
Gets the state.
|
MessageContextSkillSystem.Builder |
newBuilder()
New builder.
|
void |
setState(String state)
Sets the state.
|
public MessageContextSkillSystem.Builder newBuilder()
public 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(String state)
state
- the new stateCopyright © 2021 IBM Cloud. All rights reserved.