CreateValue Class |
Namespace: IBM.Watson.DeveloperCloud.Services.Assistant.v1
public class CreateValue
The CreateValue type exposes the following members.
Name | Description | |
---|---|---|
CreateValue | Initializes a new instance of the CreateValue class |
Name | Description | |
---|---|---|
Metadata |
Any metadata related to the entity value.
| |
Patterns |
An array of patterns for the entity value. You can provide either synonyms or patterns (as indicated by **type**), but not both. A pattern is a regular expression no longer than 128 characters. For more information about how to specify a pattern, see the [documentation](https://console.bluemix.net/docs/services/conversation/entities.html#creating-entities).
| |
Synonyms |
An array containing any synonyms for the entity value. You can provide either synonyms or patterns (as indicated by **type**), but not both. A synonym must conform to the following restrictions: - It cannot contain carriage return, newline, or tab characters. - It cannot consist of only whitespace characters. - It must be no longer than 64 characters.
| |
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. - It must be no longer than 64 characters.
| |
ValueType |
Specifies the type of value.
|