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-03-29T16:47:02.065887-05:00[America/Chicago]",
comments="Generator version: 7.4.0")
public class SystemLogApi
extends Object
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected static com.fasterxml.jackson.databind.ObjectMapper
listLogEvents
(OffsetDateTime since, OffsetDateTime until, String filter, String q, Integer limit, String sortOrder, String after) List all System Log Events Lists all system log events.listLogEvents
(OffsetDateTime since, OffsetDateTime until, String filter, String q, Integer limit, String sortOrder, String after, Map<String, String> additionalHeaders) List all System Log Events Lists all system log events.void
setApiClient
(ApiClient apiClient)
-
Constructor Details
-
SystemLogApi
public SystemLogApi() -
SystemLogApi
-
-
Method Details
-
getApiClient
-
setApiClient
-
listLogEvents
public List<LogEvent> listLogEvents(OffsetDateTime since, OffsetDateTime until, String filter, String q, Integer limit, String sortOrder, String after) throws ApiException List all System Log Events Lists all system log events. The Okta System Log API provides read access to your organization’s system log. This API provides more functionality than the Events API- Parameters:
since
- (optional)until
- (optional)filter
- (optional)q
- (optional)limit
- (optional, default to 100)sortOrder
- (optional, default to ASCENDING)after
- (optional)- Returns:
- List<LogEvent>
- Throws:
ApiException
- if fails to make API call
-
listLogEvents
public List<LogEvent> listLogEvents(OffsetDateTime since, OffsetDateTime until, String filter, String q, Integer limit, String sortOrder, String after, Map<String, String> additionalHeaders) throws ApiExceptionList all System Log Events Lists all system log events. The Okta System Log API provides read access to your organization’s system log. This API provides more functionality than the Events API- Parameters:
since
- (optional)until
- (optional)filter
- (optional)q
- (optional)limit
- (optional, default to 100)sortOrder
- (optional, default to ASCENDING)after
- (optional)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()
-