Class AuditLogApi


  • public class AuditLogApi
    extends java.lang.Object
    • Constructor Detail

      • AuditLogApi

        public AuditLogApi()
      • AuditLogApi

        public AuditLogApi​(ApiClient apiClient)
    • Method Detail

      • getApiClient

        public ApiClient getApiClient()
      • setApiClient

        public void setApiClient​(ApiClient apiClient)
      • 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 ApiException
        Build 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, or full or partial email address of the member who made a change. (optional)
        limit - A limit on the number of audit log entries that return. Set between 1 and 20. (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 feature flag 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.
        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, or full or partial email address of the member who made a change. (optional)
        limit - A limit on the number of audit log entries that return. Set between 1 and 20. (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 feature flag 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.
        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, or full or partial email address of the member who made a change. (optional)
        limit - A limit on the number of audit log entries that return. Set between 1 and 20. (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 ApiException
        List audit log feature flag 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.
        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, or full or partial email address of the member who made a change. (optional)
        limit - A limit on the number of audit log entries that return. Set between 1 and 20. (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 ApiException
        Build 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: - `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: - `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 ApiException
        Get 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: - `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