Class Value
- All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel
public class Value
extends com.ibm.cloud.sdk.core.service.model.GenericModel
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Value.Builder
Builder.static interface
Value.Type
Specifies the type of entity value. -
Method Summary
Modifier and Type Method Description Date
created()
Gets the created.Map<String,Object>
metadata()
Gets the metadata.Value.Builder
newBuilder()
New builder.List<String>
patterns()
Gets the patterns.List<String>
synonyms()
Gets the synonyms.String
type()
Gets the type.Date
updated()
Gets the updated.String
value()
Gets the value.Methods inherited from class com.ibm.cloud.sdk.core.service.model.GenericModel
equals, hashCode, toString
-
Method Details
-
newBuilder
New builder.- Returns:
- a Value builder
-
value
Gets the value.The text of the entity value. 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 value
-
metadata
Gets the metadata.Any metadata related to the entity value.
- Returns:
- the metadata
-
type
Gets the type.Specifies the type of entity value.
- Returns:
- the type
-
synonyms
Gets the synonyms.An array of synonyms for the entity value. A value can specify either synonyms or patterns (depending on the value type), but not both. A synonym must conform to the following resrictions: - It cannot contain carriage return, newline, or tab characters. - It cannot consist of only whitespace characters.
- Returns:
- the synonyms
-
patterns
Gets the patterns.An array of patterns for the entity value. A value can specify either synonyms or patterns (depending on the value type), but not both. A pattern is a regular expression; for more information about how to specify a pattern, see the [documentation](https://cloud.ibm.com/docs/assistant?topic=assistant-entities#entities-create-dictionary-based).
- Returns:
- the patterns
-
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
-