public class BlacklistCollectionApi extends Object
| Constructor and Description |
|---|
BlacklistCollectionApi() |
BlacklistCollectionApi(ApiClient apiClient) |
| Modifier and Type | Method and Description |
|---|---|
ApiClient |
getApiClient() |
void |
setApiClient(ApiClient apiClient) |
BlockingConditionListDTO |
throttlingBlacklistGet(String accept,
String ifNoneMatch,
String ifModifiedSince)
Get all blocking condtions
Retrieves all existing blocking condtions.
|
com.squareup.okhttp.Call |
throttlingBlacklistGetAsync(String accept,
String ifNoneMatch,
String ifModifiedSince,
ApiCallback<BlockingConditionListDTO> callback)
Get all blocking condtions (asynchronously)
Retrieves all existing blocking condtions.
|
com.squareup.okhttp.Call |
throttlingBlacklistGetCall(String accept,
String ifNoneMatch,
String ifModifiedSince,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for throttlingBlacklistGet
|
ApiResponse<BlockingConditionListDTO> |
throttlingBlacklistGetWithHttpInfo(String accept,
String ifNoneMatch,
String ifModifiedSince)
Get all blocking condtions
Retrieves all existing blocking condtions.
|
BlockingConditionDTO |
throttlingBlacklistPost(BlockingConditionDTO body,
String contentType)
Add a Blocking condition
Adds a new Blocking condition.
|
com.squareup.okhttp.Call |
throttlingBlacklistPostAsync(BlockingConditionDTO body,
String contentType,
ApiCallback<BlockingConditionDTO> callback)
Add a Blocking condition (asynchronously)
Adds a new Blocking condition.
|
com.squareup.okhttp.Call |
throttlingBlacklistPostCall(BlockingConditionDTO body,
String contentType,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for throttlingBlacklistPost
|
ApiResponse<BlockingConditionDTO> |
throttlingBlacklistPostWithHttpInfo(BlockingConditionDTO body,
String contentType)
Add a Blocking condition
Adds a new Blocking condition.
|
public BlacklistCollectionApi()
public BlacklistCollectionApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public com.squareup.okhttp.Call throttlingBlacklistGetCall(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 BlockingConditionListDTO throttlingBlacklistGet(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> throttlingBlacklistGetWithHttpInfo(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 throttlingBlacklistGetAsync(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 com.squareup.okhttp.Call throttlingBlacklistPostCall(BlockingConditionDTO body, String contentType, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
body - Blocking condition 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 BlockingConditionDTO throttlingBlacklistPost(BlockingConditionDTO body, String contentType) throws ApiException
body - Blocking condition 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<BlockingConditionDTO> throttlingBlacklistPostWithHttpInfo(BlockingConditionDTO body, String contentType) throws ApiException
body - Blocking condition 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 throttlingBlacklistPostAsync(BlockingConditionDTO body, String contentType, ApiCallback<BlockingConditionDTO> callback) throws ApiException
body - Blocking condition 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.