public class CreateValue
extends com.ibm.cloud.sdk.core.service.model.GenericModel
Modifier and Type | Class and Description |
---|---|
static class |
CreateValue.Builder
Builder.
|
static interface |
CreateValue.Type
Specifies the type of entity value.
|
Modifier and Type | Method and Description |
---|---|
Date |
created()
Gets the created.
|
Map<String,Object> |
metadata()
Gets the metadata.
|
CreateValue.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.
|
public CreateValue.Builder newBuilder()
public 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 Map<String,Object> metadata()
Any metadata related to the entity value.
public String type()
Specifies the type of entity value.
public List<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 List<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 Date created()
The timestamp for creation of the object.
public Date updated()
The timestamp for the most recent update to the object.
Copyright © 2024 IBM Cloud. All rights reserved.