Class GetCounterexampleOptions

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

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

    • newBuilder

      public GetCounterexampleOptions.Builder newBuilder()
      New builder.
      Returns:
      a GetCounterexampleOptions builder
    • workspaceId

      public String workspaceId()
      Gets the workspaceId.

      Unique identifier of the workspace.

      Returns:
      the workspaceId
    • text

      public String text()
      Gets the text.

      The text of a user input counterexample (for example, `What are you wearing?`).

      Returns:
      the text
    • includeAudit

      public Boolean includeAudit()
      Gets the includeAudit.

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

      Returns:
      the includeAudit