Class MessageContextSkillSystem
java.lang.Object
com.ibm.cloud.sdk.core.service.model.DynamicModel<Object>
com.ibm.watson.assistant.v2.model.MessageContextSkillSystem
- All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel
public class MessageContextSkillSystem extends com.ibm.cloud.sdk.core.service.model.DynamicModel<Object>
System context data used by the skill.
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
MessageContextSkillSystem.Builder
Builder. -
Constructor Summary
Constructors Constructor Description MessageContextSkillSystem()
-
Method Summary
Modifier and Type Method Description String
getState()
Gets the state.MessageContextSkillSystem.Builder
newBuilder()
New builder.void
setState(String state)
Sets the state.Methods inherited from class com.ibm.cloud.sdk.core.service.model.DynamicModel
equals, get, getAdditionalPropertyTypeToken, getProperties, getPropertyNames, hashCode, put, removeProperties, removeProperty, setProperties, toString
-
Constructor Details
-
MessageContextSkillSystem
public MessageContextSkillSystem()
-
-
Method Details
-
newBuilder
New builder.- Returns:
- a MessageContextSkillSystem builder
-
getState
Gets the state.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.
- Returns:
- the state
-
setState
Sets the state.- Parameters:
state
- the new state
-