Class AdvancedPolicyIndividualApi

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

public class AdvancedPolicyIndividualApi extends Object
  • Constructor Details

    • AdvancedPolicyIndividualApi

      public AdvancedPolicyIndividualApi()
    • AdvancedPolicyIndividualApi

      public AdvancedPolicyIndividualApi(ApiClient apiClient)
  • Method Details

    • getApiClient

      public ApiClient getApiClient()
    • setApiClient

      public void setApiClient(ApiClient apiClient)
    • throttlingPoliciesAdvancedPolicyIdDeleteCall

      public okhttp3.Call throttlingPoliciesAdvancedPolicyIdDeleteCall(String policyId, String ifMatch, String ifUnmodifiedSince, ApiCallback _callback) throws ApiException
      Build call for throttlingPoliciesAdvancedPolicyIdDelete
      Parameters:
      policyId - Thorttle policy UUID (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
    • throttlingPoliciesAdvancedPolicyIdDelete

      public void throttlingPoliciesAdvancedPolicyIdDelete(String policyId, String ifMatch, String ifUnmodifiedSince) throws ApiException
      Delete an Advanced Throttling Policy Deletes an advanced throttling policy.
      Parameters:
      policyId - Thorttle policy UUID (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
    • throttlingPoliciesAdvancedPolicyIdDeleteWithHttpInfo

      public ApiResponse<Void> throttlingPoliciesAdvancedPolicyIdDeleteWithHttpInfo(String policyId, String ifMatch, String ifUnmodifiedSince) throws ApiException
      Delete an Advanced Throttling Policy Deletes an advanced throttling policy.
      Parameters:
      policyId - Thorttle policy UUID (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
    • throttlingPoliciesAdvancedPolicyIdDeleteAsync

      public okhttp3.Call throttlingPoliciesAdvancedPolicyIdDeleteAsync(String policyId, String ifMatch, String ifUnmodifiedSince, ApiCallback<Void> _callback) throws ApiException
      Delete an Advanced Throttling Policy (asynchronously) Deletes an advanced throttling policy.
      Parameters:
      policyId - Thorttle policy UUID (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
    • throttlingPoliciesAdvancedPolicyIdGetCall

      public okhttp3.Call throttlingPoliciesAdvancedPolicyIdGetCall(String policyId, String ifNoneMatch, String ifModifiedSince, ApiCallback _callback) throws ApiException
      Build call for throttlingPoliciesAdvancedPolicyIdGet
      Parameters:
      policyId - Thorttle policy UUID (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
    • throttlingPoliciesAdvancedPolicyIdGet

      public AdvancedThrottlePolicyDTO throttlingPoliciesAdvancedPolicyIdGet(String policyId, String ifNoneMatch, String ifModifiedSince) throws ApiException
      Get an Advanced Throttling Policy Retrieves an advanced throttling policy.
      Parameters:
      policyId - Thorttle policy UUID (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:
      AdvancedThrottlePolicyDTO
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • throttlingPoliciesAdvancedPolicyIdGetWithHttpInfo

      public ApiResponse<AdvancedThrottlePolicyDTO> throttlingPoliciesAdvancedPolicyIdGetWithHttpInfo(String policyId, String ifNoneMatch, String ifModifiedSince) throws ApiException
      Get an Advanced Throttling Policy Retrieves an advanced throttling policy.
      Parameters:
      policyId - Thorttle policy UUID (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<AdvancedThrottlePolicyDTO>
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • throttlingPoliciesAdvancedPolicyIdGetAsync

      public okhttp3.Call throttlingPoliciesAdvancedPolicyIdGetAsync(String policyId, String ifNoneMatch, String ifModifiedSince, ApiCallback<AdvancedThrottlePolicyDTO> _callback) throws ApiException
      Get an Advanced Throttling Policy (asynchronously) Retrieves an advanced throttling policy.
      Parameters:
      policyId - Thorttle policy UUID (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
    • throttlingPoliciesAdvancedPolicyIdPutCall

      public okhttp3.Call throttlingPoliciesAdvancedPolicyIdPutCall(String policyId, String contentType, AdvancedThrottlePolicyDTO advancedThrottlePolicyDTO, String ifMatch, String ifUnmodifiedSince, ApiCallback _callback) throws ApiException
      Build call for throttlingPoliciesAdvancedPolicyIdPut
      Parameters:
      policyId - Thorttle policy UUID (required)
      contentType - Media type of the entity in the body. Default is application/json. (required)
      advancedThrottlePolicyDTO - Policy object that needs to be modified (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
    • throttlingPoliciesAdvancedPolicyIdPut

      public AdvancedThrottlePolicyDTO throttlingPoliciesAdvancedPolicyIdPut(String policyId, String contentType, AdvancedThrottlePolicyDTO advancedThrottlePolicyDTO, String ifMatch, String ifUnmodifiedSince) throws ApiException
      Update an Advanced Throttling Policy Updates an existing Advanced throttling policy.
      Parameters:
      policyId - Thorttle policy UUID (required)
      contentType - Media type of the entity in the body. Default is application/json. (required)
      advancedThrottlePolicyDTO - Policy object that needs to be modified (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:
      AdvancedThrottlePolicyDTO
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • throttlingPoliciesAdvancedPolicyIdPutWithHttpInfo

      public ApiResponse<AdvancedThrottlePolicyDTO> throttlingPoliciesAdvancedPolicyIdPutWithHttpInfo(String policyId, String contentType, AdvancedThrottlePolicyDTO advancedThrottlePolicyDTO, String ifMatch, String ifUnmodifiedSince) throws ApiException
      Update an Advanced Throttling Policy Updates an existing Advanced throttling policy.
      Parameters:
      policyId - Thorttle policy UUID (required)
      contentType - Media type of the entity in the body. Default is application/json. (required)
      advancedThrottlePolicyDTO - Policy object that needs to be modified (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<AdvancedThrottlePolicyDTO>
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • throttlingPoliciesAdvancedPolicyIdPutAsync

      public okhttp3.Call throttlingPoliciesAdvancedPolicyIdPutAsync(String policyId, String contentType, AdvancedThrottlePolicyDTO advancedThrottlePolicyDTO, String ifMatch, String ifUnmodifiedSince, ApiCallback<AdvancedThrottlePolicyDTO> _callback) throws ApiException
      Update an Advanced Throttling Policy (asynchronously) Updates an existing Advanced throttling policy.
      Parameters:
      policyId - Thorttle policy UUID (required)
      contentType - Media type of the entity in the body. Default is application/json. (required)
      advancedThrottlePolicyDTO - Policy object that needs to be modified (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