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 | Method and Description |
---|---|
Boolean |
append()
Gets the append.
|
List<Counterexample> |
counterexamples()
Gets the counterexamples.
|
String |
description()
Gets the description.
|
List<DialogNode> |
dialogNodes()
Gets the dialogNodes.
|
List<CreateEntity> |
entities()
Gets the entities.
|
Boolean |
includeAudit()
Gets the includeAudit.
|
List<CreateIntent> |
intents()
Gets the intents.
|
String |
language()
Gets the language.
|
Boolean |
learningOptOut()
Gets the learningOptOut.
|
Map<String,Object> |
metadata()
Gets the metadata.
|
String |
name()
Gets the name.
|
UpdateWorkspaceOptions.Builder |
newBuilder()
New builder.
|
WorkspaceSystemSettings |
systemSettings()
Gets the systemSettings.
|
List<Webhook> |
webhooks()
Gets the webhooks.
|
String |
workspaceId()
Gets the workspaceId.
|
public UpdateWorkspaceOptions.Builder newBuilder()
public String workspaceId()
Unique identifier of the workspace.
public String name()
The name of the workspace. This string cannot contain carriage return, newline, or tab characters.
public String description()
The description of the workspace. This string cannot contain carriage return, newline, or tab characters.
public String language()
The language of the workspace.
public List<DialogNode> dialogNodes()
An array of objects describing the dialog nodes in the workspace.
public List<Counterexample> counterexamples()
An array of objects defining input examples that have been marked as irrelevant input.
public Map<String,Object> metadata()
Any metadata related to the workspace.
public 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 List<CreateIntent> intents()
An array of objects defining the intents for the workspace.
public List<CreateEntity> entities()
An array of objects describing the entities for the workspace.
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 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 Boolean includeAudit()
Whether to include the audit properties (`created` and `updated` timestamps) in the response.
Copyright © 2021 IBM Cloud. All rights reserved.