Class ListCounterexamplesOptions
java.lang.Object
com.ibm.cloud.sdk.core.service.model.GenericModel
com.ibm.watson.assistant.v1.model.ListCounterexamplesOptions
- All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel
public class ListCounterexamplesOptions
extends com.ibm.cloud.sdk.core.service.model.GenericModel
The listCounterexamples options.
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classListCounterexamplesOptions.BuilderBuilder.static interfaceListCounterexamplesOptions.SortThe attribute by which returned counterexamples will be sorted. -
Method Summary
Modifier and Type Method Description Stringcursor()Gets the cursor.BooleanincludeAudit()Gets the includeAudit.BooleanincludeCount()Gets the includeCount.ListCounterexamplesOptions.BuildernewBuilder()New builder.LongpageLimit()Gets the pageLimit.Stringsort()Gets the sort.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 ListCounterexamplesOptions builder
-
workspaceId
Gets the workspaceId.Unique identifier of the workspace.
- Returns:
- the workspaceId
-
pageLimit
Gets the pageLimit.The number of records to return in each page of results.
- Returns:
- the pageLimit
-
includeCount
Gets the includeCount.Whether to include information about the number of records that satisfy the request, regardless of the page limit. If this parameter is `true`, the `pagination` object in the response includes the `total` property.
- Returns:
- the includeCount
-
sort
Gets the sort.The attribute by which returned counterexamples will be sorted. To reverse the sort order, prefix the value with a minus sign (`-`).
- Returns:
- the sort
-
cursor
Gets the cursor.A token identifying the page of results to retrieve.
- Returns:
- the cursor
-
includeAudit
Gets the includeAudit.Whether to include the audit properties (`created` and `updated` timestamps) in the response.
- Returns:
- the includeAudit
-