public class CreateIntentOptions
extends com.ibm.cloud.sdk.core.service.model.GenericModel
Modifier and Type | Class and Description |
---|---|
static class |
CreateIntentOptions.Builder
Builder.
|
Modifier and Type | Method and Description |
---|---|
String |
description()
Gets the description.
|
List<Example> |
examples()
Gets the examples.
|
Boolean |
includeAudit()
Gets the includeAudit.
|
String |
intent()
Gets the intent.
|
CreateIntentOptions.Builder |
newBuilder()
New builder.
|
String |
workspaceId()
Gets the workspaceId.
|
public CreateIntentOptions.Builder newBuilder()
public String workspaceId()
Unique identifier of the workspace.
public String intent()
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 description()
The description of the intent. This string cannot contain carriage return, newline, or tab characters.
public List<Example> examples()
An array of user input examples for the intent.
public Boolean includeAudit()
Whether to include the audit properties (`created` and `updated` timestamps) in the response.
Copyright © 2024 IBM Cloud. All rights reserved.