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.
|
com.squareup.okhttp.Call |
throttlingPoliciesCustomRuleIdDeleteAsync(String ruleId,
String ifMatch,
String ifUnmodifiedSince,
ApiCallback<Void> callback)
Delete a Custom Rule (asynchronously)
Delete a Custom Rule.
|
ApiResponse<Void> |
throttlingPoliciesCustomRuleIdDeleteWithHttpInfo(String ruleId,
String ifMatch,
String ifUnmodifiedSince)
Delete a Custom Rule
Delete a Custom Rule.
|
CustomRule |
throttlingPoliciesCustomRuleIdGet(String ruleId,
String ifNoneMatch,
String ifModifiedSince)
Get a Custom Rule
Retrieves a Custom Rule.
|
com.squareup.okhttp.Call |
throttlingPoliciesCustomRuleIdGetAsync(String ruleId,
String ifNoneMatch,
String ifModifiedSince,
ApiCallback<CustomRule> callback)
Get a Custom Rule (asynchronously)
Retrieves a Custom Rule.
|
ApiResponse<CustomRule> |
throttlingPoliciesCustomRuleIdGetWithHttpInfo(String ruleId,
String ifNoneMatch,
String ifModifiedSince)
Get a Custom Rule
Retrieves a Custom Rule.
|
CustomRule |
throttlingPoliciesCustomRuleIdPut(String ruleId,
CustomRule body,
String contentType,
String ifMatch,
String ifUnmodifiedSince)
Update a Custom Rule
Updates an existing Custom Rule.
|
com.squareup.okhttp.Call |
throttlingPoliciesCustomRuleIdPutAsync(String ruleId,
CustomRule body,
String contentType,
String ifMatch,
String ifUnmodifiedSince,
ApiCallback<CustomRule> callback)
Update a Custom Rule (asynchronously)
Updates an existing Custom Rule.
|
ApiResponse<CustomRule> |
throttlingPoliciesCustomRuleIdPutWithHttpInfo(String ruleId,
CustomRule body,
String contentType,
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 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 com.squareup.okhttp.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 CustomRule 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<CustomRule> 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 com.squareup.okhttp.Call throttlingPoliciesCustomRuleIdGetAsync(String ruleId, String ifNoneMatch, String ifModifiedSince, ApiCallback<CustomRule> 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 CustomRule throttlingPoliciesCustomRuleIdPut(String ruleId, CustomRule body, String contentType, String ifMatch, String ifUnmodifiedSince) throws ApiException
ruleId - Custom rule UUID (required)body - Policy object that needs to be modified (required)contentType - Media type of the entity in the body. Default is application/json. (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<CustomRule> throttlingPoliciesCustomRuleIdPutWithHttpInfo(String ruleId, CustomRule body, String contentType, String ifMatch, String ifUnmodifiedSince) throws ApiException
ruleId - Custom rule UUID (required)body - Policy object that needs to be modified (required)contentType - Media type of the entity in the body. Default is application/json. (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 com.squareup.okhttp.Call throttlingPoliciesCustomRuleIdPutAsync(String ruleId, CustomRule body, String contentType, String ifMatch, String ifUnmodifiedSince, ApiCallback<CustomRule> callback) throws ApiException
ruleId - Custom rule UUID (required)body - Policy object that needs to be modified (required)contentType - Media type of the entity in the body. Default is application/json. (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 © 2018 WSO2 Inc. All rights reserved.