public class UpdateIntentOptions
extends com.ibm.cloud.sdk.core.service.model.GenericModel
Modifier and Type | Class and Description |
---|---|
static class |
UpdateIntentOptions.Builder
Builder.
|
Modifier and Type | Field and Description |
---|---|
protected java.lang.Boolean |
append |
protected java.lang.Boolean |
includeAudit |
protected java.lang.String |
intent |
protected java.lang.String |
newDescription |
protected java.util.List<Example> |
newExamples |
protected java.lang.String |
newIntent |
protected java.lang.String |
workspaceId |
Modifier | Constructor and Description |
---|---|
protected |
UpdateIntentOptions(UpdateIntentOptions.Builder builder) |
Modifier and Type | Method and Description |
---|---|
java.lang.Boolean |
append()
Gets the append.
|
java.lang.Boolean |
includeAudit()
Gets the includeAudit.
|
java.lang.String |
intent()
Gets the intent.
|
UpdateIntentOptions.Builder |
newBuilder()
New builder.
|
java.lang.String |
newDescription()
Gets the newDescription.
|
java.util.List<Example> |
newExamples()
Gets the newExamples.
|
java.lang.String |
newIntent()
Gets the newIntent.
|
java.lang.String |
workspaceId()
Gets the workspaceId.
|
protected java.lang.String workspaceId
protected java.lang.String intent
protected java.lang.String newIntent
protected java.lang.String newDescription
protected java.util.List<Example> newExamples
protected java.lang.Boolean append
protected java.lang.Boolean includeAudit
protected UpdateIntentOptions(UpdateIntentOptions.Builder builder)
public UpdateIntentOptions.Builder newBuilder()
public java.lang.String workspaceId()
Unique identifier of the workspace.
public java.lang.String intent()
The intent name.
public java.lang.String newIntent()
The name of the intent. This string must conform to the following restrictions: - It can contain only Unicode alphanumeric, underscore, hyphen, and dot characters. - It cannot begin with the reserved prefix `sys-`.
public java.lang.String newDescription()
The description of the intent. This string cannot contain carriage return, newline, or tab characters.
public java.util.List<Example> newExamples()
An array of user input examples for the intent.
public java.lang.Boolean append()
Whether the new data is to be appended to the existing data in the object. If **append**=`false`, elements included in the new data completely replace the corresponding existing elements, including all subelements. For example, if the new data for the intent includes **examples** and **append**=`false`, all existing examples for the intent are discarded and replaced with the new examples.
If **append**=`true`, existing elements are preserved, and the new elements are added. If any elements in the new data collide with existing elements, the update request fails.
public java.lang.Boolean includeAudit()
Whether to include the audit properties (`created` and `updated` timestamps) in the response.