Class Synonym
java.lang.Object
com.ibm.cloud.sdk.core.service.model.GenericModel
com.ibm.watson.assistant.v1.model.Synonym
- All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel
public class Synonym
extends com.ibm.cloud.sdk.core.service.model.GenericModel
Synonym.
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Synonym.Builder
Builder. -
Method Summary
Modifier and Type Method Description Date
created()
Gets the created.Synonym.Builder
newBuilder()
New builder.String
synonym()
Gets the synonym.Date
updated()
Gets the updated.Methods inherited from class com.ibm.cloud.sdk.core.service.model.GenericModel
equals, hashCode, toString
-
Method Details
-
newBuilder
New builder.- Returns:
- a Synonym builder
-
synonym
Gets the synonym.The text of the synonym. 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 synonym
-
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
-