public class UpdateCounterexampleOptions
extends com.ibm.cloud.sdk.core.service.model.GenericModel
Modifier and Type | Class and Description |
---|---|
static class |
UpdateCounterexampleOptions.Builder
Builder.
|
Modifier and Type | Field and Description |
---|---|
protected java.lang.Boolean |
includeAudit |
protected java.lang.String |
newText |
protected java.lang.String |
text |
protected java.lang.String |
workspaceId |
Modifier | Constructor and Description |
---|---|
protected |
UpdateCounterexampleOptions(UpdateCounterexampleOptions.Builder builder) |
Modifier and Type | Method and Description |
---|---|
java.lang.Boolean |
includeAudit()
Gets the includeAudit.
|
UpdateCounterexampleOptions.Builder |
newBuilder()
New builder.
|
java.lang.String |
newText()
Gets the newText.
|
java.lang.String |
text()
Gets the text.
|
java.lang.String |
workspaceId()
Gets the workspaceId.
|
protected java.lang.String workspaceId
protected java.lang.String text
protected java.lang.String newText
protected java.lang.Boolean includeAudit
protected UpdateCounterexampleOptions(UpdateCounterexampleOptions.Builder builder)
public UpdateCounterexampleOptions.Builder newBuilder()
public java.lang.String workspaceId()
Unique identifier of the workspace.
public java.lang.String text()
The text of a user input counterexample (for example, `What are you wearing?`).
public java.lang.String 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.
public java.lang.Boolean includeAudit()
Whether to include the audit properties (`created` and `updated` timestamps) in the response.