Class UpdateCounterexampleOptions
java.lang.Object
com.ibm.cloud.sdk.core.service.model.GenericModel
com.ibm.watson.assistant.v1.model.UpdateCounterexampleOptions
- All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel
public class UpdateCounterexampleOptions
extends com.ibm.cloud.sdk.core.service.model.GenericModel
The updateCounterexample options.
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classUpdateCounterexampleOptions.BuilderBuilder. -
Method Summary
Modifier and Type Method Description BooleanincludeAudit()Gets the includeAudit.UpdateCounterexampleOptions.BuildernewBuilder()New builder.StringnewText()Gets the newText.Stringtext()Gets the text.StringworkspaceId()Gets the workspaceId.Methods inherited from class com.ibm.cloud.sdk.core.service.model.GenericModel
equals, hashCode, toString
-
Method Details
-
newBuilder
New builder.- Returns:
- a UpdateCounterexampleOptions builder
-
workspaceId
Gets the workspaceId.Unique identifier of the workspace.
- Returns:
- the workspaceId
-
text
Gets the text.The text of a user input counterexample (for example, `What are you wearing?`).
- Returns:
- the text
-
newText
Gets the newText.The text of a user input marked as irrelevant input. 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
-
includeAudit
Gets the includeAudit.Whether to include the audit properties (`created` and `updated` timestamps) in the response.
- Returns:
- the includeAudit
-