Class Synonym

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

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

    • newBuilder

      public Synonym.Builder newBuilder()
      New builder.
      Returns:
      a Synonym builder
    • synonym

      public String synonym()
      Gets the synonym.

      The text of the synonym. 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 synonym
    • 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