Class AuditLogsApi


  • public class AuditLogsApi
    extends java.lang.Object
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      ApiClient getApiClient()  
      java.util.List<AuditLogItemModel> getAuditlogs​(java.util.UUID productId, java.util.UUID configId, java.util.UUID environmentId, AuditLogType auditLogType, java.time.OffsetDateTime fromUtcDateTime, java.time.OffsetDateTime toUtcDateTime)
      List Audit log items for Product This endpoint returns the list of Audit log items for a given Product and the result can be optionally filtered by Config and/or Environment.
      okhttp3.Call getAuditlogsAsync​(java.util.UUID productId, java.util.UUID configId, java.util.UUID environmentId, AuditLogType auditLogType, java.time.OffsetDateTime fromUtcDateTime, java.time.OffsetDateTime toUtcDateTime, ApiCallback<java.util.List<AuditLogItemModel>> _callback)
      List Audit log items for Product (asynchronously) This endpoint returns the list of Audit log items for a given Product and the result can be optionally filtered by Config and/or Environment.
      okhttp3.Call getAuditlogsCall​(java.util.UUID productId, java.util.UUID configId, java.util.UUID environmentId, AuditLogType auditLogType, java.time.OffsetDateTime fromUtcDateTime, java.time.OffsetDateTime toUtcDateTime, ApiCallback _callback)
      Build call for getAuditlogs
      ApiResponse<java.util.List<AuditLogItemModel>> getAuditlogsWithHttpInfo​(java.util.UUID productId, java.util.UUID configId, java.util.UUID environmentId, AuditLogType auditLogType, java.time.OffsetDateTime fromUtcDateTime, java.time.OffsetDateTime toUtcDateTime)
      List Audit log items for Product This endpoint returns the list of Audit log items for a given Product and the result can be optionally filtered by Config and/or Environment.
      java.lang.String getCustomBaseUrl()  
      java.util.List<SettingModel> getDeletedSettings​(java.util.UUID configId)
      List Deleted Settings This endpoint returns the list of Feature Flags and Settings that were deleted from the given Config.
      okhttp3.Call getDeletedSettingsAsync​(java.util.UUID configId, ApiCallback<java.util.List<SettingModel>> _callback)
      List Deleted Settings (asynchronously) This endpoint returns the list of Feature Flags and Settings that were deleted from the given Config.
      okhttp3.Call getDeletedSettingsCall​(java.util.UUID configId, ApiCallback _callback)
      Build call for getDeletedSettings
      ApiResponse<java.util.List<SettingModel>> getDeletedSettingsWithHttpInfo​(java.util.UUID configId)
      List Deleted Settings This endpoint returns the list of Feature Flags and Settings that were deleted from the given Config.
      int getHostIndex()  
      java.util.List<AuditLogItemModel> getOrganizationAuditlogs​(java.util.UUID organizationId, java.util.UUID productId, java.util.UUID configId, java.util.UUID environmentId, AuditLogType auditLogType, java.time.OffsetDateTime fromUtcDateTime, java.time.OffsetDateTime toUtcDateTime)
      List Audit log items for Organization This endpoint returns the list of Audit log items for a given Organization and the result can be optionally filtered by Product and/or Config and/or Environment.
      okhttp3.Call getOrganizationAuditlogsAsync​(java.util.UUID organizationId, java.util.UUID productId, java.util.UUID configId, java.util.UUID environmentId, AuditLogType auditLogType, java.time.OffsetDateTime fromUtcDateTime, java.time.OffsetDateTime toUtcDateTime, ApiCallback<java.util.List<AuditLogItemModel>> _callback)
      List Audit log items for Organization (asynchronously) This endpoint returns the list of Audit log items for a given Organization and the result can be optionally filtered by Product and/or Config and/or Environment.
      okhttp3.Call getOrganizationAuditlogsCall​(java.util.UUID organizationId, java.util.UUID productId, java.util.UUID configId, java.util.UUID environmentId, AuditLogType auditLogType, java.time.OffsetDateTime fromUtcDateTime, java.time.OffsetDateTime toUtcDateTime, ApiCallback _callback)
      Build call for getOrganizationAuditlogs
      ApiResponse<java.util.List<AuditLogItemModel>> getOrganizationAuditlogsWithHttpInfo​(java.util.UUID organizationId, java.util.UUID productId, java.util.UUID configId, java.util.UUID environmentId, AuditLogType auditLogType, java.time.OffsetDateTime fromUtcDateTime, java.time.OffsetDateTime toUtcDateTime)
      List Audit log items for Organization This endpoint returns the list of Audit log items for a given Organization and the result can be optionally filtered by Product and/or Config and/or Environment.
      void setApiClient​(ApiClient apiClient)  
      void setCustomBaseUrl​(java.lang.String customBaseUrl)  
      void setHostIndex​(int hostIndex)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • AuditLogsApi

        public AuditLogsApi()
      • AuditLogsApi

        public AuditLogsApi​(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)
      • getAuditlogsCall

        public okhttp3.Call getAuditlogsCall​(java.util.UUID productId,
                                             java.util.UUID configId,
                                             java.util.UUID environmentId,
                                             AuditLogType auditLogType,
                                             java.time.OffsetDateTime fromUtcDateTime,
                                             java.time.OffsetDateTime toUtcDateTime,
                                             ApiCallback _callback)
                                      throws ApiException
        Build call for getAuditlogs
        Parameters:
        productId - The identifier of the Product. (required)
        configId - The identifier of the Config. (optional)
        environmentId - The identifier of the Environment. (optional)
        auditLogType - Filter Audit logs by Audit log type. (optional)
        fromUtcDateTime - Filter Audit logs by starting UTC date. (optional)
        toUtcDateTime - Filter Audit logs by ending UTC date. (optional)
        _callback - Callback for upload/download progress
        Returns:
        Call to execute
        Throws:
        ApiException - If fail to serialize the request body object
        Http Response Details
        Status Code Description Response Headers
        200 -
        400 Bad request. -
        404 Not found. -
        429 Too many requests. In case of the request rate exceeds the rate limits. -
      • getAuditlogs

        public java.util.List<AuditLogItemModel> getAuditlogs​(java.util.UUID productId,
                                                              java.util.UUID configId,
                                                              java.util.UUID environmentId,
                                                              AuditLogType auditLogType,
                                                              java.time.OffsetDateTime fromUtcDateTime,
                                                              java.time.OffsetDateTime toUtcDateTime)
                                                       throws ApiException
        List Audit log items for Product This endpoint returns the list of Audit log items for a given Product and the result can be optionally filtered by Config and/or Environment.
        Parameters:
        productId - The identifier of the Product. (required)
        configId - The identifier of the Config. (optional)
        environmentId - The identifier of the Environment. (optional)
        auditLogType - Filter Audit logs by Audit log type. (optional)
        fromUtcDateTime - Filter Audit logs by starting UTC date. (optional)
        toUtcDateTime - Filter Audit logs by ending UTC date. (optional)
        Returns:
        List<AuditLogItemModel>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        Http Response Details
        Status Code Description Response Headers
        200 -
        400 Bad request. -
        404 Not found. -
        429 Too many requests. In case of the request rate exceeds the rate limits. -
      • getAuditlogsWithHttpInfo

        public ApiResponse<java.util.List<AuditLogItemModel>> getAuditlogsWithHttpInfo​(java.util.UUID productId,
                                                                                       java.util.UUID configId,
                                                                                       java.util.UUID environmentId,
                                                                                       AuditLogType auditLogType,
                                                                                       java.time.OffsetDateTime fromUtcDateTime,
                                                                                       java.time.OffsetDateTime toUtcDateTime)
                                                                                throws ApiException
        List Audit log items for Product This endpoint returns the list of Audit log items for a given Product and the result can be optionally filtered by Config and/or Environment.
        Parameters:
        productId - The identifier of the Product. (required)
        configId - The identifier of the Config. (optional)
        environmentId - The identifier of the Environment. (optional)
        auditLogType - Filter Audit logs by Audit log type. (optional)
        fromUtcDateTime - Filter Audit logs by starting UTC date. (optional)
        toUtcDateTime - Filter Audit logs by ending UTC date. (optional)
        Returns:
        ApiResponse<List<AuditLogItemModel>>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        Http Response Details
        Status Code Description Response Headers
        200 -
        400 Bad request. -
        404 Not found. -
        429 Too many requests. In case of the request rate exceeds the rate limits. -
      • getAuditlogsAsync

        public okhttp3.Call getAuditlogsAsync​(java.util.UUID productId,
                                              java.util.UUID configId,
                                              java.util.UUID environmentId,
                                              AuditLogType auditLogType,
                                              java.time.OffsetDateTime fromUtcDateTime,
                                              java.time.OffsetDateTime toUtcDateTime,
                                              ApiCallback<java.util.List<AuditLogItemModel>> _callback)
                                       throws ApiException
        List Audit log items for Product (asynchronously) This endpoint returns the list of Audit log items for a given Product and the result can be optionally filtered by Config and/or Environment.
        Parameters:
        productId - The identifier of the Product. (required)
        configId - The identifier of the Config. (optional)
        environmentId - The identifier of the Environment. (optional)
        auditLogType - Filter Audit logs by Audit log type. (optional)
        fromUtcDateTime - Filter Audit logs by starting UTC date. (optional)
        toUtcDateTime - Filter Audit logs by ending UTC date. (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
        Http Response Details
        Status Code Description Response Headers
        200 -
        400 Bad request. -
        404 Not found. -
        429 Too many requests. In case of the request rate exceeds the rate limits. -
      • getDeletedSettingsCall

        public okhttp3.Call getDeletedSettingsCall​(java.util.UUID configId,
                                                   ApiCallback _callback)
                                            throws ApiException
        Build call for getDeletedSettings
        Parameters:
        configId - The identifier of the Config. (required)
        _callback - Callback for upload/download progress
        Returns:
        Call to execute
        Throws:
        ApiException - If fail to serialize the request body object
        Http Response Details
        Status Code Description Response Headers
        200 -
        400 Bad request. -
        404 Not found. -
        429 Too many requests. In case of the request rate exceeds the rate limits. -
      • getDeletedSettings

        public java.util.List<SettingModel> getDeletedSettings​(java.util.UUID configId)
                                                        throws ApiException
        List Deleted Settings This endpoint returns the list of Feature Flags and Settings that were deleted from the given Config.
        Parameters:
        configId - The identifier of the Config. (required)
        Returns:
        List<SettingModel>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        Http Response Details
        Status Code Description Response Headers
        200 -
        400 Bad request. -
        404 Not found. -
        429 Too many requests. In case of the request rate exceeds the rate limits. -
      • getDeletedSettingsWithHttpInfo

        public ApiResponse<java.util.List<SettingModel>> getDeletedSettingsWithHttpInfo​(java.util.UUID configId)
                                                                                 throws ApiException
        List Deleted Settings This endpoint returns the list of Feature Flags and Settings that were deleted from the given Config.
        Parameters:
        configId - The identifier of the Config. (required)
        Returns:
        ApiResponse<List<SettingModel>>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        Http Response Details
        Status Code Description Response Headers
        200 -
        400 Bad request. -
        404 Not found. -
        429 Too many requests. In case of the request rate exceeds the rate limits. -
      • getDeletedSettingsAsync

        public okhttp3.Call getDeletedSettingsAsync​(java.util.UUID configId,
                                                    ApiCallback<java.util.List<SettingModel>> _callback)
                                             throws ApiException
        List Deleted Settings (asynchronously) This endpoint returns the list of Feature Flags and Settings that were deleted from the given Config.
        Parameters:
        configId - The identifier of the Config. (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
        Http Response Details
        Status Code Description Response Headers
        200 -
        400 Bad request. -
        404 Not found. -
        429 Too many requests. In case of the request rate exceeds the rate limits. -
      • getOrganizationAuditlogsCall

        public okhttp3.Call getOrganizationAuditlogsCall​(java.util.UUID organizationId,
                                                         java.util.UUID productId,
                                                         java.util.UUID configId,
                                                         java.util.UUID environmentId,
                                                         AuditLogType auditLogType,
                                                         java.time.OffsetDateTime fromUtcDateTime,
                                                         java.time.OffsetDateTime toUtcDateTime,
                                                         ApiCallback _callback)
                                                  throws ApiException
        Build call for getOrganizationAuditlogs
        Parameters:
        organizationId - The identifier of the Organization. (required)
        productId - The identifier of the Product. (optional)
        configId - The identifier of the Config. (optional)
        environmentId - The identifier of the Environment. (optional)
        auditLogType - Filter Audit logs by Audit log type. (optional)
        fromUtcDateTime - Filter Audit logs by starting UTC date. (optional)
        toUtcDateTime - Filter Audit logs by ending UTC date. (optional)
        _callback - Callback for upload/download progress
        Returns:
        Call to execute
        Throws:
        ApiException - If fail to serialize the request body object
        Http Response Details
        Status Code Description Response Headers
        200 -
        400 Bad request. -
        404 Not found. -
        429 Too many requests. In case of the request rate exceeds the rate limits. -
      • getOrganizationAuditlogs

        public java.util.List<AuditLogItemModel> getOrganizationAuditlogs​(java.util.UUID organizationId,
                                                                          java.util.UUID productId,
                                                                          java.util.UUID configId,
                                                                          java.util.UUID environmentId,
                                                                          AuditLogType auditLogType,
                                                                          java.time.OffsetDateTime fromUtcDateTime,
                                                                          java.time.OffsetDateTime toUtcDateTime)
                                                                   throws ApiException
        List Audit log items for Organization This endpoint returns the list of Audit log items for a given Organization and the result can be optionally filtered by Product and/or Config and/or Environment.
        Parameters:
        organizationId - The identifier of the Organization. (required)
        productId - The identifier of the Product. (optional)
        configId - The identifier of the Config. (optional)
        environmentId - The identifier of the Environment. (optional)
        auditLogType - Filter Audit logs by Audit log type. (optional)
        fromUtcDateTime - Filter Audit logs by starting UTC date. (optional)
        toUtcDateTime - Filter Audit logs by ending UTC date. (optional)
        Returns:
        List<AuditLogItemModel>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        Http Response Details
        Status Code Description Response Headers
        200 -
        400 Bad request. -
        404 Not found. -
        429 Too many requests. In case of the request rate exceeds the rate limits. -
      • getOrganizationAuditlogsWithHttpInfo

        public ApiResponse<java.util.List<AuditLogItemModel>> getOrganizationAuditlogsWithHttpInfo​(java.util.UUID organizationId,
                                                                                                   java.util.UUID productId,
                                                                                                   java.util.UUID configId,
                                                                                                   java.util.UUID environmentId,
                                                                                                   AuditLogType auditLogType,
                                                                                                   java.time.OffsetDateTime fromUtcDateTime,
                                                                                                   java.time.OffsetDateTime toUtcDateTime)
                                                                                            throws ApiException
        List Audit log items for Organization This endpoint returns the list of Audit log items for a given Organization and the result can be optionally filtered by Product and/or Config and/or Environment.
        Parameters:
        organizationId - The identifier of the Organization. (required)
        productId - The identifier of the Product. (optional)
        configId - The identifier of the Config. (optional)
        environmentId - The identifier of the Environment. (optional)
        auditLogType - Filter Audit logs by Audit log type. (optional)
        fromUtcDateTime - Filter Audit logs by starting UTC date. (optional)
        toUtcDateTime - Filter Audit logs by ending UTC date. (optional)
        Returns:
        ApiResponse<List<AuditLogItemModel>>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        Http Response Details
        Status Code Description Response Headers
        200 -
        400 Bad request. -
        404 Not found. -
        429 Too many requests. In case of the request rate exceeds the rate limits. -
      • getOrganizationAuditlogsAsync

        public okhttp3.Call getOrganizationAuditlogsAsync​(java.util.UUID organizationId,
                                                          java.util.UUID productId,
                                                          java.util.UUID configId,
                                                          java.util.UUID environmentId,
                                                          AuditLogType auditLogType,
                                                          java.time.OffsetDateTime fromUtcDateTime,
                                                          java.time.OffsetDateTime toUtcDateTime,
                                                          ApiCallback<java.util.List<AuditLogItemModel>> _callback)
                                                   throws ApiException
        List Audit log items for Organization (asynchronously) This endpoint returns the list of Audit log items for a given Organization and the result can be optionally filtered by Product and/or Config and/or Environment.
        Parameters:
        organizationId - The identifier of the Organization. (required)
        productId - The identifier of the Product. (optional)
        configId - The identifier of the Config. (optional)
        environmentId - The identifier of the Environment. (optional)
        auditLogType - Filter Audit logs by Audit log type. (optional)
        fromUtcDateTime - Filter Audit logs by starting UTC date. (optional)
        toUtcDateTime - Filter Audit logs by ending UTC date. (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
        Http Response Details
        Status Code Description Response Headers
        200 -
        400 Bad request. -
        404 Not found. -
        429 Too many requests. In case of the request rate exceeds the rate limits. -