Package com.okta.sdk.resource.api
Class SystemLogApi
java.lang.Object
com.okta.sdk.resource.api.SystemLogApi
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2024-09-23T16:19:57.008753975Z[Etc/UTC]",
comments="Generator version: 7.8.0")
public class SystemLogApi
extends Object
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected static com.fasterxml.jackson.databind.ObjectMapper
listLogEvents
(String since, String until, String after, String filter, String q, Integer limit, String sortOrder) List all System Log Events Lists all System Log EventslistLogEvents
(String since, String until, String after, String filter, String q, Integer limit, String sortOrder, Map<String, String> additionalHeaders) List all System Log Events Lists all System Log Eventsvoid
setApiClient
(ApiClient apiClient)
-
Constructor Details
-
SystemLogApi
public SystemLogApi() -
SystemLogApi
-
-
Method Details
-
getApiClient
-
setApiClient
-
listLogEvents
public List<LogEvent> listLogEvents(String since, String until, String after, String filter, String q, Integer limit, String sortOrder) throws ApiException List all System Log Events Lists all System Log Events- Parameters:
since
- Filters the lower time bound of the log events `published` property for bounded queries or persistence time for polling queries (optional, default to 7 days prior to until)until
- Filters the upper time bound of the log events `published` property for bounded queries or persistence time for polling queries. (optional, default to current time)after
- Retrieves the next page of results. Okta returns a link in the HTTP Header (`rel=next`) that includes the after query parameter (optional)filter
- Filter expression that filters the results. All operators except [ ] are supported. See [Filter](https://developer.okta.com/docs/api/#filter). (optional)q
- Filters log events results by one or more case insensitive keywords. (optional)limit
- Sets the number of results that are returned in the response (optional, default to 100)sortOrder
- The order of the returned events that are sorted by the `published` property (optional, default to ASCENDING)- Returns:
- List<LogEvent>
- Throws:
ApiException
- if fails to make API call
-
listLogEvents
public List<LogEvent> listLogEvents(String since, String until, String after, String filter, String q, Integer limit, String sortOrder, Map<String, String> additionalHeaders) throws ApiExceptionList all System Log Events Lists all System Log Events- Parameters:
since
- Filters the lower time bound of the log events `published` property for bounded queries or persistence time for polling queries (optional, default to 7 days prior to until)until
- Filters the upper time bound of the log events `published` property for bounded queries or persistence time for polling queries. (optional, default to current time)after
- Retrieves the next page of results. Okta returns a link in the HTTP Header (`rel=next`) that includes the after query parameter (optional)filter
- Filter expression that filters the results. All operators except [ ] are supported. See [Filter](https://developer.okta.com/docs/api/#filter). (optional)q
- Filters log events results by one or more case insensitive keywords. (optional)limit
- Sets the number of results that are returned in the response (optional, default to 100)sortOrder
- The order of the returned events that are sorted by the `published` property (optional, default to ASCENDING)additionalHeaders
- additionalHeaders for this call- Returns:
- List<LogEvent>
- Throws:
ApiException
- if fails to make API call
-
getObjectMapper
protected static com.fasterxml.jackson.databind.ObjectMapper getObjectMapper()
-