Class UpdateExampleOptions
java.lang.Object
com.ibm.cloud.sdk.core.service.model.GenericModel
com.ibm.watson.assistant.v1.model.UpdateExampleOptions
- All Implemented Interfaces:
- com.ibm.cloud.sdk.core.service.model.ObjectModel
public class UpdateExampleOptions
extends com.ibm.cloud.sdk.core.service.model.GenericModel
The updateExample options.
- 
Nested Class SummaryNested Classes Modifier and Type Class Description static classUpdateExampleOptions.BuilderBuilder.
- 
Method SummaryModifier and Type Method Description BooleanincludeAudit()Gets the includeAudit.Stringintent()Gets the intent.UpdateExampleOptions.BuildernewBuilder()New builder.List<Mention>newMentions()Gets the newMentions.StringnewText()Gets the newText.Stringtext()Gets the text.StringworkspaceId()Gets the workspaceId.Methods inherited from class com.ibm.cloud.sdk.core.service.model.GenericModelequals, hashCode, toString
- 
Method Details- 
newBuilderNew builder.- Returns:
- a UpdateExampleOptions builder
 
- 
workspaceIdGets the workspaceId.Unique identifier of the workspace. - Returns:
- the workspaceId
 
- 
intentGets the intent.The intent name. - Returns:
- the intent
 
- 
textGets the text.The text of the user input example. - Returns:
- the text
 
- 
newTextGets the newText.The text of the user input example. 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 newText
 
- 
newMentionsGets the newMentions.An array of contextual entity mentions. - Returns:
- the newMentions
 
- 
includeAuditGets the includeAudit.Whether to include the audit properties (`created` and `updated` timestamps) in the response. - Returns:
- the includeAudit
 
 
-