Class CreateEntity
java.lang.Object
com.ibm.cloud.sdk.core.service.model.GenericModel
com.ibm.watson.assistant.v1.model.CreateEntity
- All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel
public class CreateEntity
extends com.ibm.cloud.sdk.core.service.model.GenericModel
CreateEntity.
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
CreateEntity.Builder
Builder. -
Method Summary
Modifier and Type Method Description Date
created()
Gets the created.String
description()
Gets the description.String
entity()
Gets the entity.Boolean
fuzzyMatch()
Gets the fuzzyMatch.Map<String,Object>
metadata()
Gets the metadata.CreateEntity.Builder
newBuilder()
New builder.Date
updated()
Gets the updated.List<CreateValue>
values()
Gets the values.Methods inherited from class com.ibm.cloud.sdk.core.service.model.GenericModel
equals, hashCode, toString
-
Method Details
-
newBuilder
New builder.- Returns:
- a CreateEntity builder
-
entity
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
-
description
Gets the description.The description of the entity. This string cannot contain carriage return, newline, or tab characters.
- Returns:
- the description
-
metadata
Gets the metadata.Any metadata related to the entity.
- Returns:
- the metadata
-
fuzzyMatch
Gets the fuzzyMatch.Whether to use fuzzy matching for the entity.
- Returns:
- the fuzzyMatch
-
created
Gets the created.The timestamp for creation of the object.
- Returns:
- the created
-
updated
Gets the updated.The timestamp for the most recent update to the object.
- Returns:
- the updated
-
values
Gets the values.An array of objects describing the entity values.
- Returns:
- the values
-