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 | Method and Description |
---|---|
Boolean |
includeAudit()
Gets the includeAudit.
|
String |
intent()
Gets the intent.
|
List<Mention> |
mentions()
Gets the mentions.
|
CreateExampleOptions.Builder |
newBuilder()
New builder.
|
String |
text()
Gets the text.
|
String |
workspaceId()
Gets the workspaceId.
|
public CreateExampleOptions.Builder newBuilder()
public String workspaceId()
Unique identifier of the workspace.
public String intent()
The intent name.
public 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 List<Mention> mentions()
An array of contextual entity mentions.
public Boolean includeAudit()
Whether to include the audit properties (`created` and `updated` timestamps) in the response.
Copyright © 2021 IBM Cloud. All rights reserved.