Class CreateWorkspaceOptions

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

public class CreateWorkspaceOptions
extends com.ibm.cloud.sdk.core.service.model.GenericModel
The createWorkspace options.
  • Method Details

    • newBuilder

      public CreateWorkspaceOptions.Builder newBuilder()
      New builder.
      Returns:
      a CreateWorkspaceOptions builder
    • name

      public String name()
      Gets the name.

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

      Returns:
      the name
    • description

      public String description()
      Gets the description.

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

      Returns:
      the description
    • language

      public String language()
      Gets the language.

      The language of the workspace.

      Returns:
      the language
    • dialogNodes

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

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

      Returns:
      the dialogNodes
    • counterexamples

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

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

      Returns:
      the counterexamples
    • metadata

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

      Any metadata related to the workspace.

      Returns:
      the metadata
    • learningOptOut

      public Boolean learningOptOut()
      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
    • systemSettings

      public WorkspaceSystemSettings systemSettings()
      Gets the systemSettings.

      Global settings for the workspace.

      Returns:
      the systemSettings
    • webhooks

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

      public List<CreateIntent> intents()
      Gets the intents.

      An array of objects defining the intents for the workspace.

      Returns:
      the intents
    • entities

      public List<CreateEntity> entities()
      Gets the entities.

      An array of objects describing the entities for the workspace.

      Returns:
      the entities
    • includeAudit

      public Boolean includeAudit()
      Gets the includeAudit.

      Whether to include the audit properties (`created` and `updated` timestamps) in the response.

      Returns:
      the includeAudit