Class LinterCustomRulesApi
- java.lang.Object
-
- org.wso2.am.integration.clients.publisher.api.v1.LinterCustomRulesApi
-
public class LinterCustomRulesApi extends Object
-
-
Constructor Summary
Constructors Constructor Description LinterCustomRulesApi()LinterCustomRulesApi(ApiClient apiClient)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ApiClientgetApiClient()StringgetLinterCustomRules()Get linter custom rules.okhttp3.CallgetLinterCustomRulesAsync(ApiCallback<String> _callback)Get linter custom rules.okhttp3.CallgetLinterCustomRulesCall(ApiCallback _callback)Build call for getLinterCustomRulesApiResponse<String>getLinterCustomRulesWithHttpInfo()Get linter custom rules.voidsetApiClient(ApiClient apiClient)
-
-
-
Constructor Detail
-
LinterCustomRulesApi
public LinterCustomRulesApi()
-
LinterCustomRulesApi
public LinterCustomRulesApi(ApiClient apiClient)
-
-
Method Detail
-
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
-
-