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 | Method and Description |
---|---|
String |
assistantId()
Gets the assistantId.
|
String |
cursor()
Gets the cursor.
|
String |
filter()
Gets the filter.
|
ListLogsOptions.Builder |
newBuilder()
New builder.
|
Long |
pageLimit()
Gets the pageLimit.
|
String |
sort()
Gets the sort.
|
public ListLogsOptions.Builder newBuilder()
public 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 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 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 Long pageLimit()
The number of records to return in each page of results.
public String cursor()
A token identifying the page of results to retrieve.
Copyright © 2021 IBM Cloud. All rights reserved.