Class DenyPolicyIndividualApi

java.lang.Object
org.wso2.am.integration.clients.admin.api.DenyPolicyIndividualApi

public class DenyPolicyIndividualApi extends Object
  • Constructor Details

    • DenyPolicyIndividualApi

      public DenyPolicyIndividualApi()
    • DenyPolicyIndividualApi

      public DenyPolicyIndividualApi(ApiClient apiClient)
  • Method Details

    • getApiClient

      public ApiClient getApiClient()
    • setApiClient

      public void setApiClient(ApiClient apiClient)
    • 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