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 Summary
Constructors Constructor Description Entity()
-
Method Summary
Modifier and Type Method Description Date
getCreated()
Gets the created.String
getDescription()
Gets the description.String
getEntity()
Gets the entity.Map<String,Object>
getMetadata()
Gets the metadata.Date
getUpdated()
Gets the updated.List<Value>
getValues()
Gets the values.Boolean
isFuzzyMatch()
Gets the fuzzyMatch.Methods inherited from class com.ibm.cloud.sdk.core.service.model.GenericModel
equals, hashCode, toString
-
Constructor Details
-
Entity
public Entity()
-
-
Method Details
-
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
Gets the description.The description of the entity. This string cannot contain carriage return, newline, or tab characters.
- Returns:
- the description
-
getMetadata
Gets the metadata.Any metadata related to the entity.
- Returns:
- the metadata
-
isFuzzyMatch
Gets the fuzzyMatch.Whether to use fuzzy matching for the entity.
- Returns:
- the fuzzyMatch
-
getCreated
Gets the created.The timestamp for creation of the object.
- Returns:
- the created
-
getUpdated
Gets the updated.The timestamp for the most recent update to the object.
- Returns:
- the updated
-
getValues
Gets the values.An array of objects describing the entity values.
- Returns:
- the values
-