public class ThrottlingPoliciesApi extends Object
| Constructor and Description |
|---|
ThrottlingPoliciesApi() |
ThrottlingPoliciesApi(ApiClient apiClient) |
| Modifier and Type | Method and Description |
|---|---|
ApiClient |
getApiClient() |
void |
setApiClient(ApiClient apiClient) |
List<ThrottlingPolicyListDTO> |
throttlingPoliciesPolicyLevelGet(String policyLevel,
Integer limit,
Integer offset,
String ifNoneMatch,
String xWSO2Tenant)
Get All Available Throttling Policies
Get available Throttling Policies
|
okhttp3.Call |
throttlingPoliciesPolicyLevelGetAsync(String policyLevel,
Integer limit,
Integer offset,
String ifNoneMatch,
String xWSO2Tenant,
ApiCallback<List<ThrottlingPolicyListDTO>> _callback)
Get All Available Throttling Policies (asynchronously)
Get available Throttling Policies
|
okhttp3.Call |
throttlingPoliciesPolicyLevelGetCall(String policyLevel,
Integer limit,
Integer offset,
String ifNoneMatch,
String xWSO2Tenant,
ApiCallback _callback)
Build call for throttlingPoliciesPolicyLevelGet
|
ApiResponse<List<ThrottlingPolicyListDTO>> |
throttlingPoliciesPolicyLevelGetWithHttpInfo(String policyLevel,
Integer limit,
Integer offset,
String ifNoneMatch,
String xWSO2Tenant)
Get All Available Throttling Policies
Get available Throttling Policies
|
ThrottlingPolicyDTO |
throttlingPoliciesPolicyLevelPolicyIdGet(String policyId,
String policyLevel,
String xWSO2Tenant,
String ifNoneMatch)
Get Details of a Throttling Policy
This operation can be used to retrieve details of a single throttling policy by specifying the policy level and policy name.
|
okhttp3.Call |
throttlingPoliciesPolicyLevelPolicyIdGetAsync(String policyId,
String policyLevel,
String xWSO2Tenant,
String ifNoneMatch,
ApiCallback<ThrottlingPolicyDTO> _callback)
Get Details of a Throttling Policy (asynchronously)
This operation can be used to retrieve details of a single throttling policy by specifying the policy level and policy name.
|
okhttp3.Call |
throttlingPoliciesPolicyLevelPolicyIdGetCall(String policyId,
String policyLevel,
String xWSO2Tenant,
String ifNoneMatch,
ApiCallback _callback)
Build call for throttlingPoliciesPolicyLevelPolicyIdGet
|
ApiResponse<ThrottlingPolicyDTO> |
throttlingPoliciesPolicyLevelPolicyIdGetWithHttpInfo(String policyId,
String policyLevel,
String xWSO2Tenant,
String ifNoneMatch)
Get Details of a Throttling Policy
This operation can be used to retrieve details of a single throttling policy by specifying the policy level and policy name.
|
public ThrottlingPoliciesApi()
public ThrottlingPoliciesApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public okhttp3.Call throttlingPoliciesPolicyLevelGetCall(String policyLevel, Integer limit, Integer offset, String ifNoneMatch, String xWSO2Tenant, ApiCallback _callback) throws ApiException
policyLevel - List Application or Subscription type thro. (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 resourec. (optional)xWSO2Tenant - For cross-tenant invocations, this is used to specify the tenant domain, where the resource need to be retrieved from. (optional)_callback - Callback for upload/download progressApiException - If fail to serialize the request body objectpublic List<ThrottlingPolicyListDTO> throttlingPoliciesPolicyLevelGet(String policyLevel, Integer limit, Integer offset, String ifNoneMatch, String xWSO2Tenant) throws ApiException
policyLevel - List Application or Subscription type thro. (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 resourec. (optional)xWSO2Tenant - For cross-tenant invocations, this is used to specify the tenant domain, where the resource need to be retrieved from. (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<List<ThrottlingPolicyListDTO>> throttlingPoliciesPolicyLevelGetWithHttpInfo(String policyLevel, Integer limit, Integer offset, String ifNoneMatch, String xWSO2Tenant) throws ApiException
policyLevel - List Application or Subscription type thro. (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 resourec. (optional)xWSO2Tenant - For cross-tenant invocations, this is used to specify the tenant domain, where the resource need to be retrieved from. (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic okhttp3.Call throttlingPoliciesPolicyLevelGetAsync(String policyLevel, Integer limit, Integer offset, String ifNoneMatch, String xWSO2Tenant, ApiCallback<List<ThrottlingPolicyListDTO>> _callback) throws ApiException
policyLevel - List Application or Subscription type thro. (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 resourec. (optional)xWSO2Tenant - For cross-tenant invocations, this is used to specify the tenant domain, where the resource need to be retrieved from. (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 throttlingPoliciesPolicyLevelPolicyIdGetCall(String policyId, String policyLevel, String xWSO2Tenant, String ifNoneMatch, ApiCallback _callback) throws ApiException
policyId - The name of the policy (required)policyLevel - List Application or Subscription type thro. (required)xWSO2Tenant - For cross-tenant invocations, this is used to specify the tenant domain, where the resource need to be retrieved from. (optional)ifNoneMatch - Validator for conditional requests; based on the ETag of the formerly retrieved variant of the resourec. (optional)_callback - Callback for upload/download progressApiException - If fail to serialize the request body objectpublic ThrottlingPolicyDTO throttlingPoliciesPolicyLevelPolicyIdGet(String policyId, String policyLevel, String xWSO2Tenant, String ifNoneMatch) throws ApiException
policyId - The name of the policy (required)policyLevel - List Application or Subscription type thro. (required)xWSO2Tenant - For cross-tenant invocations, this is used to specify the tenant domain, where the resource need to be retrieved from. (optional)ifNoneMatch - Validator for conditional requests; based on the ETag of the formerly retrieved variant of the resourec. (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<ThrottlingPolicyDTO> throttlingPoliciesPolicyLevelPolicyIdGetWithHttpInfo(String policyId, String policyLevel, String xWSO2Tenant, String ifNoneMatch) throws ApiException
policyId - The name of the policy (required)policyLevel - List Application or Subscription type thro. (required)xWSO2Tenant - For cross-tenant invocations, this is used to specify the tenant domain, where the resource need to be retrieved from. (optional)ifNoneMatch - Validator for conditional requests; based on the ETag of the formerly retrieved variant of the resourec. (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic okhttp3.Call throttlingPoliciesPolicyLevelPolicyIdGetAsync(String policyId, String policyLevel, String xWSO2Tenant, String ifNoneMatch, ApiCallback<ThrottlingPolicyDTO> _callback) throws ApiException
policyId - The name of the policy (required)policyLevel - List Application or Subscription type thro. (required)xWSO2Tenant - For cross-tenant invocations, this is used to specify the tenant domain, where the resource need to be retrieved from. (optional)ifNoneMatch - Validator for conditional requests; based on the ETag of the formerly retrieved variant of the resourec. (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.