Class Intent
java.lang.Object
com.ibm.cloud.sdk.core.service.model.GenericModel
com.ibm.watson.assistant.v1.model.Intent
- All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel
public class Intent
extends com.ibm.cloud.sdk.core.service.model.GenericModel
Intent.
-
Constructor Summary
Constructors Constructor Description Intent()
-
Method Summary
Modifier and Type Method Description Date
getCreated()
Gets the created.String
getDescription()
Gets the description.List<Example>
getExamples()
Gets the examples.String
getIntent()
Gets the intent.Date
getUpdated()
Gets the updated.Methods inherited from class com.ibm.cloud.sdk.core.service.model.GenericModel
equals, hashCode, toString
-
Constructor Details
-
Intent
public Intent()
-
-
Method Details
-
getIntent
Gets the intent.The name of the intent. This string must conform to the following restrictions: - It can contain only Unicode alphanumeric, underscore, hyphen, and dot characters. - It cannot begin with the reserved prefix `sys-`.
- Returns:
- the intent
-
getDescription
Gets the description.The description of the intent. This string cannot contain carriage return, newline, or tab characters.
- Returns:
- the description
-
getCreated
Gets the created.The timestamp for creation of the object.
- Returns:
- the created
-
getUpdated
Gets the updated.The timestamp for the most recent update to the object.
- Returns:
- the updated
-
getExamples
Gets the examples.An array of user input examples for the intent.
- Returns:
- the examples
-