@@ -37,7 +37,7 @@ public interface ValueType {
3737 }
3838
3939 private String value ;
40- private Map < String , Object > metadata ;
40+ private Map metadata ;
4141 @ SerializedName ("type" )
4242 private String valueType ;
4343 private List <String > synonyms ;
@@ -50,7 +50,7 @@ public interface ValueType {
5050 */
5151 public static class Builder {
5252 private String value ;
53- private Map < String , Object > metadata ;
53+ private Map metadata ;
5454 private String valueType ;
5555 private List <String > synonyms ;
5656 private List <String > patterns ;
@@ -138,7 +138,7 @@ public Builder value(String value) {
138138 * @param metadata the metadata
139139 * @return the CreateValue builder
140140 */
141- public Builder metadata (Map < String , Object > metadata ) {
141+ public Builder metadata (Map metadata ) {
142142 this .metadata = metadata ;
143143 return this ;
144144 }
@@ -227,7 +227,6 @@ public Builder newBuilder() {
227227 * The text of the entity value. This string must conform to the following restrictions:
228228 * - It cannot contain carriage return, newline, or tab characters.
229229 * - It cannot consist of only whitespace characters.
230- * - It must be no longer than 64 characters.
231230 *
232231 * @return the value
233232 */
@@ -242,7 +241,7 @@ public String value() {
242241 *
243242 * @return the metadata
244243 */
245- public Map < String , Object > metadata () {
244+ public Map metadata () {
246245 return metadata ;
247246 }
248247
@@ -264,7 +263,6 @@ public String valueType() {
264263 * type), but not both. A synonym must conform to the following resrictions:
265264 * - It cannot contain carriage return, newline, or tab characters.
266265 * - It cannot consist of only whitespace characters.
267- * - It must be no longer than 64 characters.
268266 *
269267 * @return the synonyms
270268 */
@@ -276,9 +274,9 @@ public List<String> synonyms() {
276274 * Gets the patterns.
277275 *
278276 * An array of patterns for the entity value. A value can specify either synonyms or patterns (depending on the value
279- * type), but not both. A pattern is a regular expression no longer than 512 characters. For more information about
280- * how to specify a pattern, see the
281- * [documentation](https://cloud.ibm.com/docs/services/assistant/ entities.html #entities-create-dictionary-based).
277+ * type), but not both. A pattern is a regular expression; for more information about how to specify a pattern, see
278+ * the
279+ * [documentation](https://cloud.ibm.com/docs/services/assistant?topic=assistant- entities#entities-create-dictionary-based).
282280 *
283281 * @return the patterns
284282 */
0 commit comments