public class AdvancedPolicyIndividualApi extends Object
| Constructor and Description |
|---|
AdvancedPolicyIndividualApi() |
AdvancedPolicyIndividualApi(ApiClient apiClient) |
| Modifier and Type | Method and Description |
|---|---|
ApiClient |
getApiClient() |
void |
setApiClient(ApiClient apiClient) |
void |
throttlingPoliciesAdvancedPolicyIdDelete(String policyId,
String ifMatch,
String ifUnmodifiedSince)
Delete an Advanced Throttling Policy
Deletes an Advanced level throttling policy.
|
com.squareup.okhttp.Call |
throttlingPoliciesAdvancedPolicyIdDeleteAsync(String policyId,
String ifMatch,
String ifUnmodifiedSince,
ApiCallback<Void> callback)
Delete an Advanced Throttling Policy (asynchronously)
Deletes an Advanced level throttling policy.
|
com.squareup.okhttp.Call |
throttlingPoliciesAdvancedPolicyIdDeleteCall(String policyId,
String ifMatch,
String ifUnmodifiedSince,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for throttlingPoliciesAdvancedPolicyIdDelete
|
ApiResponse<Void> |
throttlingPoliciesAdvancedPolicyIdDeleteWithHttpInfo(String policyId,
String ifMatch,
String ifUnmodifiedSince)
Delete an Advanced Throttling Policy
Deletes an Advanced level throttling policy.
|
AdvancedThrottlePolicyDTO |
throttlingPoliciesAdvancedPolicyIdGet(String policyId,
String ifNoneMatch,
String ifModifiedSince)
Get an Advanced Policy
Retrieves an Advanced Policy.
|
com.squareup.okhttp.Call |
throttlingPoliciesAdvancedPolicyIdGetAsync(String policyId,
String ifNoneMatch,
String ifModifiedSince,
ApiCallback<AdvancedThrottlePolicyDTO> callback)
Get an Advanced Policy (asynchronously)
Retrieves an Advanced Policy.
|
com.squareup.okhttp.Call |
throttlingPoliciesAdvancedPolicyIdGetCall(String policyId,
String ifNoneMatch,
String ifModifiedSince,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for throttlingPoliciesAdvancedPolicyIdGet
|
ApiResponse<AdvancedThrottlePolicyDTO> |
throttlingPoliciesAdvancedPolicyIdGetWithHttpInfo(String policyId,
String ifNoneMatch,
String ifModifiedSince)
Get an Advanced Policy
Retrieves an Advanced Policy.
|
AdvancedThrottlePolicyDTO |
throttlingPoliciesAdvancedPolicyIdPut(String policyId,
AdvancedThrottlePolicyDTO body,
String contentType,
String ifMatch,
String ifUnmodifiedSince)
Update an Advanced Throttling Policy
Updates an existing Advanced level throttling policy.
|
com.squareup.okhttp.Call |
throttlingPoliciesAdvancedPolicyIdPutAsync(String policyId,
AdvancedThrottlePolicyDTO body,
String contentType,
String ifMatch,
String ifUnmodifiedSince,
ApiCallback<AdvancedThrottlePolicyDTO> callback)
Update an Advanced Throttling Policy (asynchronously)
Updates an existing Advanced level throttling policy.
|
com.squareup.okhttp.Call |
throttlingPoliciesAdvancedPolicyIdPutCall(String policyId,
AdvancedThrottlePolicyDTO body,
String contentType,
String ifMatch,
String ifUnmodifiedSince,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for throttlingPoliciesAdvancedPolicyIdPut
|
ApiResponse<AdvancedThrottlePolicyDTO> |
throttlingPoliciesAdvancedPolicyIdPutWithHttpInfo(String policyId,
AdvancedThrottlePolicyDTO body,
String contentType,
String ifMatch,
String ifUnmodifiedSince)
Update an Advanced Throttling Policy
Updates an existing Advanced level throttling policy.
|
public AdvancedPolicyIndividualApi()
public AdvancedPolicyIndividualApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public com.squareup.okhttp.Call throttlingPoliciesAdvancedPolicyIdDeleteCall(String policyId, String ifMatch, String ifUnmodifiedSince, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) 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)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic void throttlingPoliciesAdvancedPolicyIdDelete(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> throttlingPoliciesAdvancedPolicyIdDeleteWithHttpInfo(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 throttlingPoliciesAdvancedPolicyIdDeleteAsync(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 com.squareup.okhttp.Call throttlingPoliciesAdvancedPolicyIdGetCall(String policyId, String ifNoneMatch, String ifModifiedSince, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) 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)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic AdvancedThrottlePolicyDTO throttlingPoliciesAdvancedPolicyIdGet(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<AdvancedThrottlePolicyDTO> throttlingPoliciesAdvancedPolicyIdGetWithHttpInfo(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 throttlingPoliciesAdvancedPolicyIdGetAsync(String policyId, String ifNoneMatch, String ifModifiedSince, ApiCallback<AdvancedThrottlePolicyDTO> 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 com.squareup.okhttp.Call throttlingPoliciesAdvancedPolicyIdPutCall(String policyId, AdvancedThrottlePolicyDTO body, String contentType, String ifMatch, String ifUnmodifiedSince, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) 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)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic AdvancedThrottlePolicyDTO throttlingPoliciesAdvancedPolicyIdPut(String policyId, AdvancedThrottlePolicyDTO 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<AdvancedThrottlePolicyDTO> throttlingPoliciesAdvancedPolicyIdPutWithHttpInfo(String policyId, AdvancedThrottlePolicyDTO 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 throttlingPoliciesAdvancedPolicyIdPutAsync(String policyId, AdvancedThrottlePolicyDTO body, String contentType, String ifMatch, String ifUnmodifiedSince, ApiCallback<AdvancedThrottlePolicyDTO> 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 © 2020 WSO2 Inc. All rights reserved.