Class Workspace

java.lang.Object
com.ibm.cloud.sdk.core.service.model.GenericModel
com.ibm.watson.assistant.v1.model.Workspace
All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel

public class Workspace
extends com.ibm.cloud.sdk.core.service.model.GenericModel
Workspace.
  • Constructor Details

    • Workspace

      public Workspace()
  • Method Details

    • getName

      public String getName()
      Gets the name.

      The name of the workspace. This string cannot contain carriage return, newline, or tab characters.

      Returns:
      the name
    • getDescription

      public String getDescription()
      Gets the description.

      The description of the workspace. This string cannot contain carriage return, newline, or tab characters.

      Returns:
      the description
    • getLanguage

      public String getLanguage()
      Gets the language.

      The language of the workspace.

      Returns:
      the language
    • getWorkspaceId

      public String getWorkspaceId()
      Gets the workspaceId.

      The workspace ID of the workspace.

      Returns:
      the workspaceId
    • getDialogNodes

      public List<DialogNode> getDialogNodes()
      Gets the dialogNodes.

      An array of objects describing the dialog nodes in the workspace.

      Returns:
      the dialogNodes
    • getCounterexamples

      public List<Counterexample> getCounterexamples()
      Gets the counterexamples.

      An array of objects defining input examples that have been marked as irrelevant input.

      Returns:
      the counterexamples
    • getCreated

      public Date getCreated()
      Gets the created.

      The timestamp for creation of the object.

      Returns:
      the created
    • getUpdated

      public Date getUpdated()
      Gets the updated.

      The timestamp for the most recent update to the object.

      Returns:
      the updated
    • getMetadata

      public Map<String,​Object> getMetadata()
      Gets the metadata.

      Any metadata related to the workspace.

      Returns:
      the metadata
    • isLearningOptOut

      public Boolean isLearningOptOut()
      Gets the 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.

      Returns:
      the learningOptOut
    • getSystemSettings

      public WorkspaceSystemSettings getSystemSettings()
      Gets the systemSettings.

      Global settings for the workspace.

      Returns:
      the systemSettings
    • getStatus

      public String getStatus()
      Gets the status.

      The current status of the workspace.

      Returns:
      the status
    • getWebhooks

      public List<Webhook> getWebhooks()
      Gets the webhooks.
      Returns:
      the webhooks
    • getIntents

      public List<Intent> getIntents()
      Gets the intents.

      An array of intents.

      Returns:
      the intents
    • getEntities

      public List<Entity> getEntities()
      Gets the entities.

      An array of objects describing the entities for the workspace.

      Returns:
      the entities