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
|
com.squareup.okhttp.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
|
com.squareup.okhttp.Call |
throttlingPoliciesPolicyLevelGetCall(String policyLevel,
Integer limit,
Integer offset,
String ifNoneMatch,
String xWSO2Tenant,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
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.
|
com.squareup.okhttp.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.
|
com.squareup.okhttp.Call |
throttlingPoliciesPolicyLevelPolicyIdGetCall(String policyId,
String policyLevel,
String xWSO2Tenant,
String ifNoneMatch,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
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 com.squareup.okhttp.Call throttlingPoliciesPolicyLevelGetCall(String policyLevel, Integer limit, Integer offset, String ifNoneMatch, String xWSO2Tenant, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) 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 retirieved from. (optional)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - 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 retirieved 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 retirieved from. (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.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 retirieved 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 com.squareup.okhttp.Call throttlingPoliciesPolicyLevelPolicyIdGetCall(String policyId, String policyLevel, String xWSO2Tenant, String ifNoneMatch, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
policyId - Policy Id represented as a UUID (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 retirieved from. (optional)ifNoneMatch - Validator for conditional requests; based on the ETag of the formerly retrieved variant of the resourec. (optional)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic ThrottlingPolicyDTO throttlingPoliciesPolicyLevelPolicyIdGet(String policyId, String policyLevel, String xWSO2Tenant, String ifNoneMatch) throws ApiException
policyId - Policy Id represented as a UUID (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 retirieved 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 - Policy Id represented as a UUID (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 retirieved 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 com.squareup.okhttp.Call throttlingPoliciesPolicyLevelPolicyIdGetAsync(String policyId, String policyLevel, String xWSO2Tenant, String ifNoneMatch, ApiCallback<ThrottlingPolicyDTO> callback) throws ApiException
policyId - Policy Id represented as a UUID (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 retirieved 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 © 2020 WSO2 Inc. All rights reserved.