Class ListLogsOptions
- All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel
public class ListLogsOptions
extends com.ibm.cloud.sdk.core.service.model.GenericModel
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classListLogsOptions.BuilderBuilder. -
Method Summary
Modifier and Type Method Description StringassistantId()Gets the assistantId.Stringcursor()Gets the cursor.Stringfilter()Gets the filter.ListLogsOptions.BuildernewBuilder()New builder.LongpageLimit()Gets the pageLimit.Stringsort()Gets the sort.Methods inherited from class com.ibm.cloud.sdk.core.service.model.GenericModel
equals, hashCode, toString
-
Method Details
-
newBuilder
New builder.- Returns:
- a ListLogsOptions builder
-
assistantId
Gets the 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.
- Returns:
- the assistantId
-
sort
Gets the 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 (`-`).
- Returns:
- the sort
-
filter
Gets the 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).
- Returns:
- the filter
-
pageLimit
Gets the pageLimit.The number of records to return in each page of results.
- Returns:
- the pageLimit
-
cursor
Gets the cursor.A token identifying the page of results to retrieve.
- Returns:
- the cursor
-