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