public class Example
extends com.ibm.cloud.sdk.core.service.model.GenericModel
Modifier and Type | Class and Description |
---|---|
static class |
Example.Builder
Builder.
|
Modifier and Type | Field and Description |
---|---|
protected java.util.Date |
created |
protected java.util.List<Mention> |
mentions |
protected java.lang.String |
text |
protected java.util.Date |
updated |
Modifier | Constructor and Description |
---|---|
protected |
Example(Example.Builder builder) |
Modifier and Type | Method and Description |
---|---|
java.util.Date |
created()
Gets the created.
|
java.util.List<Mention> |
mentions()
Gets the mentions.
|
Example.Builder |
newBuilder()
New builder.
|
java.lang.String |
text()
Gets the text.
|
java.util.Date |
updated()
Gets the updated.
|
protected java.lang.String text
protected java.util.List<Mention> mentions
protected java.util.Date created
protected java.util.Date updated
protected Example(Example.Builder builder)
public Example.Builder newBuilder()
public java.lang.String text()
The text of a user input example. This string must conform to the following restrictions: - It cannot contain carriage return, newline, or tab characters. - It cannot consist of only whitespace characters.
public java.util.List<Mention> mentions()
An array of contextual entity mentions.
public java.util.Date created()
The timestamp for creation of the object.
public java.util.Date updated()
The timestamp for the most recent update to the object.