public class CustomRulesIndividualApi extends Object
| Constructor and Description |
|---|
CustomRulesIndividualApi() |
CustomRulesIndividualApi(ApiClient apiClient) |
| Modifier and Type | Method and Description |
|---|---|
ApiClient |
getApiClient() |
void |
setApiClient(ApiClient apiClient) |
void |
throttlingPoliciesCustomRuleIdDelete(String ruleId,
String ifMatch,
String ifUnmodifiedSince)
Delete a Custom Rule
Delete a custom rule.
|
okhttp3.Call |
throttlingPoliciesCustomRuleIdDeleteAsync(String ruleId,
String ifMatch,
String ifUnmodifiedSince,
ApiCallback<Void> _callback)
Delete a Custom Rule (asynchronously)
Delete a custom rule.
|
okhttp3.Call |
throttlingPoliciesCustomRuleIdDeleteCall(String ruleId,
String ifMatch,
String ifUnmodifiedSince,
ApiCallback _callback)
Build call for throttlingPoliciesCustomRuleIdDelete
|
ApiResponse<Void> |
throttlingPoliciesCustomRuleIdDeleteWithHttpInfo(String ruleId,
String ifMatch,
String ifUnmodifiedSince)
Delete a Custom Rule
Delete a custom rule.
|
CustomRuleDTO |
throttlingPoliciesCustomRuleIdGet(String ruleId,
String ifNoneMatch,
String ifModifiedSince)
Get a Custom Rule
Retrieves a custom rule.
|
okhttp3.Call |
throttlingPoliciesCustomRuleIdGetAsync(String ruleId,
String ifNoneMatch,
String ifModifiedSince,
ApiCallback<CustomRuleDTO> _callback)
Get a Custom Rule (asynchronously)
Retrieves a custom rule.
|
okhttp3.Call |
throttlingPoliciesCustomRuleIdGetCall(String ruleId,
String ifNoneMatch,
String ifModifiedSince,
ApiCallback _callback)
Build call for throttlingPoliciesCustomRuleIdGet
|
ApiResponse<CustomRuleDTO> |
throttlingPoliciesCustomRuleIdGetWithHttpInfo(String ruleId,
String ifNoneMatch,
String ifModifiedSince)
Get a Custom Rule
Retrieves a custom rule.
|
CustomRuleDTO |
throttlingPoliciesCustomRuleIdPut(String ruleId,
String contentType,
CustomRuleDTO customRuleDTO,
String ifMatch,
String ifUnmodifiedSince)
Update a Custom Rule
Updates an existing custom rule.
|
okhttp3.Call |
throttlingPoliciesCustomRuleIdPutAsync(String ruleId,
String contentType,
CustomRuleDTO customRuleDTO,
String ifMatch,
String ifUnmodifiedSince,
ApiCallback<CustomRuleDTO> _callback)
Update a Custom Rule (asynchronously)
Updates an existing custom rule.
|
okhttp3.Call |
throttlingPoliciesCustomRuleIdPutCall(String ruleId,
String contentType,
CustomRuleDTO customRuleDTO,
String ifMatch,
String ifUnmodifiedSince,
ApiCallback _callback)
Build call for throttlingPoliciesCustomRuleIdPut
|
ApiResponse<CustomRuleDTO> |
throttlingPoliciesCustomRuleIdPutWithHttpInfo(String ruleId,
String contentType,
CustomRuleDTO customRuleDTO,
String ifMatch,
String ifUnmodifiedSince)
Update a Custom Rule
Updates an existing custom rule.
|
public CustomRulesIndividualApi()
public CustomRulesIndividualApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public okhttp3.Call throttlingPoliciesCustomRuleIdDeleteCall(String ruleId, String ifMatch, String ifUnmodifiedSince, ApiCallback _callback) throws ApiException
ruleId - Custom rule UUID (required)ifMatch - Validator for conditional requests; based on ETag (Will be supported in future). (optional)ifUnmodifiedSince - Validator for conditional requests; based on Last Modified header (Will be supported in future). (optional)_callback - Callback for upload/download progressApiException - If fail to serialize the request body objectpublic void throttlingPoliciesCustomRuleIdDelete(String ruleId, String ifMatch, String ifUnmodifiedSince) throws ApiException
ruleId - Custom rule UUID (required)ifMatch - Validator for conditional requests; based on ETag (Will be supported in future). (optional)ifUnmodifiedSince - Validator for conditional requests; based on Last Modified header (Will be supported in future). (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<Void> throttlingPoliciesCustomRuleIdDeleteWithHttpInfo(String ruleId, String ifMatch, String ifUnmodifiedSince) throws ApiException
ruleId - Custom rule UUID (required)ifMatch - Validator for conditional requests; based on ETag (Will be supported in future). (optional)ifUnmodifiedSince - Validator for conditional requests; based on Last Modified header (Will be supported in future). (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic okhttp3.Call throttlingPoliciesCustomRuleIdDeleteAsync(String ruleId, String ifMatch, String ifUnmodifiedSince, ApiCallback<Void> _callback) throws ApiException
ruleId - Custom rule UUID (required)ifMatch - Validator for conditional requests; based on ETag (Will be supported in future). (optional)ifUnmodifiedSince - Validator for conditional requests; based on Last Modified header (Will be supported in future). (optional)_callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body objectpublic okhttp3.Call throttlingPoliciesCustomRuleIdGetCall(String ruleId, String ifNoneMatch, String ifModifiedSince, ApiCallback _callback) throws ApiException
ruleId - Custom rule UUID (required)ifNoneMatch - Validator for conditional requests; based on the ETag of the formerly retrieved variant of the resource (Will be supported in future). (optional)ifModifiedSince - Validator for conditional requests; based on Last Modified header of the formerly retrieved variant of the resource (Will be supported in future). (optional)_callback - Callback for upload/download progressApiException - If fail to serialize the request body objectpublic CustomRuleDTO throttlingPoliciesCustomRuleIdGet(String ruleId, String ifNoneMatch, String ifModifiedSince) throws ApiException
ruleId - Custom rule UUID (required)ifNoneMatch - Validator for conditional requests; based on the ETag of the formerly retrieved variant of the resource (Will be supported in future). (optional)ifModifiedSince - Validator for conditional requests; based on Last Modified header of the formerly retrieved variant of the resource (Will be supported in future). (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<CustomRuleDTO> throttlingPoliciesCustomRuleIdGetWithHttpInfo(String ruleId, String ifNoneMatch, String ifModifiedSince) throws ApiException
ruleId - Custom rule UUID (required)ifNoneMatch - Validator for conditional requests; based on the ETag of the formerly retrieved variant of the resource (Will be supported in future). (optional)ifModifiedSince - Validator for conditional requests; based on Last Modified header of the formerly retrieved variant of the resource (Will be supported in future). (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic okhttp3.Call throttlingPoliciesCustomRuleIdGetAsync(String ruleId, String ifNoneMatch, String ifModifiedSince, ApiCallback<CustomRuleDTO> _callback) throws ApiException
ruleId - Custom rule UUID (required)ifNoneMatch - Validator for conditional requests; based on the ETag of the formerly retrieved variant of the resource (Will be supported in future). (optional)ifModifiedSince - Validator for conditional requests; based on Last Modified header of the formerly retrieved variant of the resource (Will be supported in future). (optional)_callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body objectpublic okhttp3.Call throttlingPoliciesCustomRuleIdPutCall(String ruleId, String contentType, CustomRuleDTO customRuleDTO, String ifMatch, String ifUnmodifiedSince, ApiCallback _callback) throws ApiException
ruleId - Custom rule UUID (required)contentType - Media type of the entity in the body. Default is application/json. (required)customRuleDTO - Policy object that needs to be modified (required)ifMatch - Validator for conditional requests; based on ETag (Will be supported in future). (optional)ifUnmodifiedSince - Validator for conditional requests; based on Last Modified header (Will be supported in future). (optional)_callback - Callback for upload/download progressApiException - If fail to serialize the request body objectpublic CustomRuleDTO throttlingPoliciesCustomRuleIdPut(String ruleId, String contentType, CustomRuleDTO customRuleDTO, String ifMatch, String ifUnmodifiedSince) throws ApiException
ruleId - Custom rule UUID (required)contentType - Media type of the entity in the body. Default is application/json. (required)customRuleDTO - Policy object that needs to be modified (required)ifMatch - Validator for conditional requests; based on ETag (Will be supported in future). (optional)ifUnmodifiedSince - Validator for conditional requests; based on Last Modified header (Will be supported in future). (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<CustomRuleDTO> throttlingPoliciesCustomRuleIdPutWithHttpInfo(String ruleId, String contentType, CustomRuleDTO customRuleDTO, String ifMatch, String ifUnmodifiedSince) throws ApiException
ruleId - Custom rule UUID (required)contentType - Media type of the entity in the body. Default is application/json. (required)customRuleDTO - Policy object that needs to be modified (required)ifMatch - Validator for conditional requests; based on ETag (Will be supported in future). (optional)ifUnmodifiedSince - Validator for conditional requests; based on Last Modified header (Will be supported in future). (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic okhttp3.Call throttlingPoliciesCustomRuleIdPutAsync(String ruleId, String contentType, CustomRuleDTO customRuleDTO, String ifMatch, String ifUnmodifiedSince, ApiCallback<CustomRuleDTO> _callback) throws ApiException
ruleId - Custom rule UUID (required)contentType - Media type of the entity in the body. Default is application/json. (required)customRuleDTO - Policy object that needs to be modified (required)ifMatch - Validator for conditional requests; based on ETag (Will be supported in future). (optional)ifUnmodifiedSince - Validator for conditional requests; based on Last Modified header (Will be supported in future). (optional)_callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body objectCopyright © 2021 WSO2 Inc. All rights reserved.