public class MessageInputOptions
extends com.ibm.cloud.sdk.core.service.model.GenericModel
Modifier and Type | Class and Description |
---|---|
static class |
MessageInputOptions.Builder
Builder.
|
Modifier and Type | Field and Description |
---|---|
protected java.lang.Boolean |
alternateIntents |
protected java.lang.Boolean |
debug |
protected java.lang.Boolean |
export |
protected java.lang.Boolean |
restart |
protected java.lang.Boolean |
returnContext |
protected MessageInputOptionsSpelling |
spelling |
Modifier | Constructor and Description |
---|---|
protected |
MessageInputOptions(MessageInputOptions.Builder builder) |
Modifier and Type | Method and Description |
---|---|
java.lang.Boolean |
alternateIntents()
Gets the alternateIntents.
|
java.lang.Boolean |
debug()
Gets the debug.
|
java.lang.Boolean |
export()
Gets the export.
|
MessageInputOptions.Builder |
newBuilder()
New builder.
|
java.lang.Boolean |
restart()
Gets the restart.
|
java.lang.Boolean |
returnContext()
Gets the returnContext.
|
MessageInputOptionsSpelling |
spelling()
Gets the spelling.
|
protected java.lang.Boolean restart
@SerializedName(value="alternate_intents") protected java.lang.Boolean alternateIntents
protected MessageInputOptionsSpelling spelling
protected java.lang.Boolean debug
@SerializedName(value="return_context") protected java.lang.Boolean returnContext
protected java.lang.Boolean export
protected MessageInputOptions(MessageInputOptions.Builder builder)
public MessageInputOptions.Builder newBuilder()
public java.lang.Boolean restart()
Whether to restart dialog processing at the root of the dialog, regardless of any previously visited nodes. **Note:** This does not affect `turn_count` or any other context variables.
public java.lang.Boolean alternateIntents()
Whether to return more than one intent. Set to `true` to return all matching intents.
public MessageInputOptionsSpelling spelling()
Spelling correction options for the message. Any options specified on an individual message override the settings configured for the skill.
public java.lang.Boolean debug()
Whether to return additional diagnostic information. Set to `true` to return additional information in the `output.debug` property. If you also specify **return_context**=`true`, the returned skill context includes the `system.state` property.
public java.lang.Boolean returnContext()
Whether to return session context with the response. If you specify `true`, the response includes the `context` property. If you also specify **debug**=`true`, the returned skill context includes the `system.state` property.
public java.lang.Boolean export()
Whether to return session context, including full conversation state. If you specify `true`, the response includes the `context` property, and the skill context includes the `system.state` property.
**Note:** If **export**=`true`, the context is returned regardless of the value of **return_context**.