public class ListFeedbackOptions
extends com.ibm.cloud.sdk.core.service.model.GenericModel
Modifier and Type | Class and Description |
---|---|
static class |
ListFeedbackOptions.Builder
Builder.
|
Modifier and Type | Method and Description |
---|---|
String |
categoryAdded()
Gets the categoryAdded.
|
String |
categoryNotChanged()
Gets the categoryNotChanged.
|
String |
categoryRemoved()
Gets the categoryRemoved.
|
String |
cursor()
Gets the cursor.
|
String |
documentTitle()
Gets the documentTitle.
|
String |
feedbackType()
Gets the feedbackType.
|
Boolean |
includeTotal()
Gets the includeTotal.
|
String |
modelId()
Gets the modelId.
|
String |
modelVersion()
Gets the modelVersion.
|
ListFeedbackOptions.Builder |
newBuilder()
New builder.
|
Long |
pageLimit()
Gets the pageLimit.
|
String |
sort()
Gets the sort.
|
String |
typeAdded()
Gets the typeAdded.
|
String |
typeNotChanged()
Gets the typeNotChanged.
|
String |
typeRemoved()
Gets the typeRemoved.
|
public ListFeedbackOptions.Builder newBuilder()
public String feedbackType()
An optional string that filters the output to include only feedback with the specified feedback type. The only permitted value is `element_classification`.
public String documentTitle()
An optional string that filters the output to include only feedback from the document with the specified `document_title`.
public String modelId()
An optional string that filters the output to include only feedback with the specified `model_id`. The only permitted value is `contracts`.
public String modelVersion()
An optional string that filters the output to include only feedback with the specified `model_version`.
public String categoryRemoved()
An optional string in the form of a comma-separated list of categories. If it is specified, the service filters the output to include only feedback that has at least one category from the list removed.
public String categoryAdded()
An optional string in the form of a comma-separated list of categories. If this is specified, the service filters the output to include only feedback that has at least one category from the list added.
public String categoryNotChanged()
An optional string in the form of a comma-separated list of categories. If this is specified, the service filters the output to include only feedback that has at least one category from the list unchanged.
public String typeRemoved()
An optional string of comma-separated `nature`:`party` pairs. If this is specified, the service filters the output to include only feedback that has at least one `nature`:`party` pair from the list removed.
public String typeAdded()
An optional string of comma-separated `nature`:`party` pairs. If this is specified, the service filters the output to include only feedback that has at least one `nature`:`party` pair from the list removed.
public String typeNotChanged()
An optional string of comma-separated `nature`:`party` pairs. If this is specified, the service filters the output to include only feedback that has at least one `nature`:`party` pair from the list unchanged.
public Long pageLimit()
An optional integer specifying the number of documents that you want the service to return.
public String cursor()
An optional string that returns the set of documents after the previous set. Use this parameter with the `page_limit` parameter.
public String sort()
An optional comma-separated list of fields in the document to sort on. You can optionally specify the sort direction by prefixing the value of the field with `-` for descending order or `+` for ascending order (the default). Currently permitted sorting fields are `created`, `user_id`, and `document_title`.
public Boolean includeTotal()
An optional boolean value. If specified as `true`, the `pagination` object in the output includes a value called `total` that gives the total count of feedback created.
Copyright © 2021 IBM Cloud. All rights reserved.