public class ListAllLogsOptions
extends com.ibm.cloud.sdk.core.service.model.GenericModel
Modifier and Type | Class and Description |
---|---|
static class |
ListAllLogsOptions.Builder
Builder.
|
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
cursor |
protected java.lang.String |
filter |
protected java.lang.Long |
pageLimit |
protected java.lang.String |
sort |
Modifier | Constructor and Description |
---|---|
protected |
ListAllLogsOptions(ListAllLogsOptions.Builder builder) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
cursor()
Gets the cursor.
|
java.lang.String |
filter()
Gets the filter.
|
ListAllLogsOptions.Builder |
newBuilder()
New builder.
|
java.lang.Long |
pageLimit()
Gets the pageLimit.
|
java.lang.String |
sort()
Gets the sort.
|
protected java.lang.String filter
protected java.lang.String sort
protected java.lang.Long pageLimit
protected java.lang.String cursor
protected ListAllLogsOptions(ListAllLogsOptions.Builder builder)
public ListAllLogsOptions.Builder newBuilder()
public java.lang.String filter()
A cacheable parameter that limits the results to those matching the specified filter. You must specify a filter query that includes a value for `language`, as well as a value for `request.context.system.assistant_id`, `workspace_id`, or `request.context.metadata.deployment`. For more information, see the [documentation](https://cloud.ibm.com/docs/assistant?topic=assistant-filter-reference#filter-reference).
public java.lang.String sort()
How to sort the returned log events. You can sort by **request_timestamp**. To reverse the sort order, prefix the parameter value with a minus sign (`-`).
public java.lang.Long pageLimit()
The number of records to return in each page of results.
public java.lang.String cursor()
A token identifying the page of results to retrieve.