public class Utterance
extends com.ibm.cloud.sdk.core.service.model.GenericModel
Modifier and Type | Class and Description |
---|---|
static class |
Utterance.Builder
Builder.
|
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
text |
protected java.lang.String |
user |
Modifier | Constructor and Description |
---|---|
protected |
Utterance(Utterance.Builder builder) |
Modifier and Type | Method and Description |
---|---|
Utterance.Builder |
newBuilder()
New builder.
|
java.lang.String |
text()
Gets the text.
|
java.lang.String |
user()
Gets the user.
|
protected Utterance(Utterance.Builder builder)
public Utterance.Builder newBuilder()
public java.lang.String text()
An utterance contributed by a user in the conversation that is to be analyzed. The utterance can contain multiple sentences.
public java.lang.String user()
A string that identifies the user who contributed the utterance specified by the `text` parameter.