public class Workspace
extends com.ibm.cloud.sdk.core.service.model.GenericModel
Modifier and Type | Class and Description |
---|---|
static interface |
Workspace.Status
The current status of the workspace.
|
Modifier and Type | Field and Description |
---|---|
protected java.util.List<Counterexample> |
counterexamples |
protected java.util.Date |
created |
protected java.lang.String |
description |
protected java.util.List<DialogNode> |
dialogNodes |
protected java.util.List<Entity> |
entities |
protected java.util.List<Intent> |
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 java.lang.String |
status |
protected WorkspaceSystemSettings |
systemSettings |
protected java.util.Date |
updated |
protected java.util.List<Webhook> |
webhooks |
protected java.lang.String |
workspaceId |
Constructor and Description |
---|
Workspace() |
Modifier and Type | Method and Description |
---|---|
java.util.List<Counterexample> |
getCounterexamples()
Gets the counterexamples.
|
java.util.Date |
getCreated()
Gets the created.
|
java.lang.String |
getDescription()
Gets the description.
|
java.util.List<DialogNode> |
getDialogNodes()
Gets the dialogNodes.
|
java.util.List<Entity> |
getEntities()
Gets the entities.
|
java.util.List<Intent> |
getIntents()
Gets the intents.
|
java.lang.String |
getLanguage()
Gets the language.
|
java.util.Map<java.lang.String,java.lang.Object> |
getMetadata()
Gets the metadata.
|
java.lang.String |
getName()
Gets the name.
|
java.lang.String |
getStatus()
Gets the status.
|
WorkspaceSystemSettings |
getSystemSettings()
Gets the systemSettings.
|
java.util.Date |
getUpdated()
Gets the updated.
|
java.util.List<Webhook> |
getWebhooks()
Gets the webhooks.
|
java.lang.String |
getWorkspaceId()
Gets the workspaceId.
|
java.lang.Boolean |
isLearningOptOut()
Gets the learningOptOut.
|
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
@SerializedName(value="learning_opt_out") protected java.lang.Boolean learningOptOut
@SerializedName(value="system_settings") protected WorkspaceSystemSettings systemSettings
@SerializedName(value="workspace_id") protected java.lang.String workspaceId
protected java.lang.String status
protected java.util.Date created
protected java.util.Date updated
protected java.util.List<Intent> intents
protected java.util.List<Entity> entities
@SerializedName(value="dialog_nodes") protected java.util.List<DialogNode> dialogNodes
protected java.util.List<Counterexample> counterexamples
protected java.util.List<Webhook> webhooks
public java.lang.String getName()
The name of the workspace. This string cannot contain carriage return, newline, or tab characters.
public java.lang.String getDescription()
The description of the workspace. This string cannot contain carriage return, newline, or tab characters.
public java.lang.String getLanguage()
The language of the workspace.
public java.util.Map<java.lang.String,java.lang.Object> getMetadata()
Any metadata related to the workspace.
public java.lang.Boolean isLearningOptOut()
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 getSystemSettings()
Global settings for the workspace.
public java.lang.String getWorkspaceId()
The workspace ID of the workspace.
public java.lang.String getStatus()
The current status of the workspace.
public java.util.Date getCreated()
The timestamp for creation of the object.
public java.util.Date getUpdated()
The timestamp for the most recent update to the object.
public java.util.List<Intent> getIntents()
An array of intents.
public java.util.List<Entity> getEntities()
An array of objects describing the entities for the workspace.
public java.util.List<DialogNode> getDialogNodes()
An array of objects describing the dialog nodes in the workspace.
public java.util.List<Counterexample> getCounterexamples()
An array of counterexamples.
public java.util.List<Webhook> getWebhooks()