public class ListLogsOptions
extends com.ibm.cloud.sdk.core.service.model.GenericModel
Modifier and Type | Class and Description |
---|---|
static class |
ListLogsOptions.Builder
Builder.
|
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
assistantId |
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 |
ListLogsOptions(ListLogsOptions.Builder builder) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
assistantId()
Gets the assistantId.
|
java.lang.String |
cursor()
Gets the cursor.
|
java.lang.String |
filter()
Gets the filter.
|
ListLogsOptions.Builder |
newBuilder()
New builder.
|
java.lang.Long |
pageLimit()
Gets the pageLimit.
|
java.lang.String |
sort()
Gets the sort.
|
protected java.lang.String assistantId
protected java.lang.String sort
protected java.lang.String filter
protected java.lang.Long pageLimit
protected java.lang.String cursor
protected ListLogsOptions(ListLogsOptions.Builder builder)
public ListLogsOptions.Builder newBuilder()
public java.lang.String assistantId()
Unique identifier of the assistant. To find the assistant ID in the Watson Assistant user interface, open the assistant settings and click **API Details**. For information about creating assistants, see the [documentation](https://cloud.ibm.com/docs/assistant?topic=assistant-assistant-add#assistant-add-task).
**Note:** Currently, the v2 API does not support creating assistants.
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.String filter()
A cacheable parameter that limits the results to those matching the specified filter. For more information, see the [documentation](https://cloud.ibm.com/docs/assistant?topic=assistant-filter-reference#filter-reference).
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.