public class MessageInput
extends com.ibm.cloud.sdk.core.service.model.GenericModel
Modifier and Type | Class and Description |
---|---|
static class |
MessageInput.Builder
Builder.
|
static interface |
MessageInput.MessageType
The type of user input.
|
Modifier and Type | Field and Description |
---|---|
protected java.util.List<RuntimeEntity> |
entities |
protected java.util.List<RuntimeIntent> |
intents |
protected java.lang.String |
messageType |
protected MessageInputOptions |
options |
protected java.lang.String |
suggestionId |
protected java.lang.String |
text |
Modifier | Constructor and Description |
---|---|
protected |
MessageInput(MessageInput.Builder builder) |
Modifier and Type | Method and Description |
---|---|
java.util.List<RuntimeEntity> |
entities()
Gets the entities.
|
java.util.List<RuntimeIntent> |
intents()
Gets the intents.
|
java.lang.String |
messageType()
Gets the messageType.
|
MessageInput.Builder |
newBuilder()
New builder.
|
MessageInputOptions |
options()
Gets the options.
|
java.lang.String |
suggestionId()
Gets the suggestionId.
|
java.lang.String |
text()
Gets the text.
|
@SerializedName(value="message_type") protected java.lang.String messageType
protected java.lang.String text
protected MessageInputOptions options
protected java.util.List<RuntimeIntent> intents
protected java.util.List<RuntimeEntity> entities
@SerializedName(value="suggestion_id") protected java.lang.String suggestionId
protected MessageInput(MessageInput.Builder builder)
public MessageInput.Builder newBuilder()
public java.lang.String messageType()
public java.lang.String text()
public MessageInputOptions options()
public java.util.List<RuntimeIntent> intents()
public java.util.List<RuntimeEntity> entities()
public java.lang.String suggestionId()