java.lang.Object
org.wso2.am.integration.clients.publisher.api.v1.ApiAuditApi

public class ApiAuditApi extends Object
  • Constructor Details

    • ApiAuditApi

      public ApiAuditApi()
    • ApiAuditApi

      public ApiAuditApi(ApiClient apiClient)
  • Method Details

    • getApiClient

      public ApiClient getApiClient()
    • setApiClient

      public void setApiClient(ApiClient apiClient)
    • getAuditReportOfAPICall

      public okhttp3.Call getAuditReportOfAPICall(String apiId, String accept, ApiCallback _callback) throws ApiException
      Build call for getAuditReportOfAPI
      Parameters:
      apiId - **API ID** consisting of the **UUID** of the API. (required)
      accept - Media types acceptable for the response. Default is application/json. (optional, default to "application/json")
      _callback - Callback for upload/download progress
      Returns:
      Call to execute
      Throws:
      ApiException - If fail to serialize the request body object
    • getAuditReportOfAPI

      public AuditReportDTO getAuditReportOfAPI(String apiId, String accept) throws ApiException
      Retrieve the Security Audit Report of the Audit API Retrieve the Security Audit Report of the Audit API
      Parameters:
      apiId - **API ID** consisting of the **UUID** of the API. (required)
      accept - Media types acceptable for the response. Default is application/json. (optional, default to "application/json")
      Returns:
      AuditReportDTO
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • getAuditReportOfAPIWithHttpInfo

      public ApiResponse<AuditReportDTO> getAuditReportOfAPIWithHttpInfo(String apiId, String accept) throws ApiException
      Retrieve the Security Audit Report of the Audit API Retrieve the Security Audit Report of the Audit API
      Parameters:
      apiId - **API ID** consisting of the **UUID** of the API. (required)
      accept - Media types acceptable for the response. Default is application/json. (optional, default to "application/json")
      Returns:
      ApiResponse<AuditReportDTO>
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • getAuditReportOfAPIAsync

      public okhttp3.Call getAuditReportOfAPIAsync(String apiId, String accept, ApiCallback<AuditReportDTO> _callback) throws ApiException
      Retrieve the Security Audit Report of the Audit API (asynchronously) Retrieve the Security Audit Report of the Audit API
      Parameters:
      apiId - **API ID** consisting of the **UUID** of the API. (required)
      accept - Media types acceptable for the response. Default is application/json. (optional, default to "application/json")
      _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