public class DenyPoliciesCollectionApi extends Object
| Constructor and Description |
|---|
DenyPoliciesCollectionApi() |
DenyPoliciesCollectionApi(ApiClient apiClient) |
| Modifier and Type | Method and Description |
|---|---|
ApiClient |
getApiClient() |
void |
setApiClient(ApiClient apiClient) |
BlockingConditionListDTO |
throttlingDenyPoliciesGet(String accept,
String ifNoneMatch,
String ifModifiedSince)
Get all Deny Policies
Retrieves all existing deny policies.
|
okhttp3.Call |
throttlingDenyPoliciesGetAsync(String accept,
String ifNoneMatch,
String ifModifiedSince,
ApiCallback<BlockingConditionListDTO> _callback)
Get all Deny Policies (asynchronously)
Retrieves all existing deny policies.
|
okhttp3.Call |
throttlingDenyPoliciesGetCall(String accept,
String ifNoneMatch,
String ifModifiedSince,
ApiCallback _callback)
Build call for throttlingDenyPoliciesGet
|
ApiResponse<BlockingConditionListDTO> |
throttlingDenyPoliciesGetWithHttpInfo(String accept,
String ifNoneMatch,
String ifModifiedSince)
Get all Deny Policies
Retrieves all existing deny policies.
|
BlockingConditionDTO |
throttlingDenyPoliciesPost(String contentType,
BlockingConditionDTO blockingConditionDTO)
Add a deny policy
Adds a new deny policy
|
okhttp3.Call |
throttlingDenyPoliciesPostAsync(String contentType,
BlockingConditionDTO blockingConditionDTO,
ApiCallback<BlockingConditionDTO> _callback)
Add a deny policy (asynchronously)
Adds a new deny policy
|
okhttp3.Call |
throttlingDenyPoliciesPostCall(String contentType,
BlockingConditionDTO blockingConditionDTO,
ApiCallback _callback)
Build call for throttlingDenyPoliciesPost
|
ApiResponse<BlockingConditionDTO> |
throttlingDenyPoliciesPostWithHttpInfo(String contentType,
BlockingConditionDTO blockingConditionDTO)
Add a deny policy
Adds a new deny policy
|
public DenyPoliciesCollectionApi()
public DenyPoliciesCollectionApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public okhttp3.Call throttlingDenyPoliciesGetCall(String accept, String ifNoneMatch, String ifModifiedSince, ApiCallback _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 - Callback for upload/download progressApiException - If fail to serialize the request body objectpublic BlockingConditionListDTO throttlingDenyPoliciesGet(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<BlockingConditionListDTO> throttlingDenyPoliciesGetWithHttpInfo(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 okhttp3.Call throttlingDenyPoliciesGetAsync(String accept, String ifNoneMatch, String ifModifiedSince, ApiCallback<BlockingConditionListDTO> _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 okhttp3.Call throttlingDenyPoliciesPostCall(String contentType, BlockingConditionDTO blockingConditionDTO, ApiCallback _callback) throws ApiException
contentType - Media type of the entity in the body. Default is application/json. (required)blockingConditionDTO - Blocking condition object that should to be added (required)_callback - Callback for upload/download progressApiException - If fail to serialize the request body objectpublic BlockingConditionDTO throttlingDenyPoliciesPost(String contentType, BlockingConditionDTO blockingConditionDTO) throws ApiException
contentType - Media type of the entity in the body. Default is application/json. (required)blockingConditionDTO - Blocking condition object that should to be added (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<BlockingConditionDTO> throttlingDenyPoliciesPostWithHttpInfo(String contentType, BlockingConditionDTO blockingConditionDTO) throws ApiException
contentType - Media type of the entity in the body. Default is application/json. (required)blockingConditionDTO - Blocking condition object that should to be added (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic okhttp3.Call throttlingDenyPoliciesPostAsync(String contentType, BlockingConditionDTO blockingConditionDTO, ApiCallback<BlockingConditionDTO> _callback) throws ApiException
contentType - Media type of the entity in the body. Default is application/json. (required)blockingConditionDTO - Blocking condition object that should to be added (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 © 2021 WSO2 Inc. All rights reserved.