public class CreateWorkspaceOptions
extends com.ibm.cloud.sdk.core.service.model.GenericModel
Modifier and Type | Class and Description |
---|---|
static class |
CreateWorkspaceOptions.Builder
Builder.
|
Modifier and Type | Field and Description |
---|---|
protected java.util.List<Counterexample> |
counterexamples |
protected java.lang.String |
description |
protected java.util.List<DialogNode> |
dialogNodes |
protected java.util.List<CreateEntity> |
entities |
protected java.lang.Boolean |
includeAudit |
protected java.util.List<CreateIntent> |
intents |
protected java.lang.String |
language |
protected java.lang.Boolean |
learningOptOut |
protected java.util.Map<java.lang.String,java.lang.Object> |
metadata |
protected java.lang.String |
name |
protected WorkspaceSystemSettings |
systemSettings |
protected java.util.List<Webhook> |
webhooks |
Modifier | Constructor and Description |
---|---|
protected |
CreateWorkspaceOptions(CreateWorkspaceOptions.Builder builder) |
Modifier and Type | Method and Description |
---|---|
java.util.List<Counterexample> |
counterexamples()
Gets the counterexamples.
|
java.lang.String |
description()
Gets the description.
|
java.util.List<DialogNode> |
dialogNodes()
Gets the dialogNodes.
|
java.util.List<CreateEntity> |
entities()
Gets the entities.
|
java.lang.Boolean |
includeAudit()
Gets the includeAudit.
|
java.util.List<CreateIntent> |
intents()
Gets the intents.
|
java.lang.String |
language()
Gets the language.
|
java.lang.Boolean |
learningOptOut()
Gets the learningOptOut.
|
java.util.Map<java.lang.String,java.lang.Object> |
metadata()
Gets the metadata.
|
java.lang.String |
name()
Gets the name.
|
CreateWorkspaceOptions.Builder |
newBuilder()
New builder.
|
WorkspaceSystemSettings |
systemSettings()
Gets the systemSettings.
|
java.util.List<Webhook> |
webhooks()
Gets the webhooks.
|
protected java.lang.String name
protected java.lang.String description
protected java.lang.String language
protected java.util.Map<java.lang.String,java.lang.Object> metadata
protected java.lang.Boolean learningOptOut
protected WorkspaceSystemSettings systemSettings
protected java.util.List<CreateIntent> intents
protected java.util.List<CreateEntity> entities
protected java.util.List<DialogNode> dialogNodes
protected java.util.List<Counterexample> counterexamples
protected java.util.List<Webhook> webhooks
protected java.lang.Boolean includeAudit
protected CreateWorkspaceOptions(CreateWorkspaceOptions.Builder builder)
public CreateWorkspaceOptions.Builder newBuilder()
public java.lang.String name()
The name of the workspace. This string cannot contain carriage return, newline, or tab characters.
public java.lang.String description()
The description of the workspace. This string cannot contain carriage return, newline, or tab characters.
public java.lang.String language()
The language of the workspace.
public java.util.Map<java.lang.String,java.lang.Object> metadata()
Any metadata related to the workspace.
public java.lang.Boolean learningOptOut()
Whether training data from the workspace (including artifacts such as intents and entities) can be used by IBM for general service improvements. `true` indicates that workspace training data is not to be used.
public WorkspaceSystemSettings systemSettings()
Global settings for the workspace.
public java.util.List<CreateIntent> intents()
An array of objects defining the intents for the workspace.
public java.util.List<CreateEntity> entities()
An array of objects describing the entities for the workspace.
public java.util.List<DialogNode> dialogNodes()
An array of objects describing the dialog nodes in the workspace.
public java.util.List<Counterexample> counterexamples()
An array of objects defining input examples that have been marked as irrelevant input.
public java.util.List<Webhook> webhooks()
public java.lang.Boolean includeAudit()
Whether to include the audit properties (`created` and `updated` timestamps) in the response.