public class ApplicationPolicyIndividualApi extends Object
| Constructor and Description |
|---|
ApplicationPolicyIndividualApi() |
ApplicationPolicyIndividualApi(ApiClient apiClient) |
| Modifier and Type | Method and Description |
|---|---|
ApiClient |
getApiClient() |
void |
setApiClient(ApiClient apiClient) |
void |
throttlingPoliciesApplicationPolicyIdDelete(String policyId,
String ifMatch,
String ifUnmodifiedSince)
Delete an Application Throttling policy
Deletes an Application level throttling policy.
|
com.squareup.okhttp.Call |
throttlingPoliciesApplicationPolicyIdDeleteAsync(String policyId,
String ifMatch,
String ifUnmodifiedSince,
ApiCallback<Void> callback)
Delete an Application Throttling policy (asynchronously)
Deletes an Application level throttling policy.
|
ApiResponse<Void> |
throttlingPoliciesApplicationPolicyIdDeleteWithHttpInfo(String policyId,
String ifMatch,
String ifUnmodifiedSince)
Delete an Application Throttling policy
Deletes an Application level throttling policy.
|
ApplicationThrottlePolicy |
throttlingPoliciesApplicationPolicyIdGet(String policyId,
String ifNoneMatch,
String ifModifiedSince)
Get an Application Policy
Retrieves an Application Policy.
|
com.squareup.okhttp.Call |
throttlingPoliciesApplicationPolicyIdGetAsync(String policyId,
String ifNoneMatch,
String ifModifiedSince,
ApiCallback<ApplicationThrottlePolicy> callback)
Get an Application Policy (asynchronously)
Retrieves an Application Policy.
|
ApiResponse<ApplicationThrottlePolicy> |
throttlingPoliciesApplicationPolicyIdGetWithHttpInfo(String policyId,
String ifNoneMatch,
String ifModifiedSince)
Get an Application Policy
Retrieves an Application Policy.
|
ApplicationThrottlePolicy |
throttlingPoliciesApplicationPolicyIdPut(String policyId,
ApplicationThrottlePolicy body,
String contentType,
String ifMatch,
String ifUnmodifiedSince)
Update an Application Throttling policy
Updates an existing Application level throttling policy.
|
com.squareup.okhttp.Call |
throttlingPoliciesApplicationPolicyIdPutAsync(String policyId,
ApplicationThrottlePolicy body,
String contentType,
String ifMatch,
String ifUnmodifiedSince,
ApiCallback<ApplicationThrottlePolicy> callback)
Update an Application Throttling policy (asynchronously)
Updates an existing Application level throttling policy.
|
ApiResponse<ApplicationThrottlePolicy> |
throttlingPoliciesApplicationPolicyIdPutWithHttpInfo(String policyId,
ApplicationThrottlePolicy body,
String contentType,
String ifMatch,
String ifUnmodifiedSince)
Update an Application Throttling policy
Updates an existing Application level throttling policy.
|
public ApplicationPolicyIndividualApi()
public ApplicationPolicyIndividualApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public void throttlingPoliciesApplicationPolicyIdDelete(String policyId, String ifMatch, String ifUnmodifiedSince) throws ApiException
policyId - Thorttle policy UUID (required)ifMatch - Validator for conditional requests; based on ETag (Will be supported in future). (optional)ifUnmodifiedSince - Validator for conditional requests; based on Last Modified header (Will be supported in future). (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<Void> throttlingPoliciesApplicationPolicyIdDeleteWithHttpInfo(String policyId, String ifMatch, String ifUnmodifiedSince) throws ApiException
policyId - Thorttle policy UUID (required)ifMatch - Validator for conditional requests; based on ETag (Will be supported in future). (optional)ifUnmodifiedSince - Validator for conditional requests; based on Last Modified header (Will be supported in future). (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call throttlingPoliciesApplicationPolicyIdDeleteAsync(String policyId, String ifMatch, String ifUnmodifiedSince, ApiCallback<Void> callback) throws ApiException
policyId - Thorttle policy UUID (required)ifMatch - Validator for conditional requests; based on ETag (Will be supported in future). (optional)ifUnmodifiedSince - Validator for conditional requests; based on Last Modified header (Will be supported in future). (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 ApplicationThrottlePolicy throttlingPoliciesApplicationPolicyIdGet(String policyId, String ifNoneMatch, String ifModifiedSince) throws ApiException
policyId - Thorttle policy UUID (required)ifNoneMatch - Validator for conditional requests; based on the ETag of the formerly retrieved variant of the resource (Will be supported in future). (optional)ifModifiedSince - Validator for conditional requests; based on Last Modified header of the formerly retrieved variant of the resource (Will be supported in future). (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<ApplicationThrottlePolicy> throttlingPoliciesApplicationPolicyIdGetWithHttpInfo(String policyId, String ifNoneMatch, String ifModifiedSince) throws ApiException
policyId - Thorttle policy UUID (required)ifNoneMatch - Validator for conditional requests; based on the ETag of the formerly retrieved variant of the resource (Will be supported in future). (optional)ifModifiedSince - Validator for conditional requests; based on Last Modified header of the formerly retrieved variant of the resource (Will be supported in future). (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call throttlingPoliciesApplicationPolicyIdGetAsync(String policyId, String ifNoneMatch, String ifModifiedSince, ApiCallback<ApplicationThrottlePolicy> callback) throws ApiException
policyId - Thorttle policy UUID (required)ifNoneMatch - Validator for conditional requests; based on the ETag of the formerly retrieved variant of the resource (Will be supported in future). (optional)ifModifiedSince - Validator for conditional requests; based on Last Modified header of the formerly retrieved variant of the resource (Will be supported in future). (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 ApplicationThrottlePolicy throttlingPoliciesApplicationPolicyIdPut(String policyId, ApplicationThrottlePolicy body, String contentType, String ifMatch, String ifUnmodifiedSince) throws ApiException
policyId - Thorttle policy UUID (required)body - Policy object that needs to be modified (required)contentType - Media type of the entity in the body. Default is application/json. (required)ifMatch - Validator for conditional requests; based on ETag (Will be supported in future). (optional)ifUnmodifiedSince - Validator for conditional requests; based on Last Modified header (Will be supported in future). (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<ApplicationThrottlePolicy> throttlingPoliciesApplicationPolicyIdPutWithHttpInfo(String policyId, ApplicationThrottlePolicy body, String contentType, String ifMatch, String ifUnmodifiedSince) throws ApiException
policyId - Thorttle policy UUID (required)body - Policy object that needs to be modified (required)contentType - Media type of the entity in the body. Default is application/json. (required)ifMatch - Validator for conditional requests; based on ETag (Will be supported in future). (optional)ifUnmodifiedSince - Validator for conditional requests; based on Last Modified header (Will be supported in future). (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call throttlingPoliciesApplicationPolicyIdPutAsync(String policyId, ApplicationThrottlePolicy body, String contentType, String ifMatch, String ifUnmodifiedSince, ApiCallback<ApplicationThrottlePolicy> callback) throws ApiException
policyId - Thorttle policy UUID (required)body - Policy object that needs to be modified (required)contentType - Media type of the entity in the body. Default is application/json. (required)ifMatch - Validator for conditional requests; based on ETag (Will be supported in future). (optional)ifUnmodifiedSince - Validator for conditional requests; based on Last Modified header (Will be supported in future). (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 © 2018 WSO2 Inc. All rights reserved.