Class DenyPoliciesCollectionApi


  • public class DenyPoliciesCollectionApi
    extends Object
    • Constructor Detail

      • DenyPoliciesCollectionApi

        public DenyPoliciesCollectionApi()
      • DenyPoliciesCollectionApi

        public DenyPoliciesCollectionApi​(ApiClient apiClient)
    • Method Detail

      • getApiClient

        public ApiClient getApiClient()
      • setApiClient

        public void setApiClient​(ApiClient apiClient)
      • throttlingDenyPoliciesGetCall

        public okhttp3.Call throttlingDenyPoliciesGetCall​(String accept,
                                                          String ifNoneMatch,
                                                          String ifModifiedSince,
                                                          ApiCallback _callback)
                                                   throws ApiException
        Build call for throttlingDenyPoliciesGet
        Parameters:
        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 - Callback for upload/download progress
        Returns:
        Call to execute
        Throws:
        ApiException - If fail to serialize the request body object
      • throttlingDenyPoliciesGet

        public BlockingConditionListDTO throttlingDenyPoliciesGet​(String accept,
                                                                  String ifNoneMatch,
                                                                  String ifModifiedSince)
                                                           throws ApiException
        Get all Deny Policies Retrieves all existing deny policies.
        Parameters:
        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)
        Returns:
        BlockingConditionListDTO
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • throttlingDenyPoliciesGetWithHttpInfo

        public ApiResponse<BlockingConditionListDTO> throttlingDenyPoliciesGetWithHttpInfo​(String accept,
                                                                                           String ifNoneMatch,
                                                                                           String ifModifiedSince)
                                                                                    throws ApiException
        Get all Deny Policies Retrieves all existing deny policies.
        Parameters:
        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)
        Returns:
        ApiResponse<BlockingConditionListDTO>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • throttlingDenyPoliciesGetAsync

        public okhttp3.Call throttlingDenyPoliciesGetAsync​(String accept,
                                                           String ifNoneMatch,
                                                           String ifModifiedSince,
                                                           ApiCallback<BlockingConditionListDTO> _callback)
                                                    throws ApiException
        Get all Deny Policies (asynchronously) Retrieves all existing deny policies.
        Parameters:
        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 finishes
        Returns:
        The request call
        Throws:
        ApiException - If fail to process the API call, e.g. serializing the request body object
      • throttlingDenyPoliciesPostCall

        public okhttp3.Call throttlingDenyPoliciesPostCall​(String contentType,
                                                           BlockingConditionDTO blockingConditionDTO,
                                                           ApiCallback _callback)
                                                    throws ApiException
        Build call for throttlingDenyPoliciesPost
        Parameters:
        contentType - Media type of the entity in the body. Default is application/json. (required)
        blockingConditionDTO - Blocking condition object that should to be added (required)
        _callback - Callback for upload/download progress
        Returns:
        Call to execute
        Throws:
        ApiException - If fail to serialize the request body object
      • throttlingDenyPoliciesPost

        public BlockingConditionDTO throttlingDenyPoliciesPost​(String contentType,
                                                               BlockingConditionDTO blockingConditionDTO)
                                                        throws ApiException
        Add a deny policy Adds a new deny policy
        Parameters:
        contentType - Media type of the entity in the body. Default is application/json. (required)
        blockingConditionDTO - Blocking condition object that should to be added (required)
        Returns:
        BlockingConditionDTO
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • throttlingDenyPoliciesPostWithHttpInfo

        public ApiResponse<BlockingConditionDTO> throttlingDenyPoliciesPostWithHttpInfo​(String contentType,
                                                                                        BlockingConditionDTO blockingConditionDTO)
                                                                                 throws ApiException
        Add a deny policy Adds a new deny policy
        Parameters:
        contentType - Media type of the entity in the body. Default is application/json. (required)
        blockingConditionDTO - Blocking condition object that should to be added (required)
        Returns:
        ApiResponse<BlockingConditionDTO>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • throttlingDenyPoliciesPostAsync

        public okhttp3.Call throttlingDenyPoliciesPostAsync​(String contentType,
                                                            BlockingConditionDTO blockingConditionDTO,
                                                            ApiCallback<BlockingConditionDTO> _callback)
                                                     throws ApiException
        Add a deny policy (asynchronously) Adds a new deny policy
        Parameters:
        contentType - Media type of the entity in the body. Default is application/json. (required)
        blockingConditionDTO - Blocking condition object that should to be added (required)
        _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