Class ApplicationPolicyIndividualApi


  • public class ApplicationPolicyIndividualApi
    extends Object
    • Constructor Detail

      • ApplicationPolicyIndividualApi

        public ApplicationPolicyIndividualApi()
      • ApplicationPolicyIndividualApi

        public ApplicationPolicyIndividualApi​(ApiClient apiClient)
    • Method Detail

      • getApiClient

        public ApiClient getApiClient()
      • setApiClient

        public void setApiClient​(ApiClient apiClient)
      • throttlingPoliciesApplicationPolicyIdDeleteCall

        public okhttp3.Call throttlingPoliciesApplicationPolicyIdDeleteCall​(String policyId,
                                                                            String ifMatch,
                                                                            String ifUnmodifiedSince,
                                                                            ApiCallback _callback)
                                                                     throws ApiException
        Build call for throttlingPoliciesApplicationPolicyIdDelete
        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
      • throttlingPoliciesApplicationPolicyIdDelete

        public void throttlingPoliciesApplicationPolicyIdDelete​(String policyId,
                                                                String ifMatch,
                                                                String ifUnmodifiedSince)
                                                         throws ApiException
        Delete an Application Throttling policy Deletes an application level 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
      • throttlingPoliciesApplicationPolicyIdDeleteWithHttpInfo

        public ApiResponse<Void> throttlingPoliciesApplicationPolicyIdDeleteWithHttpInfo​(String policyId,
                                                                                         String ifMatch,
                                                                                         String ifUnmodifiedSince)
                                                                                  throws ApiException
        Delete an Application Throttling policy Deletes an application level 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
      • throttlingPoliciesApplicationPolicyIdDeleteAsync

        public okhttp3.Call throttlingPoliciesApplicationPolicyIdDeleteAsync​(String policyId,
                                                                             String ifMatch,
                                                                             String ifUnmodifiedSince,
                                                                             ApiCallback<Void> _callback)
                                                                      throws ApiException
        Delete an Application Throttling policy (asynchronously) Deletes an application level 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
      • throttlingPoliciesApplicationPolicyIdGetCall

        public okhttp3.Call throttlingPoliciesApplicationPolicyIdGetCall​(String policyId,
                                                                         String ifNoneMatch,
                                                                         String ifModifiedSince,
                                                                         ApiCallback _callback)
                                                                  throws ApiException
        Build call for throttlingPoliciesApplicationPolicyIdGet
        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
      • throttlingPoliciesApplicationPolicyIdGet

        public ApplicationThrottlePolicyDTO throttlingPoliciesApplicationPolicyIdGet​(String policyId,
                                                                                     String ifNoneMatch,
                                                                                     String ifModifiedSince)
                                                                              throws ApiException
        Get an Application Throttling Policy Retrieves an application 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:
        ApplicationThrottlePolicyDTO
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • throttlingPoliciesApplicationPolicyIdGetWithHttpInfo

        public ApiResponse<ApplicationThrottlePolicyDTO> throttlingPoliciesApplicationPolicyIdGetWithHttpInfo​(String policyId,
                                                                                                              String ifNoneMatch,
                                                                                                              String ifModifiedSince)
                                                                                                       throws ApiException
        Get an Application Throttling Policy Retrieves an application 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<ApplicationThrottlePolicyDTO>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • throttlingPoliciesApplicationPolicyIdGetAsync

        public okhttp3.Call throttlingPoliciesApplicationPolicyIdGetAsync​(String policyId,
                                                                          String ifNoneMatch,
                                                                          String ifModifiedSince,
                                                                          ApiCallback<ApplicationThrottlePolicyDTO> _callback)
                                                                   throws ApiException
        Get an Application Throttling Policy (asynchronously) Retrieves an application 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
      • throttlingPoliciesApplicationPolicyIdPutCall

        public okhttp3.Call throttlingPoliciesApplicationPolicyIdPutCall​(String policyId,
                                                                         String contentType,
                                                                         ApplicationThrottlePolicyDTO applicationThrottlePolicyDTO,
                                                                         String ifMatch,
                                                                         String ifUnmodifiedSince,
                                                                         ApiCallback _callback)
                                                                  throws ApiException
        Build call for throttlingPoliciesApplicationPolicyIdPut
        Parameters:
        policyId - Thorttle policy UUID (required)
        contentType - Media type of the entity in the body. Default is application/json. (required)
        applicationThrottlePolicyDTO - 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
      • throttlingPoliciesApplicationPolicyIdPut

        public ApplicationThrottlePolicyDTO throttlingPoliciesApplicationPolicyIdPut​(String policyId,
                                                                                     String contentType,
                                                                                     ApplicationThrottlePolicyDTO applicationThrottlePolicyDTO,
                                                                                     String ifMatch,
                                                                                     String ifUnmodifiedSince)
                                                                              throws ApiException
        Update an Application Throttling policy Updates an existing application level throttling policy. Upon a succesfull update, you will receive the updated application policy as the response.
        Parameters:
        policyId - Thorttle policy UUID (required)
        contentType - Media type of the entity in the body. Default is application/json. (required)
        applicationThrottlePolicyDTO - 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:
        ApplicationThrottlePolicyDTO
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • throttlingPoliciesApplicationPolicyIdPutWithHttpInfo

        public ApiResponse<ApplicationThrottlePolicyDTO> throttlingPoliciesApplicationPolicyIdPutWithHttpInfo​(String policyId,
                                                                                                              String contentType,
                                                                                                              ApplicationThrottlePolicyDTO applicationThrottlePolicyDTO,
                                                                                                              String ifMatch,
                                                                                                              String ifUnmodifiedSince)
                                                                                                       throws ApiException
        Update an Application Throttling policy Updates an existing application level throttling policy. Upon a succesfull update, you will receive the updated application policy as the response.
        Parameters:
        policyId - Thorttle policy UUID (required)
        contentType - Media type of the entity in the body. Default is application/json. (required)
        applicationThrottlePolicyDTO - 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<ApplicationThrottlePolicyDTO>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • throttlingPoliciesApplicationPolicyIdPutAsync

        public okhttp3.Call throttlingPoliciesApplicationPolicyIdPutAsync​(String policyId,
                                                                          String contentType,
                                                                          ApplicationThrottlePolicyDTO applicationThrottlePolicyDTO,
                                                                          String ifMatch,
                                                                          String ifUnmodifiedSince,
                                                                          ApiCallback<ApplicationThrottlePolicyDTO> _callback)
                                                                   throws ApiException
        Update an Application Throttling policy (asynchronously) Updates an existing application level throttling policy. Upon a succesfull update, you will receive the updated application policy as the response.
        Parameters:
        policyId - Thorttle policy UUID (required)
        contentType - Media type of the entity in the body. Default is application/json. (required)
        applicationThrottlePolicyDTO - 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