Class DenyPolicyIndividualApi
java.lang.Object
org.wso2.am.integration.clients.admin.api.DenyPolicyIndividualApi
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidsetApiClient(ApiClient apiClient) voidthrottlingDenyPolicyConditionIdDelete(String conditionId, String ifMatch, String ifUnmodifiedSince) Delete a Deny Policy Deletes an existing deny policyokhttp3.CallthrottlingDenyPolicyConditionIdDeleteAsync(String conditionId, String ifMatch, String ifUnmodifiedSince, ApiCallback<Void> _callback) Delete a Deny Policy (asynchronously) Deletes an existing deny policyokhttp3.CallthrottlingDenyPolicyConditionIdDeleteCall(String conditionId, String ifMatch, String ifUnmodifiedSince, ApiCallback _callback) Build call for throttlingDenyPolicyConditionIdDeletethrottlingDenyPolicyConditionIdDeleteWithHttpInfo(String conditionId, String ifMatch, String ifUnmodifiedSince) Delete a Deny Policy Deletes an existing deny policythrottlingDenyPolicyConditionIdGet(String conditionId, String ifNoneMatch, String ifModifiedSince) Get a Deny Policy Retrieves a Deny policy providing the condition Idokhttp3.CallthrottlingDenyPolicyConditionIdGetAsync(String conditionId, String ifNoneMatch, String ifModifiedSince, ApiCallback<BlockingConditionDTO> _callback) Get a Deny Policy (asynchronously) Retrieves a Deny policy providing the condition Idokhttp3.CallthrottlingDenyPolicyConditionIdGetCall(String conditionId, String ifNoneMatch, String ifModifiedSince, ApiCallback _callback) Build call for throttlingDenyPolicyConditionIdGetthrottlingDenyPolicyConditionIdGetWithHttpInfo(String conditionId, String ifNoneMatch, String ifModifiedSince) Get a Deny Policy Retrieves a Deny policy providing the condition IdthrottlingDenyPolicyConditionIdPatch(String conditionId, String contentType, BlockingConditionStatusDTO blockingConditionStatusDTO, String ifMatch, String ifUnmodifiedSince) Update a Deny Policy Update a deny policy by Idokhttp3.CallthrottlingDenyPolicyConditionIdPatchAsync(String conditionId, String contentType, BlockingConditionStatusDTO blockingConditionStatusDTO, String ifMatch, String ifUnmodifiedSince, ApiCallback<BlockingConditionDTO> _callback) Update a Deny Policy (asynchronously) Update a deny policy by Idokhttp3.CallthrottlingDenyPolicyConditionIdPatchCall(String conditionId, String contentType, BlockingConditionStatusDTO blockingConditionStatusDTO, String ifMatch, String ifUnmodifiedSince, ApiCallback _callback) Build call for throttlingDenyPolicyConditionIdPatchthrottlingDenyPolicyConditionIdPatchWithHttpInfo(String conditionId, String contentType, BlockingConditionStatusDTO blockingConditionStatusDTO, String ifMatch, String ifUnmodifiedSince) Update a Deny Policy Update a deny policy by Id
-
Constructor Details
-
DenyPolicyIndividualApi
public DenyPolicyIndividualApi() -
DenyPolicyIndividualApi
-
-
Method Details
-
getApiClient
-
setApiClient
-
throttlingDenyPolicyConditionIdDeleteCall
public okhttp3.Call throttlingDenyPolicyConditionIdDeleteCall(String conditionId, String ifMatch, String ifUnmodifiedSince, ApiCallback _callback) throws ApiException Build call for throttlingDenyPolicyConditionIdDelete- Parameters:
conditionId- Blocking condition identifier (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 progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object
-
throttlingDenyPolicyConditionIdDelete
public void throttlingDenyPolicyConditionIdDelete(String conditionId, String ifMatch, String ifUnmodifiedSince) throws ApiException Delete a Deny Policy Deletes an existing deny policy- Parameters:
conditionId- Blocking condition identifier (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)- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
throttlingDenyPolicyConditionIdDeleteWithHttpInfo
public ApiResponse<Void> throttlingDenyPolicyConditionIdDeleteWithHttpInfo(String conditionId, String ifMatch, String ifUnmodifiedSince) throws ApiException Delete a Deny Policy Deletes an existing deny policy- Parameters:
conditionId- Blocking condition identifier (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)- Returns:
- ApiResponse<Void>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
throttlingDenyPolicyConditionIdDeleteAsync
public okhttp3.Call throttlingDenyPolicyConditionIdDeleteAsync(String conditionId, String ifMatch, String ifUnmodifiedSince, ApiCallback<Void> _callback) throws ApiException Delete a Deny Policy (asynchronously) Deletes an existing deny policy- Parameters:
conditionId- Blocking condition identifier (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 finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object
-
throttlingDenyPolicyConditionIdGetCall
public okhttp3.Call throttlingDenyPolicyConditionIdGetCall(String conditionId, String ifNoneMatch, String ifModifiedSince, ApiCallback _callback) throws ApiException Build call for throttlingDenyPolicyConditionIdGet- Parameters:
conditionId- Blocking condition identifier (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 progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object
-
throttlingDenyPolicyConditionIdGet
public BlockingConditionDTO throttlingDenyPolicyConditionIdGet(String conditionId, String ifNoneMatch, String ifModifiedSince) throws ApiException Get a Deny Policy Retrieves a Deny policy providing the condition Id- Parameters:
conditionId- Blocking condition identifier (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)- Returns:
- BlockingConditionDTO
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
throttlingDenyPolicyConditionIdGetWithHttpInfo
public ApiResponse<BlockingConditionDTO> throttlingDenyPolicyConditionIdGetWithHttpInfo(String conditionId, String ifNoneMatch, String ifModifiedSince) throws ApiException Get a Deny Policy Retrieves a Deny policy providing the condition Id- Parameters:
conditionId- Blocking condition identifier (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)- Returns:
- ApiResponse<BlockingConditionDTO>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
throttlingDenyPolicyConditionIdGetAsync
public okhttp3.Call throttlingDenyPolicyConditionIdGetAsync(String conditionId, String ifNoneMatch, String ifModifiedSince, ApiCallback<BlockingConditionDTO> _callback) throws ApiException Get a Deny Policy (asynchronously) Retrieves a Deny policy providing the condition Id- Parameters:
conditionId- Blocking condition identifier (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 finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object
-
throttlingDenyPolicyConditionIdPatchCall
public okhttp3.Call throttlingDenyPolicyConditionIdPatchCall(String conditionId, String contentType, BlockingConditionStatusDTO blockingConditionStatusDTO, String ifMatch, String ifUnmodifiedSince, ApiCallback _callback) throws ApiException Build call for throttlingDenyPolicyConditionIdPatch- Parameters:
conditionId- Blocking condition identifier (required)contentType- Media type of the entity in the body. Default is application/json. (required)blockingConditionStatusDTO- Blocking condition with updated status (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 progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object
-
throttlingDenyPolicyConditionIdPatch
public BlockingConditionDTO throttlingDenyPolicyConditionIdPatch(String conditionId, String contentType, BlockingConditionStatusDTO blockingConditionStatusDTO, String ifMatch, String ifUnmodifiedSince) throws ApiException Update a Deny Policy Update a deny policy by Id- Parameters:
conditionId- Blocking condition identifier (required)contentType- Media type of the entity in the body. Default is application/json. (required)blockingConditionStatusDTO- Blocking condition with updated status (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)- Returns:
- BlockingConditionDTO
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
throttlingDenyPolicyConditionIdPatchWithHttpInfo
public ApiResponse<BlockingConditionDTO> throttlingDenyPolicyConditionIdPatchWithHttpInfo(String conditionId, String contentType, BlockingConditionStatusDTO blockingConditionStatusDTO, String ifMatch, String ifUnmodifiedSince) throws ApiException Update a Deny Policy Update a deny policy by Id- Parameters:
conditionId- Blocking condition identifier (required)contentType- Media type of the entity in the body. Default is application/json. (required)blockingConditionStatusDTO- Blocking condition with updated status (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)- Returns:
- ApiResponse<BlockingConditionDTO>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
throttlingDenyPolicyConditionIdPatchAsync
public okhttp3.Call throttlingDenyPolicyConditionIdPatchAsync(String conditionId, String contentType, BlockingConditionStatusDTO blockingConditionStatusDTO, String ifMatch, String ifUnmodifiedSince, ApiCallback<BlockingConditionDTO> _callback) throws ApiException Update a Deny Policy (asynchronously) Update a deny policy by Id- Parameters:
conditionId- Blocking condition identifier (required)contentType- Media type of the entity in the body. Default is application/json. (required)blockingConditionStatusDTO- Blocking condition with updated status (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 finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object
-