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 | Field and Description |
---|---|
protected java.util.Date |
after |
protected java.util.Date |
before |
protected java.lang.String |
categoryAdded |
protected java.lang.String |
categoryNotChanged |
protected java.lang.String |
categoryRemoved |
protected java.lang.String |
cursor |
protected java.lang.String |
documentTitle |
protected java.lang.String |
feedbackType |
protected java.lang.Boolean |
includeTotal |
protected java.lang.String |
modelId |
protected java.lang.String |
modelVersion |
protected java.lang.Long |
pageLimit |
protected java.lang.String |
sort |
protected java.lang.String |
typeAdded |
protected java.lang.String |
typeNotChanged |
protected java.lang.String |
typeRemoved |
Modifier | Constructor and Description |
---|---|
protected |
ListFeedbackOptions(ListFeedbackOptions.Builder builder) |
Modifier and Type | Method and Description |
---|---|
java.util.Date |
after()
Gets the after.
|
java.util.Date |
before()
Gets the before.
|
java.lang.String |
categoryAdded()
Gets the categoryAdded.
|
java.lang.String |
categoryNotChanged()
Gets the categoryNotChanged.
|
java.lang.String |
categoryRemoved()
Gets the categoryRemoved.
|
java.lang.String |
cursor()
Gets the cursor.
|
java.lang.String |
documentTitle()
Gets the documentTitle.
|
java.lang.String |
feedbackType()
Gets the feedbackType.
|
java.lang.Boolean |
includeTotal()
Gets the includeTotal.
|
java.lang.String |
modelId()
Gets the modelId.
|
java.lang.String |
modelVersion()
Gets the modelVersion.
|
ListFeedbackOptions.Builder |
newBuilder()
New builder.
|
java.lang.Long |
pageLimit()
Gets the pageLimit.
|
java.lang.String |
sort()
Gets the sort.
|
java.lang.String |
typeAdded()
Gets the typeAdded.
|
java.lang.String |
typeNotChanged()
Gets the typeNotChanged.
|
java.lang.String |
typeRemoved()
Gets the typeRemoved.
|
protected java.lang.String feedbackType
protected java.util.Date before
protected java.util.Date after
protected java.lang.String documentTitle
protected java.lang.String modelId
protected java.lang.String modelVersion
protected java.lang.String categoryRemoved
protected java.lang.String categoryAdded
protected java.lang.String categoryNotChanged
protected java.lang.String typeRemoved
protected java.lang.String typeAdded
protected java.lang.String typeNotChanged
protected java.lang.Long pageLimit
protected java.lang.String cursor
protected java.lang.String sort
protected java.lang.Boolean includeTotal
protected ListFeedbackOptions(ListFeedbackOptions.Builder builder)
public ListFeedbackOptions.Builder newBuilder()
public java.lang.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 java.util.Date before()
An optional string in the format `YYYY-MM-DD` that filters the output to include only feedback that was added before the specified date.
public java.util.Date after()
An optional string in the format `YYYY-MM-DD` that filters the output to include only feedback that was added after the specified date.
public java.lang.String documentTitle()
An optional string that filters the output to include only feedback from the document with the specified `document_title`.
public java.lang.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 java.lang.String modelVersion()
An optional string that filters the output to include only feedback with the specified `model_version`.
public java.lang.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 java.lang.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 java.lang.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 java.lang.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 java.lang.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 java.lang.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 java.lang.Long pageLimit()
An optional integer specifying the number of documents that you want the service to return.
public java.lang.String cursor()
An optional string that returns the set of documents after the previous set. Use this parameter with the `page_limit` parameter.
public java.lang.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 java.lang.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.