Class ThrottlingApi

java.lang.Object
org.wso2.am.integration.clients.internal.api.ThrottlingApi

public class ThrottlingApi extends Object
  • Constructor Details

    • ThrottlingApi

      public ThrottlingApi()
    • ThrottlingApi

      public ThrottlingApi(ApiClient apiClient)
  • Method Details

    • getApiClient

      public ApiClient getApiClient()
    • setApiClient

      public void setApiClient(ApiClient apiClient)
    • blockGetCall

      public com.squareup.okhttp.Call blockGetCall(ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
      Build call for blockGet
      Parameters:
      progressListener - Progress listener
      progressRequestListener - Progress request listener
      Returns:
      Call to execute
      Throws:
      ApiException - If fail to serialize the request body object
    • blockGet

      public Map<String,BlockConditionsDTO> blockGet() throws ApiException
      blocking events available This will provide access to throttled events in database.
      Returns:
      Map<String, BlockConditionsDTO>
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • blockGetWithHttpInfo

      public ApiResponse<Map<String,BlockConditionsDTO>> blockGetWithHttpInfo() throws ApiException
      blocking events available This will provide access to throttled events in database.
      Returns:
      ApiResponse<Map<String, BlockConditionsDTO>>
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • blockGetAsync

      public com.squareup.okhttp.Call blockGetAsync(ApiCallback<Map<String,BlockConditionsDTO>> callback) throws ApiException
      blocking events available (asynchronously) This will provide access to throttled events in database.
      Parameters:
      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
    • isThrottledGetCall

      public com.squareup.okhttp.Call isThrottledGetCall(String query, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
      Build call for isThrottledGet
      Parameters:
      query - **Search condition**. You can search for an application by specifying the name as \"query\" attribute. Eg. \"app1\" will match an application if the name is exactly \"app1\". Currently this does not support wildcards. Given name must exactly match the application name. (optional)
      progressListener - Progress listener
      progressRequestListener - Progress request listener
      Returns:
      Call to execute
      Throws:
      ApiException - If fail to serialize the request body object
    • isThrottledGet

      public ThrottledEventDTO isThrottledGet(String query) throws ApiException
      throttled events available This will provide access to throttled events in database.
      Parameters:
      query - **Search condition**. You can search for an application by specifying the name as \"query\" attribute. Eg. \"app1\" will match an application if the name is exactly \"app1\". Currently this does not support wildcards. Given name must exactly match the application name. (optional)
      Returns:
      ThrottledEventDTO
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • isThrottledGetWithHttpInfo

      public ApiResponse<ThrottledEventDTO> isThrottledGetWithHttpInfo(String query) throws ApiException
      throttled events available This will provide access to throttled events in database.
      Parameters:
      query - **Search condition**. You can search for an application by specifying the name as \"query\" attribute. Eg. \"app1\" will match an application if the name is exactly \"app1\". Currently this does not support wildcards. Given name must exactly match the application name. (optional)
      Returns:
      ApiResponse<ThrottledEventDTO>
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • isThrottledGetAsync

      public com.squareup.okhttp.Call isThrottledGetAsync(String query, ApiCallback<ThrottledEventDTO> callback) throws ApiException
      throttled events available (asynchronously) This will provide access to throttled events in database.
      Parameters:
      query - **Search condition**. You can search for an application by specifying the name as \"query\" attribute. Eg. \"app1\" will match an application if the name is exactly \"app1\". Currently this does not support wildcards. Given name must exactly match the application name. (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
    • throttleAsStringGetCall

      public com.squareup.okhttp.Call throttleAsStringGetCall(String query, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
      Build call for throttleAsStringGet
      Parameters:
      query - **Search condition**. You can search for an application by specifying the name as \"query\" attribute. Eg. \"app1\" will match an application if the name is exactly \"app1\". Currently this does not support wildcards. Given name must exactly match the application name. (optional)
      progressListener - Progress listener
      progressRequestListener - Progress request listener
      Returns:
      Call to execute
      Throws:
      ApiException - If fail to serialize the request body object
    • throttleAsStringGet

      public String throttleAsStringGet(String query) throws ApiException
      throttled events available This will provide access to throttled events in database.
      Parameters:
      query - **Search condition**. You can search for an application by specifying the name as \"query\" attribute. Eg. \"app1\" will match an application if the name is exactly \"app1\". Currently this does not support wildcards. Given name must exactly match the application name. (optional)
      Returns:
      String
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • throttleAsStringGetWithHttpInfo

      public ApiResponse<String> throttleAsStringGetWithHttpInfo(String query) throws ApiException
      throttled events available This will provide access to throttled events in database.
      Parameters:
      query - **Search condition**. You can search for an application by specifying the name as \"query\" attribute. Eg. \"app1\" will match an application if the name is exactly \"app1\". Currently this does not support wildcards. Given name must exactly match the application name. (optional)
      Returns:
      ApiResponse<String>
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • throttleAsStringGetAsync

      public com.squareup.okhttp.Call throttleAsStringGetAsync(String query, ApiCallback<String> callback) throws ApiException
      throttled events available (asynchronously) This will provide access to throttled events in database.
      Parameters:
      query - **Search condition**. You can search for an application by specifying the name as \"query\" attribute. Eg. \"app1\" will match an application if the name is exactly \"app1\". Currently this does not support wildcards. Given name must exactly match the application name. (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
    • throttleGetCall

      public com.squareup.okhttp.Call throttleGetCall(String query, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
      Build call for throttleGet
      Parameters:
      query - **Search condition**. You can search for an application by specifying the name as \"query\" attribute. Eg. \"app1\" will match an application if the name is exactly \"app1\". Currently this does not support wildcards. Given name must exactly match the application name. (optional)
      progressListener - Progress listener
      progressRequestListener - Progress request listener
      Returns:
      Call to execute
      Throws:
      ApiException - If fail to serialize the request body object
    • throttleGet

      public List<ThrottledEventDTO> throttleGet(String query) throws ApiException
      throttled events available This will provide access to throttled events in database.
      Parameters:
      query - **Search condition**. You can search for an application by specifying the name as \"query\" attribute. Eg. \"app1\" will match an application if the name is exactly \"app1\". Currently this does not support wildcards. Given name must exactly match the application name. (optional)
      Returns:
      List<ThrottledEventDTO>
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • throttleGetWithHttpInfo

      public ApiResponse<List<ThrottledEventDTO>> throttleGetWithHttpInfo(String query) throws ApiException
      throttled events available This will provide access to throttled events in database.
      Parameters:
      query - **Search condition**. You can search for an application by specifying the name as \"query\" attribute. Eg. \"app1\" will match an application if the name is exactly \"app1\". Currently this does not support wildcards. Given name must exactly match the application name. (optional)
      Returns:
      ApiResponse<List<ThrottledEventDTO>>
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • throttleGetAsync

      public com.squareup.okhttp.Call throttleGetAsync(String query, ApiCallback<List<ThrottledEventDTO>> callback) throws ApiException
      throttled events available (asynchronously) This will provide access to throttled events in database.
      Parameters:
      query - **Search condition**. You can search for an application by specifying the name as \"query\" attribute. Eg. \"app1\" will match an application if the name is exactly \"app1\". Currently this does not support wildcards. Given name must exactly match the application name. (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