public class SubscriptionPolicyIndividualApi extends Object
| Constructor and Description |
|---|
SubscriptionPolicyIndividualApi() |
SubscriptionPolicyIndividualApi(ApiClient apiClient) |
| Modifier and Type | Method and Description |
|---|---|
ApiClient |
getApiClient() |
void |
setApiClient(ApiClient apiClient) |
void |
throttlingPoliciesSubscriptionPolicyIdDelete(String policyId,
String ifMatch,
String ifUnmodifiedSince)
Delete a Subscription Policy
This operation can be used to delete a subscription-level throttling policy specifying the Id of the policy as a path paramter.
|
com.squareup.okhttp.Call |
throttlingPoliciesSubscriptionPolicyIdDeleteAsync(String policyId,
String ifMatch,
String ifUnmodifiedSince,
ApiCallback<Void> callback)
Delete a Subscription Policy (asynchronously)
This operation can be used to delete a subscription-level throttling policy specifying the Id of the policy as a path paramter.
|
com.squareup.okhttp.Call |
throttlingPoliciesSubscriptionPolicyIdDeleteCall(String policyId,
String ifMatch,
String ifUnmodifiedSince,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for throttlingPoliciesSubscriptionPolicyIdDelete
|
ApiResponse<Void> |
throttlingPoliciesSubscriptionPolicyIdDeleteWithHttpInfo(String policyId,
String ifMatch,
String ifUnmodifiedSince)
Delete a Subscription Policy
This operation can be used to delete a subscription-level throttling policy specifying the Id of the policy as a path paramter.
|
SubscriptionThrottlePolicyDTO |
throttlingPoliciesSubscriptionPolicyIdGet(String policyId,
String ifNoneMatch,
String ifModifiedSince)
Get a Subscription Policy
Retrieve a single subscription-level throttling policy.
|
com.squareup.okhttp.Call |
throttlingPoliciesSubscriptionPolicyIdGetAsync(String policyId,
String ifNoneMatch,
String ifModifiedSince,
ApiCallback<SubscriptionThrottlePolicyDTO> callback)
Get a Subscription Policy (asynchronously)
Retrieve a single subscription-level throttling policy.
|
com.squareup.okhttp.Call |
throttlingPoliciesSubscriptionPolicyIdGetCall(String policyId,
String ifNoneMatch,
String ifModifiedSince,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for throttlingPoliciesSubscriptionPolicyIdGet
|
ApiResponse<SubscriptionThrottlePolicyDTO> |
throttlingPoliciesSubscriptionPolicyIdGetWithHttpInfo(String policyId,
String ifNoneMatch,
String ifModifiedSince)
Get a Subscription Policy
Retrieve a single subscription-level throttling policy.
|
SubscriptionThrottlePolicyDTO |
throttlingPoliciesSubscriptionPolicyIdPut(String policyId,
SubscriptionThrottlePolicyDTO body,
String contentType,
String ifMatch,
String ifUnmodifiedSince)
Update a Subscription Policy
Updates an existing subscription-level throttling policy.
|
com.squareup.okhttp.Call |
throttlingPoliciesSubscriptionPolicyIdPutAsync(String policyId,
SubscriptionThrottlePolicyDTO body,
String contentType,
String ifMatch,
String ifUnmodifiedSince,
ApiCallback<SubscriptionThrottlePolicyDTO> callback)
Update a Subscription Policy (asynchronously)
Updates an existing subscription-level throttling policy.
|
com.squareup.okhttp.Call |
throttlingPoliciesSubscriptionPolicyIdPutCall(String policyId,
SubscriptionThrottlePolicyDTO body,
String contentType,
String ifMatch,
String ifUnmodifiedSince,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for throttlingPoliciesSubscriptionPolicyIdPut
|
ApiResponse<SubscriptionThrottlePolicyDTO> |
throttlingPoliciesSubscriptionPolicyIdPutWithHttpInfo(String policyId,
SubscriptionThrottlePolicyDTO body,
String contentType,
String ifMatch,
String ifUnmodifiedSince)
Update a Subscription Policy
Updates an existing subscription-level throttling policy.
|
public SubscriptionPolicyIndividualApi()
public SubscriptionPolicyIndividualApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public com.squareup.okhttp.Call throttlingPoliciesSubscriptionPolicyIdDeleteCall(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 throttlingPoliciesSubscriptionPolicyIdDelete(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> throttlingPoliciesSubscriptionPolicyIdDeleteWithHttpInfo(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 throttlingPoliciesSubscriptionPolicyIdDeleteAsync(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 throttlingPoliciesSubscriptionPolicyIdGetCall(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 SubscriptionThrottlePolicyDTO throttlingPoliciesSubscriptionPolicyIdGet(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<SubscriptionThrottlePolicyDTO> throttlingPoliciesSubscriptionPolicyIdGetWithHttpInfo(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 throttlingPoliciesSubscriptionPolicyIdGetAsync(String policyId, String ifNoneMatch, String ifModifiedSince, ApiCallback<SubscriptionThrottlePolicyDTO> 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 throttlingPoliciesSubscriptionPolicyIdPutCall(String policyId, SubscriptionThrottlePolicyDTO 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 SubscriptionThrottlePolicyDTO throttlingPoliciesSubscriptionPolicyIdPut(String policyId, SubscriptionThrottlePolicyDTO 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<SubscriptionThrottlePolicyDTO> throttlingPoliciesSubscriptionPolicyIdPutWithHttpInfo(String policyId, SubscriptionThrottlePolicyDTO 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 throttlingPoliciesSubscriptionPolicyIdPutAsync(String policyId, SubscriptionThrottlePolicyDTO body, String contentType, String ifMatch, String ifUnmodifiedSince, ApiCallback<SubscriptionThrottlePolicyDTO> 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.