Class Example

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

public class Example
extends com.ibm.cloud.sdk.core.service.model.GenericModel
Example.
  • Method Details

    • newBuilder

      public Example.Builder newBuilder()
      New builder.
      Returns:
      a Example builder
    • text

      public String text()
      Gets the text.

      The text of a user input example. This string must conform to the following restrictions: - It cannot contain carriage return, newline, or tab characters. - It cannot consist of only whitespace characters.

      Returns:
      the text
    • mentions

      public List<Mention> mentions()
      Gets the mentions.

      An array of contextual entity mentions.

      Returns:
      the mentions
    • created

      public Date created()
      Gets the created.

      The timestamp for creation of the object.

      Returns:
      the created
    • updated

      public Date updated()
      Gets the updated.

      The timestamp for the most recent update to the object.

      Returns:
      the updated