Package com.launchdarkly.api.api
Class AuditLogApi
- java.lang.Object
-
- com.launchdarkly.api.api.AuditLogApi
-
public class AuditLogApi extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description AuditLogApi()AuditLogApi(ApiClient apiClient)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ApiClientgetApiClient()AuditLogEntryListingRepCollectiongetAuditLogEntries(java.lang.Long before, java.lang.Long after, java.lang.String q, java.lang.Long limit, java.lang.String spec)List audit log entries Get a list of all audit log entries.okhttp3.CallgetAuditLogEntriesAsync(java.lang.Long before, java.lang.Long after, java.lang.String q, java.lang.Long limit, java.lang.String spec, ApiCallback<AuditLogEntryListingRepCollection> _callback)List audit log entries (asynchronously) Get a list of all audit log entries.okhttp3.CallgetAuditLogEntriesCall(java.lang.Long before, java.lang.Long after, java.lang.String q, java.lang.Long limit, java.lang.String spec, ApiCallback _callback)Build call for getAuditLogEntriesApiResponse<AuditLogEntryListingRepCollection>getAuditLogEntriesWithHttpInfo(java.lang.Long before, java.lang.Long after, java.lang.String q, java.lang.Long limit, java.lang.String spec)List audit log entries Get a list of all audit log entries.AuditLogEntryRepgetAuditLogEntry(java.lang.String id)Get audit log entry Fetch a detailed audit log entry representation.okhttp3.CallgetAuditLogEntryAsync(java.lang.String id, ApiCallback<AuditLogEntryRep> _callback)Get audit log entry (asynchronously) Fetch a detailed audit log entry representation.okhttp3.CallgetAuditLogEntryCall(java.lang.String id, ApiCallback _callback)Build call for getAuditLogEntryApiResponse<AuditLogEntryRep>getAuditLogEntryWithHttpInfo(java.lang.String id)Get audit log entry Fetch a detailed audit log entry representation.java.lang.StringgetCustomBaseUrl()intgetHostIndex()voidsetApiClient(ApiClient apiClient)voidsetCustomBaseUrl(java.lang.String customBaseUrl)voidsetHostIndex(int hostIndex)
-
-
-
Constructor Detail
-
AuditLogApi
public AuditLogApi()
-
AuditLogApi
public AuditLogApi(ApiClient apiClient)
-
-
Method Detail
-
getApiClient
public ApiClient getApiClient()
-
setApiClient
public void setApiClient(ApiClient apiClient)
-
getHostIndex
public int getHostIndex()
-
setHostIndex
public void setHostIndex(int hostIndex)
-
getCustomBaseUrl
public java.lang.String getCustomBaseUrl()
-
setCustomBaseUrl
public void setCustomBaseUrl(java.lang.String customBaseUrl)
-
getAuditLogEntriesCall
public okhttp3.Call getAuditLogEntriesCall(java.lang.Long before, java.lang.Long after, java.lang.String q, java.lang.Long limit, java.lang.String spec, ApiCallback _callback) throws ApiExceptionBuild call for getAuditLogEntries- Parameters:
before- A timestamp filter, expressed as a Unix epoch time in milliseconds. All entries this returns occurred before the timestamp. (optional)after- A timestamp filter, expressed as a Unix epoch time in milliseconds. All entries this returns occurred after the timestamp. (optional)q- Text to search for. You can search for the full or partial name of the resource. (optional)limit- A limit on the number of audit log entries that return. Set between 1 and 20. The default is 10. (optional)spec- A resource specifier that lets you filter audit log listings by resource (optional)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object
-
getAuditLogEntries
public AuditLogEntryListingRepCollection getAuditLogEntries(java.lang.Long before, java.lang.Long after, java.lang.String q, java.lang.Long limit, java.lang.String spec) throws ApiException
List audit log entries Get a list of all audit log entries. The query parameters let you restrict the results that return by date ranges, resource specifiers, or a full-text search query. LaunchDarkly uses a resource specifier syntax to name resources or collections of resources. To learn more, read [Understanding the resource specifier syntax](https://docs.launchdarkly.com/home/members/role-resources#understanding-the-resource-specifier-syntax).- Parameters:
before- A timestamp filter, expressed as a Unix epoch time in milliseconds. All entries this returns occurred before the timestamp. (optional)after- A timestamp filter, expressed as a Unix epoch time in milliseconds. All entries this returns occurred after the timestamp. (optional)q- Text to search for. You can search for the full or partial name of the resource. (optional)limit- A limit on the number of audit log entries that return. Set between 1 and 20. The default is 10. (optional)spec- A resource specifier that lets you filter audit log listings by resource (optional)- Returns:
- AuditLogEntryListingRepCollection
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
getAuditLogEntriesWithHttpInfo
public ApiResponse<AuditLogEntryListingRepCollection> getAuditLogEntriesWithHttpInfo(java.lang.Long before, java.lang.Long after, java.lang.String q, java.lang.Long limit, java.lang.String spec) throws ApiException
List audit log entries Get a list of all audit log entries. The query parameters let you restrict the results that return by date ranges, resource specifiers, or a full-text search query. LaunchDarkly uses a resource specifier syntax to name resources or collections of resources. To learn more, read [Understanding the resource specifier syntax](https://docs.launchdarkly.com/home/members/role-resources#understanding-the-resource-specifier-syntax).- Parameters:
before- A timestamp filter, expressed as a Unix epoch time in milliseconds. All entries this returns occurred before the timestamp. (optional)after- A timestamp filter, expressed as a Unix epoch time in milliseconds. All entries this returns occurred after the timestamp. (optional)q- Text to search for. You can search for the full or partial name of the resource. (optional)limit- A limit on the number of audit log entries that return. Set between 1 and 20. The default is 10. (optional)spec- A resource specifier that lets you filter audit log listings by resource (optional)- Returns:
- ApiResponse<AuditLogEntryListingRepCollection>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
getAuditLogEntriesAsync
public okhttp3.Call getAuditLogEntriesAsync(java.lang.Long before, java.lang.Long after, java.lang.String q, java.lang.Long limit, java.lang.String spec, ApiCallback<AuditLogEntryListingRepCollection> _callback) throws ApiExceptionList audit log entries (asynchronously) Get a list of all audit log entries. The query parameters let you restrict the results that return by date ranges, resource specifiers, or a full-text search query. LaunchDarkly uses a resource specifier syntax to name resources or collections of resources. To learn more, read [Understanding the resource specifier syntax](https://docs.launchdarkly.com/home/members/role-resources#understanding-the-resource-specifier-syntax).- Parameters:
before- A timestamp filter, expressed as a Unix epoch time in milliseconds. All entries this returns occurred before the timestamp. (optional)after- A timestamp filter, expressed as a Unix epoch time in milliseconds. All entries this returns occurred after the timestamp. (optional)q- Text to search for. You can search for the full or partial name of the resource. (optional)limit- A limit on the number of audit log entries that return. Set between 1 and 20. The default is 10. (optional)spec- A resource specifier that lets you filter audit log listings by resource (optional)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object
-
getAuditLogEntryCall
public okhttp3.Call getAuditLogEntryCall(java.lang.String id, ApiCallback _callback) throws ApiExceptionBuild call for getAuditLogEntry- Parameters:
id- The ID of the audit log entry (required)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object
-
getAuditLogEntry
public AuditLogEntryRep getAuditLogEntry(java.lang.String id) throws ApiException
Get audit log entry Fetch a detailed audit log entry representation. The detailed representation includes several fields that are not present in the summary representation, including: - `delta`: the JSON patch body that was used in the request to update the entity - `previousVersion`: a JSON representation of the previous version of the entity - `currentVersion`: a JSON representation of the current version of the entity- Parameters:
id- The ID of the audit log entry (required)- Returns:
- AuditLogEntryRep
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
getAuditLogEntryWithHttpInfo
public ApiResponse<AuditLogEntryRep> getAuditLogEntryWithHttpInfo(java.lang.String id) throws ApiException
Get audit log entry Fetch a detailed audit log entry representation. The detailed representation includes several fields that are not present in the summary representation, including: - `delta`: the JSON patch body that was used in the request to update the entity - `previousVersion`: a JSON representation of the previous version of the entity - `currentVersion`: a JSON representation of the current version of the entity- Parameters:
id- The ID of the audit log entry (required)- Returns:
- ApiResponse<AuditLogEntryRep>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
getAuditLogEntryAsync
public okhttp3.Call getAuditLogEntryAsync(java.lang.String id, ApiCallback<AuditLogEntryRep> _callback) throws ApiExceptionGet audit log entry (asynchronously) Fetch a detailed audit log entry representation. The detailed representation includes several fields that are not present in the summary representation, including: - `delta`: the JSON patch body that was used in the request to update the entity - `previousVersion`: a JSON representation of the previous version of the entity - `currentVersion`: a JSON representation of the current version of the entity- Parameters:
id- The ID of the audit log entry (required)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object
-
-