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 | Method and Description |
---|---|
Boolean |
append()
Gets the append.
|
Boolean |
includeAudit()
Gets the includeAudit.
|
String |
intent()
Gets the intent.
|
UpdateIntentOptions.Builder |
newBuilder()
New builder.
|
String |
newDescription()
Gets the newDescription.
|
List<Example> |
newExamples()
Gets the newExamples.
|
String |
newIntent()
Gets the newIntent.
|
String |
workspaceId()
Gets the workspaceId.
|
public UpdateIntentOptions.Builder newBuilder()
public String workspaceId()
Unique identifier of the workspace.
public String intent()
The intent name.
public 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 String newDescription()
The description of the intent. This string cannot contain carriage return, newline, or tab characters.
public List<Example> newExamples()
An array of user input examples for the intent.
public 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 Boolean includeAudit()
Whether to include the audit properties (`created` and `updated` timestamps) in the response.
Copyright © 2022 IBM Cloud. All rights reserved.