public class CreateExampleOptions
extends com.ibm.cloud.sdk.core.service.model.GenericModel
Modifier and Type | Class and Description |
---|---|
static class |
CreateExampleOptions.Builder
Builder.
|
Modifier and Type | Field and Description |
---|---|
protected java.lang.Boolean |
includeAudit |
protected java.lang.String |
intent |
protected java.util.List<Mention> |
mentions |
protected java.lang.String |
text |
protected java.lang.String |
workspaceId |
Modifier | Constructor and Description |
---|---|
protected |
CreateExampleOptions(CreateExampleOptions.Builder builder) |
Modifier and Type | Method and Description |
---|---|
java.lang.Boolean |
includeAudit()
Gets the includeAudit.
|
java.lang.String |
intent()
Gets the intent.
|
java.util.List<Mention> |
mentions()
Gets the mentions.
|
CreateExampleOptions.Builder |
newBuilder()
New builder.
|
java.lang.String |
text()
Gets the text.
|
java.lang.String |
workspaceId()
Gets the workspaceId.
|
protected java.lang.String workspaceId
protected java.lang.String intent
protected java.lang.String text
protected java.util.List<Mention> mentions
protected java.lang.Boolean includeAudit
protected CreateExampleOptions(CreateExampleOptions.Builder builder)
public CreateExampleOptions.Builder newBuilder()
public java.lang.String workspaceId()
Unique identifier of the workspace.
public java.lang.String intent()
The intent name.
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.lang.Boolean includeAudit()
Whether to include the audit properties (`created` and `updated` timestamps) in the response.