Class Entity

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

public class Entity
extends com.ibm.cloud.sdk.core.service.model.GenericModel
Entity.
  • Constructor Details

    • Entity

      public Entity()
  • Method Details

    • getEntity

      public String getEntity()
      Gets the entity.

      The name of the entity. This string must conform to the following restrictions: - It can contain only Unicode alphanumeric, underscore, and hyphen characters. - If you specify an entity name beginning with the reserved prefix `sys-`, it must be the name of a system entity that you want to enable. (Any entity content specified with the request is ignored.).

      Returns:
      the entity
    • getDescription

      public String getDescription()
      Gets the description.

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

      Returns:
      the description
    • getMetadata

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

      Any metadata related to the entity.

      Returns:
      the metadata
    • isFuzzyMatch

      public Boolean isFuzzyMatch()
      Gets the fuzzyMatch.

      Whether to use fuzzy matching for the entity.

      Returns:
      the fuzzyMatch
    • getCreated

      public Date getCreated()
      Gets the created.

      The timestamp for creation of the object.

      Returns:
      the created
    • getUpdated

      public Date getUpdated()
      Gets the updated.

      The timestamp for the most recent update to the object.

      Returns:
      the updated
    • getValues

      public List<Value> getValues()
      Gets the values.

      An array of objects describing the entity values.

      Returns:
      the values