Class GetExampleOptions

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

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

    • newBuilder

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

      public String workspaceId()
      Gets the workspaceId.

      Unique identifier of the workspace.

      Returns:
      the workspaceId
    • intent

      public String intent()
      Gets the intent.

      The intent name.

      Returns:
      the intent
    • text

      public String text()
      Gets the text.

      The text of the user input example.

      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