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: - **Available**: The workspace is available and ready to
process messages.
|
Constructor and Description |
---|
Workspace() |
Modifier and Type | Method and Description |
---|---|
List<Counterexample> |
getCounterexamples()
Gets the counterexamples.
|
WorkspaceCounts |
getCounts()
Gets the counts.
|
Date |
getCreated()
Gets the created.
|
String |
getDescription()
Gets the description.
|
List<DialogNode> |
getDialogNodes()
Gets the dialogNodes.
|
List<Entity> |
getEntities()
Gets the entities.
|
List<Intent> |
getIntents()
Gets the intents.
|
String |
getLanguage()
Gets the language.
|
Map<String,Object> |
getMetadata()
Gets the metadata.
|
String |
getName()
Gets the name.
|
String |
getStatus()
Gets the status.
|
List<StatusError> |
getStatusErrors()
Gets the statusErrors.
|
WorkspaceSystemSettings |
getSystemSettings()
Gets the systemSettings.
|
Date |
getUpdated()
Gets the updated.
|
List<Webhook> |
getWebhooks()
Gets the webhooks.
|
String |
getWorkspaceId()
Gets the workspaceId.
|
Boolean |
isLearningOptOut()
Gets the learningOptOut.
|
public String getName()
The name of the workspace. This string cannot contain carriage return, newline, or tab characters.
public String getDescription()
The description of the workspace. This string cannot contain carriage return, newline, or tab characters.
public String getLanguage()
The language of the workspace.
public String getWorkspaceId()
The workspace ID of the workspace.
public List<DialogNode> getDialogNodes()
An array of objects describing the dialog nodes in the workspace.
public List<Counterexample> getCounterexamples()
An array of objects defining input examples that have been marked as irrelevant input.
public Date getCreated()
The timestamp for creation of the object.
public Date getUpdated()
The timestamp for the most recent update to the object.
public Map<String,Object> getMetadata()
Any metadata related to the workspace.
public 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 String getStatus()
The current status of the workspace: - **Available**: The workspace is available and ready to process messages. - **Failed**: An asynchronous operation has failed. See the **status_errors** property for more information about the cause of the failure. Returned only by the **Export workspace asynchronously** method. - **Non Existent**: The workspace does not exist. - **Processing**: An asynchronous operation has not yet completed. Returned only by the **Export workspace asynchronously** method. - **Training**: The workspace is training based on new data such as intents or examples.
public List<StatusError> getStatusErrors()
An array of messages about errors that caused an asynchronous operation to fail.
public List<Intent> getIntents()
An array of intents.
public List<Entity> getEntities()
An array of objects describing the entities for the workspace.
public WorkspaceCounts getCounts()
An object containing properties that indicate how many intents, entities, and dialog nodes are defined in the workspace. This property is included only in responses from the **Export workspace asynchronously** method, and only when the **verbose** query parameter is set to `true`.
Copyright © 2022 IBM Cloud. All rights reserved.