public class ThrottlingPoliciesApi extends Object
| Constructor and Description |
|---|
ThrottlingPoliciesApi() |
ThrottlingPoliciesApi(ApiClient apiClient) |
| Modifier and Type | Method and Description |
|---|---|
ThrottlingPolicyListDTO |
getAllThrottlingPolicies(String policyLevel,
Integer limit,
Integer offset,
String ifNoneMatch)
Get All Throttling Policies for the Given Type
This operation can be used to list the available policies for a given policy level.
|
okhttp3.Call |
getAllThrottlingPoliciesAsync(String policyLevel,
Integer limit,
Integer offset,
String ifNoneMatch,
ApiCallback<ThrottlingPolicyListDTO> _callback)
Get All Throttling Policies for the Given Type (asynchronously)
This operation can be used to list the available policies for a given policy level.
|
okhttp3.Call |
getAllThrottlingPoliciesCall(String policyLevel,
Integer limit,
Integer offset,
String ifNoneMatch,
ApiCallback _callback)
Build call for getAllThrottlingPolicies
|
ApiResponse<ThrottlingPolicyListDTO> |
getAllThrottlingPoliciesWithHttpInfo(String policyLevel,
Integer limit,
Integer offset,
String ifNoneMatch)
Get All Throttling Policies for the Given Type
This operation can be used to list the available policies for a given policy level.
|
ApiClient |
getApiClient() |
ThrottlingPolicyDTO |
getThrottlingPolicyByName(String policyName,
String policyLevel,
String ifNoneMatch)
Get Details of a Policy
This operation can be used to retrieve details of a single policy by specifying the policy level and policy name.
|
okhttp3.Call |
getThrottlingPolicyByNameAsync(String policyName,
String policyLevel,
String ifNoneMatch,
ApiCallback<ThrottlingPolicyDTO> _callback)
Get Details of a Policy (asynchronously)
This operation can be used to retrieve details of a single policy by specifying the policy level and policy name.
|
okhttp3.Call |
getThrottlingPolicyByNameCall(String policyName,
String policyLevel,
String ifNoneMatch,
ApiCallback _callback)
Build call for getThrottlingPolicyByName
|
ApiResponse<ThrottlingPolicyDTO> |
getThrottlingPolicyByNameWithHttpInfo(String policyName,
String policyLevel,
String ifNoneMatch)
Get Details of a Policy
This operation can be used to retrieve details of a single policy by specifying the policy level and policy name.
|
void |
setApiClient(ApiClient apiClient) |
public ThrottlingPoliciesApi()
public ThrottlingPoliciesApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public okhttp3.Call getAllThrottlingPoliciesCall(String policyLevel, Integer limit, Integer offset, String ifNoneMatch, ApiCallback _callback) throws ApiException
policyLevel - List API or Application or Resource type policies. (required)limit - Maximum size of resource array to return. (optional, default to 25)offset - Starting point within the complete list of items qualified. (optional, default to 0)ifNoneMatch - Validator for conditional requests; based on the ETag of the formerly retrieved variant of the resource. (optional)_callback - Callback for upload/download progressApiException - If fail to serialize the request body objectpublic ThrottlingPolicyListDTO getAllThrottlingPolicies(String policyLevel, Integer limit, Integer offset, String ifNoneMatch) throws ApiException
policyLevel - List API or Application or Resource type policies. (required)limit - Maximum size of resource array to return. (optional, default to 25)offset - Starting point within the complete list of items qualified. (optional, default to 0)ifNoneMatch - Validator for conditional requests; based on the ETag of the formerly retrieved variant of the resource. (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<ThrottlingPolicyListDTO> getAllThrottlingPoliciesWithHttpInfo(String policyLevel, Integer limit, Integer offset, String ifNoneMatch) throws ApiException
policyLevel - List API or Application or Resource type policies. (required)limit - Maximum size of resource array to return. (optional, default to 25)offset - Starting point within the complete list of items qualified. (optional, default to 0)ifNoneMatch - Validator for conditional requests; based on the ETag of the formerly retrieved variant of the resource. (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic okhttp3.Call getAllThrottlingPoliciesAsync(String policyLevel, Integer limit, Integer offset, String ifNoneMatch, ApiCallback<ThrottlingPolicyListDTO> _callback) throws ApiException
policyLevel - List API or Application or Resource type policies. (required)limit - Maximum size of resource array to return. (optional, default to 25)offset - Starting point within the complete list of items qualified. (optional, default to 0)ifNoneMatch - Validator for conditional requests; based on the ETag of the formerly retrieved variant of the resource. (optional)_callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body objectpublic okhttp3.Call getThrottlingPolicyByNameCall(String policyName, String policyLevel, String ifNoneMatch, ApiCallback _callback) throws ApiException
policyName - Tier name (required)policyLevel - List API or Application or Resource type policies. (required)ifNoneMatch - Validator for conditional requests; based on the ETag of the formerly retrieved variant of the resource. (optional)_callback - Callback for upload/download progressApiException - If fail to serialize the request body objectpublic ThrottlingPolicyDTO getThrottlingPolicyByName(String policyName, String policyLevel, String ifNoneMatch) throws ApiException
policyName - Tier name (required)policyLevel - List API or Application or Resource type policies. (required)ifNoneMatch - Validator for conditional requests; based on the ETag of the formerly retrieved variant of the resource. (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<ThrottlingPolicyDTO> getThrottlingPolicyByNameWithHttpInfo(String policyName, String policyLevel, String ifNoneMatch) throws ApiException
policyName - Tier name (required)policyLevel - List API or Application or Resource type policies. (required)ifNoneMatch - Validator for conditional requests; based on the ETag of the formerly retrieved variant of the resource. (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic okhttp3.Call getThrottlingPolicyByNameAsync(String policyName, String policyLevel, String ifNoneMatch, ApiCallback<ThrottlingPolicyDTO> _callback) throws ApiException
policyName - Tier name (required)policyLevel - List API or Application or Resource type policies. (required)ifNoneMatch - Validator for conditional requests; based on the ETag of the formerly retrieved variant of the resource. (optional)_callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body objectCopyright © 2021 WSO2 Inc. All rights reserved.