public class Value
extends com.ibm.cloud.sdk.core.service.model.GenericModel
| Modifier and Type | Class and Description | 
|---|---|
| static class  | Value.BuilderBuilder. | 
| static interface  | Value.TypeSpecifies the type of entity value. | 
| Modifier and Type | Field and Description | 
|---|---|
| protected java.util.Date | created | 
| protected java.util.Map<java.lang.String,java.lang.Object> | metadata | 
| protected java.util.List<java.lang.String> | patterns | 
| protected java.util.List<java.lang.String> | synonyms | 
| protected java.lang.String | type | 
| protected java.util.Date | updated | 
| protected java.lang.String | value | 
| Modifier | Constructor and Description | 
|---|---|
| protected  | Value(Value.Builder builder) | 
| Modifier and Type | Method and Description | 
|---|---|
| java.util.Date | created()Gets the created. | 
| java.util.Map<java.lang.String,java.lang.Object> | metadata()Gets the metadata. | 
| Value.Builder | newBuilder()New builder. | 
| java.util.List<java.lang.String> | patterns()Gets the patterns. | 
| java.util.List<java.lang.String> | synonyms()Gets the synonyms. | 
| java.lang.String | type()Gets the type. | 
| java.util.Date | updated()Gets the updated. | 
| java.lang.String | value()Gets the value. | 
protected java.lang.String value
protected java.util.Map<java.lang.String,java.lang.Object> metadata
protected java.lang.String type
protected java.util.List<java.lang.String> synonyms
protected java.util.List<java.lang.String> patterns
protected java.util.Date created
protected java.util.Date updated
protected Value(Value.Builder builder)
public Value.Builder newBuilder()
public java.lang.String 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.
public java.util.Map<java.lang.String,java.lang.Object> metadata()
Any metadata related to the entity value.
public java.lang.String type()
Specifies the type of entity value.
public java.util.List<java.lang.String> 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.
public java.util.List<java.lang.String> 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).
public java.util.Date created()
The timestamp for creation of the object.
public java.util.Date updated()
The timestamp for the most recent update to the object.