Class LinterCustomRulesApi

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

public class LinterCustomRulesApi extends Object
  • Constructor Details

    • LinterCustomRulesApi

      public LinterCustomRulesApi()
    • LinterCustomRulesApi

      public LinterCustomRulesApi(ApiClient apiClient)
  • Method Details

    • getApiClient

      public ApiClient getApiClient()
    • setApiClient

      public void setApiClient(ApiClient apiClient)
    • getLinterCustomRulesCall

      public okhttp3.Call getLinterCustomRulesCall(ApiCallback _callback) throws ApiException
      Build call for getLinterCustomRules
      Parameters:
      _callback - Callback for upload/download progress
      Returns:
      Call to execute
      Throws:
      ApiException - If fail to serialize the request body object
    • getLinterCustomRules

      public String getLinterCustomRules() throws ApiException
      Get linter custom rules. This operation can be used to get linter custom rules from tenant-config.
      Returns:
      String
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • getLinterCustomRulesWithHttpInfo

      public ApiResponse<String> getLinterCustomRulesWithHttpInfo() throws ApiException
      Get linter custom rules. This operation can be used to get linter custom rules from tenant-config.
      Returns:
      ApiResponse<String>
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • getLinterCustomRulesAsync

      public okhttp3.Call getLinterCustomRulesAsync(ApiCallback<String> _callback) throws ApiException
      Get linter custom rules. (asynchronously) This operation can be used to get linter custom rules from tenant-config.
      Parameters:
      _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