Class ThrottlingApi
- java.lang.Object
-
- org.wso2.am.integration.clients.internal.api.ThrottlingApi
-
public class ThrottlingApi extends Object
-
-
Constructor Summary
Constructors Constructor Description ThrottlingApi()ThrottlingApi(ApiClient apiClient)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,BlockConditionsDTO>blockGet()blocking events available This will provide access to throttled events in database.com.squareup.okhttp.CallblockGetAsync(ApiCallback<Map<String,BlockConditionsDTO>> callback)blocking events available (asynchronously) This will provide access to throttled events in database.com.squareup.okhttp.CallblockGetCall(ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener)Build call for blockGetApiResponse<Map<String,BlockConditionsDTO>>blockGetWithHttpInfo()blocking events available This will provide access to throttled events in database.ApiClientgetApiClient()ThrottledEventDTOisThrottledGet(String query)throttled events available This will provide access to throttled events in database.com.squareup.okhttp.CallisThrottledGetAsync(String query, ApiCallback<ThrottledEventDTO> callback)throttled events available (asynchronously) This will provide access to throttled events in database.com.squareup.okhttp.CallisThrottledGetCall(String query, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener)Build call for isThrottledGetApiResponse<ThrottledEventDTO>isThrottledGetWithHttpInfo(String query)throttled events available This will provide access to throttled events in database.voidsetApiClient(ApiClient apiClient)StringthrottleAsStringGet(String query)throttled events available This will provide access to throttled events in database.com.squareup.okhttp.CallthrottleAsStringGetAsync(String query, ApiCallback<String> callback)throttled events available (asynchronously) This will provide access to throttled events in database.com.squareup.okhttp.CallthrottleAsStringGetCall(String query, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener)Build call for throttleAsStringGetApiResponse<String>throttleAsStringGetWithHttpInfo(String query)throttled events available This will provide access to throttled events in database.List<ThrottledEventDTO>throttleGet(String query)throttled events available This will provide access to throttled events in database.com.squareup.okhttp.CallthrottleGetAsync(String query, ApiCallback<List<ThrottledEventDTO>> callback)throttled events available (asynchronously) This will provide access to throttled events in database.com.squareup.okhttp.CallthrottleGetCall(String query, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener)Build call for throttleGetApiResponse<List<ThrottledEventDTO>>throttleGetWithHttpInfo(String query)throttled events available This will provide access to throttled events in database.
-
-
-
Constructor Detail
-
ThrottlingApi
public ThrottlingApi()
-
ThrottlingApi
public ThrottlingApi(ApiClient apiClient)
-
-
Method Detail
-
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 listenerprogressRequestListener- 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 listenerprogressRequestListener- 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 listenerprogressRequestListener- 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 listenerprogressRequestListener- 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
-
-