public class UpdateWorkspaceOptions
extends com.ibm.cloud.sdk.core.service.model.GenericModel
Modifier and Type | Class and Description |
---|---|
static class |
UpdateWorkspaceOptions.Builder
Builder.
|
Modifier and Type | Field and Description |
---|---|
protected java.lang.Boolean |
append |
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 |
protected java.lang.String |
workspaceId |
Modifier | Constructor and Description |
---|---|
protected |
UpdateWorkspaceOptions(UpdateWorkspaceOptions.Builder builder) |
Modifier and Type | Method and Description |
---|---|
java.lang.Boolean |
append()
Gets the append.
|
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.
|
UpdateWorkspaceOptions.Builder |
newBuilder()
New builder.
|
WorkspaceSystemSettings |
systemSettings()
Gets the systemSettings.
|
java.util.List<Webhook> |
webhooks()
Gets the webhooks.
|
java.lang.String |
workspaceId()
Gets the workspaceId.
|
protected java.lang.String workspaceId
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 append
protected java.lang.Boolean includeAudit
protected UpdateWorkspaceOptions(UpdateWorkspaceOptions.Builder builder)
public UpdateWorkspaceOptions.Builder newBuilder()
public java.lang.String workspaceId()
Unique identifier of the workspace.
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 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 a workspace includes **entities** and **append**=`false`, all existing entities in the workspace are discarded and replaced with the new entities.
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.