public class CustomRulesCollectionApi extends Object
| Constructor and Description |
|---|
CustomRulesCollectionApi() |
CustomRulesCollectionApi(ApiClient apiClient) |
| Modifier and Type | Method and Description |
|---|---|
ApiClient |
getApiClient() |
void |
setApiClient(ApiClient apiClient) |
CustomRuleListDTO |
throttlingPoliciesCustomGet(String accept,
String ifNoneMatch,
String ifModifiedSince)
Get all Custom Rules
Retrieves all Custom Rules.
|
com.squareup.okhttp.Call |
throttlingPoliciesCustomGetAsync(String accept,
String ifNoneMatch,
String ifModifiedSince,
ApiCallback<CustomRuleListDTO> callback)
Get all Custom Rules (asynchronously)
Retrieves all Custom Rules.
|
com.squareup.okhttp.Call |
throttlingPoliciesCustomGetCall(String accept,
String ifNoneMatch,
String ifModifiedSince,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for throttlingPoliciesCustomGet
|
ApiResponse<CustomRuleListDTO> |
throttlingPoliciesCustomGetWithHttpInfo(String accept,
String ifNoneMatch,
String ifModifiedSince)
Get all Custom Rules
Retrieves all Custom Rules.
|
CustomRuleDTO |
throttlingPoliciesCustomPost(CustomRuleDTO body,
String contentType)
Add a Custom Rule
Adds a new Custom Rule.
|
com.squareup.okhttp.Call |
throttlingPoliciesCustomPostAsync(CustomRuleDTO body,
String contentType,
ApiCallback<CustomRuleDTO> callback)
Add a Custom Rule (asynchronously)
Adds a new Custom Rule.
|
com.squareup.okhttp.Call |
throttlingPoliciesCustomPostCall(CustomRuleDTO body,
String contentType,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for throttlingPoliciesCustomPost
|
ApiResponse<CustomRuleDTO> |
throttlingPoliciesCustomPostWithHttpInfo(CustomRuleDTO body,
String contentType)
Add a Custom Rule
Adds a new Custom Rule.
|
public CustomRulesCollectionApi()
public CustomRulesCollectionApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public com.squareup.okhttp.Call throttlingPoliciesCustomGetCall(String accept, String ifNoneMatch, String ifModifiedSince, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
accept - Media types acceptable for the response. Default is application/json. (optional, default to application/json)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)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic CustomRuleListDTO throttlingPoliciesCustomGet(String accept, String ifNoneMatch, String ifModifiedSince) throws ApiException
accept - Media types acceptable for the response. Default is application/json. (optional, default to application/json)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<CustomRuleListDTO> throttlingPoliciesCustomGetWithHttpInfo(String accept, String ifNoneMatch, String ifModifiedSince) throws ApiException
accept - Media types acceptable for the response. Default is application/json. (optional, default to application/json)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 throttlingPoliciesCustomGetAsync(String accept, String ifNoneMatch, String ifModifiedSince, ApiCallback<CustomRuleListDTO> callback) throws ApiException
accept - Media types acceptable for the response. Default is application/json. (optional, default to application/json)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 com.squareup.okhttp.Call throttlingPoliciesCustomPostCall(CustomRuleDTO body, String contentType, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
body - Custom Rule object that should to be added (required)contentType - Media type of the entity in the body. Default is application/json. (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic CustomRuleDTO throttlingPoliciesCustomPost(CustomRuleDTO body, String contentType) throws ApiException
body - Custom Rule object that should to be added (required)contentType - Media type of the entity in the body. Default is application/json. (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<CustomRuleDTO> throttlingPoliciesCustomPostWithHttpInfo(CustomRuleDTO body, String contentType) throws ApiException
body - Custom Rule object that should to be added (required)contentType - Media type of the entity in the body. Default is application/json. (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call throttlingPoliciesCustomPostAsync(CustomRuleDTO body, String contentType, ApiCallback<CustomRuleDTO> callback) throws ApiException
body - Custom Rule object that should to be added (required)contentType - Media type of the entity in the body. Default is application/json. (required)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 © 2020 WSO2 Inc. All rights reserved.