| Package | Description |
|---|---|
| org.wso2.carbon.apimgt.samples.utils.admin.rest.client | |
| org.wso2.carbon.apimgt.samples.utils.admin.rest.client.api |
| Modifier and Type | Method and Description |
|---|---|
void |
ApiCallback.onFailure(ApiException e,
int statusCode,
Map<String,List<String>> responseHeaders)
This is called when the API call fails.
|
| Modifier and Type | Method and Description |
|---|---|
com.squareup.okhttp.Call |
ApiClient.buildCall(String path,
String method,
List<Pair> queryParams,
Object body,
Map<String,String> headerParams,
Map<String,Object> formParams,
String[] authNames,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build HTTP call with the given options.
|
<T> T |
ApiClient.deserialize(com.squareup.okhttp.Response response,
Type returnType)
Deserialize response body to Java object, according to the return type and
the Content-Type response header.
|
File |
ApiClient.downloadFileFromResponse(com.squareup.okhttp.Response response)
Download file from the given response.
|
<T> ApiResponse<T> |
ApiClient.execute(com.squareup.okhttp.Call call)
|
<T> ApiResponse<T> |
ApiClient.execute(com.squareup.okhttp.Call call,
Type returnType)
Execute HTTP call and deserialize the HTTP response body into the given return type.
|
<T> T |
ApiClient.handleResponse(com.squareup.okhttp.Response response,
Type returnType)
Handle the given response, return the deserialized object when the response is successful.
|
com.squareup.okhttp.RequestBody |
ApiClient.serialize(Object obj,
String contentType)
Serialize the given Java object into request body according to the object's
class and the request Content-Type.
|
| Modifier and Type | Method and Description |
|---|---|
MediationList |
MediationPolicyCollectionApi.policiesMediationGet(Integer limit,
Integer offset,
String query,
String accept,
String ifNoneMatch)
Get all global mediation policies
This operation provides you a list of available all global level mediation policies.
|
com.squareup.okhttp.Call |
MediationPolicyCollectionApi.policiesMediationGetAsync(Integer limit,
Integer offset,
String query,
String accept,
String ifNoneMatch,
ApiCallback<MediationList> callback)
Get all global mediation policies (asynchronously)
This operation provides you a list of available all global level mediation policies.
|
ApiResponse<MediationList> |
MediationPolicyCollectionApi.policiesMediationGetWithHttpInfo(Integer limit,
Integer offset,
String query,
String accept,
String ifNoneMatch)
Get all global mediation policies
This operation provides you a list of available all global level mediation policies.
|
void |
MediationPolicyIndividualApi.policiesMediationMediationPolicyIdDelete(String mediationPolicyId,
String ifMatch,
String ifUnmodifiedSince)
Delete a global mediation policy
This operation can be used to delete an existing global mediation policy providing the Id of the mediation policy.
|
com.squareup.okhttp.Call |
MediationPolicyIndividualApi.policiesMediationMediationPolicyIdDeleteAsync(String mediationPolicyId,
String ifMatch,
String ifUnmodifiedSince,
ApiCallback<Void> callback)
Delete a global mediation policy (asynchronously)
This operation can be used to delete an existing global mediation policy providing the Id of the mediation policy.
|
ApiResponse<Void> |
MediationPolicyIndividualApi.policiesMediationMediationPolicyIdDeleteWithHttpInfo(String mediationPolicyId,
String ifMatch,
String ifUnmodifiedSince)
Delete a global mediation policy
This operation can be used to delete an existing global mediation policy providing the Id of the mediation policy.
|
Mediation |
MediationPolicyIndividualApi.policiesMediationMediationPolicyIdGet(String mediationPolicyId,
String accept,
String ifNoneMatch,
String ifModifiedSince)
Get a global mediation policy
This operation can be used to retrieve a particular global mediation policy.
|
com.squareup.okhttp.Call |
MediationPolicyIndividualApi.policiesMediationMediationPolicyIdGetAsync(String mediationPolicyId,
String accept,
String ifNoneMatch,
String ifModifiedSince,
ApiCallback<Mediation> callback)
Get a global mediation policy (asynchronously)
This operation can be used to retrieve a particular global mediation policy.
|
ApiResponse<Mediation> |
MediationPolicyIndividualApi.policiesMediationMediationPolicyIdGetWithHttpInfo(String mediationPolicyId,
String accept,
String ifNoneMatch,
String ifModifiedSince)
Get a global mediation policy
This operation can be used to retrieve a particular global mediation policy.
|
Mediation |
MediationPolicyIndividualApi.policiesMediationMediationPolicyIdPut(String mediationPolicyId,
Mediation body,
String contentType,
String ifMatch,
String ifUnmodifiedSince)
Update a global mediation policy
This operation can be used to update an existing global mediation policy.
|
com.squareup.okhttp.Call |
MediationPolicyIndividualApi.policiesMediationMediationPolicyIdPutAsync(String mediationPolicyId,
Mediation body,
String contentType,
String ifMatch,
String ifUnmodifiedSince,
ApiCallback<Mediation> callback)
Update a global mediation policy (asynchronously)
This operation can be used to update an existing global mediation policy.
|
ApiResponse<Mediation> |
MediationPolicyIndividualApi.policiesMediationMediationPolicyIdPutWithHttpInfo(String mediationPolicyId,
Mediation body,
String contentType,
String ifMatch,
String ifUnmodifiedSince)
Update a global mediation policy
This operation can be used to update an existing global mediation policy.
|
Mediation |
MediationPolicyCollectionApi.policiesMediationPost(Mediation body,
String contentType,
String ifMatch,
String ifUnmodifiedSince)
Add a global mediation policy
This operation can be used to add a new global mediation policy.
|
com.squareup.okhttp.Call |
MediationPolicyCollectionApi.policiesMediationPostAsync(Mediation body,
String contentType,
String ifMatch,
String ifUnmodifiedSince,
ApiCallback<Mediation> callback)
Add a global mediation policy (asynchronously)
This operation can be used to add a new global mediation policy.
|
ApiResponse<Mediation> |
MediationPolicyCollectionApi.policiesMediationPostWithHttpInfo(Mediation body,
String contentType,
String ifMatch,
String ifUnmodifiedSince)
Add a global mediation policy
This operation can be used to add a new global mediation policy.
|
void |
BlacklistIndividualApi.throttlingBlacklistConditionIdDelete(String conditionId,
String ifMatch,
String ifUnmodifiedSince)
Delete a Blocking condition
Deletes an existing Blocking condition
|
com.squareup.okhttp.Call |
BlacklistIndividualApi.throttlingBlacklistConditionIdDeleteAsync(String conditionId,
String ifMatch,
String ifUnmodifiedSince,
ApiCallback<Void> callback)
Delete a Blocking condition (asynchronously)
Deletes an existing Blocking condition
|
ApiResponse<Void> |
BlacklistIndividualApi.throttlingBlacklistConditionIdDeleteWithHttpInfo(String conditionId,
String ifMatch,
String ifUnmodifiedSince)
Delete a Blocking condition
Deletes an existing Blocking condition
|
BlockingCondition |
BlacklistIndividualApi.throttlingBlacklistConditionIdGet(String conditionId,
String ifNoneMatch,
String ifModifiedSince)
Get a Blocking Condition
Retrieves a Blocking Condition providing the condition Id
|
com.squareup.okhttp.Call |
BlacklistIndividualApi.throttlingBlacklistConditionIdGetAsync(String conditionId,
String ifNoneMatch,
String ifModifiedSince,
ApiCallback<BlockingCondition> callback)
Get a Blocking Condition (asynchronously)
Retrieves a Blocking Condition providing the condition Id
|
ApiResponse<BlockingCondition> |
BlacklistIndividualApi.throttlingBlacklistConditionIdGetWithHttpInfo(String conditionId,
String ifNoneMatch,
String ifModifiedSince)
Get a Blocking Condition
Retrieves a Blocking Condition providing the condition Id
|
BlockingConditionList |
BlacklistCollectionApi.throttlingBlacklistGet(String accept,
String ifNoneMatch,
String ifModifiedSince)
Get all blocking condtions
Retrieves all existing blocking condtions.
|
com.squareup.okhttp.Call |
BlacklistCollectionApi.throttlingBlacklistGetAsync(String accept,
String ifNoneMatch,
String ifModifiedSince,
ApiCallback<BlockingConditionList> callback)
Get all blocking condtions (asynchronously)
Retrieves all existing blocking condtions.
|
ApiResponse<BlockingConditionList> |
BlacklistCollectionApi.throttlingBlacklistGetWithHttpInfo(String accept,
String ifNoneMatch,
String ifModifiedSince)
Get all blocking condtions
Retrieves all existing blocking condtions.
|
BlockingCondition |
BlacklistCollectionApi.throttlingBlacklistPost(BlockingCondition body,
String contentType)
Add a Blocking condition
Adds a new Blocking condition.
|
com.squareup.okhttp.Call |
BlacklistCollectionApi.throttlingBlacklistPostAsync(BlockingCondition body,
String contentType,
ApiCallback<BlockingCondition> callback)
Add a Blocking condition (asynchronously)
Adds a new Blocking condition.
|
ApiResponse<BlockingCondition> |
BlacklistCollectionApi.throttlingBlacklistPostWithHttpInfo(BlockingCondition body,
String contentType)
Add a Blocking condition
Adds a new Blocking condition.
|
AdvancedThrottlePolicyList |
AdvancedPolicyCollectionApi.throttlingPoliciesAdvancedGet(String accept,
String ifNoneMatch,
String ifModifiedSince)
Get all Advanced throttling policies.
|
com.squareup.okhttp.Call |
AdvancedPolicyCollectionApi.throttlingPoliciesAdvancedGetAsync(String accept,
String ifNoneMatch,
String ifModifiedSince,
ApiCallback<AdvancedThrottlePolicyList> callback)
Get all Advanced throttling policies.
|
ApiResponse<AdvancedThrottlePolicyList> |
AdvancedPolicyCollectionApi.throttlingPoliciesAdvancedGetWithHttpInfo(String accept,
String ifNoneMatch,
String ifModifiedSince)
Get all Advanced throttling policies.
|
void |
AdvancedPolicyIndividualApi.throttlingPoliciesAdvancedPolicyIdDelete(String policyId,
String ifMatch,
String ifUnmodifiedSince)
Delete an Advanced Throttling Policy
Deletes an Advanced level throttling policy.
|
com.squareup.okhttp.Call |
AdvancedPolicyIndividualApi.throttlingPoliciesAdvancedPolicyIdDeleteAsync(String policyId,
String ifMatch,
String ifUnmodifiedSince,
ApiCallback<Void> callback)
Delete an Advanced Throttling Policy (asynchronously)
Deletes an Advanced level throttling policy.
|
ApiResponse<Void> |
AdvancedPolicyIndividualApi.throttlingPoliciesAdvancedPolicyIdDeleteWithHttpInfo(String policyId,
String ifMatch,
String ifUnmodifiedSince)
Delete an Advanced Throttling Policy
Deletes an Advanced level throttling policy.
|
AdvancedThrottlePolicy |
AdvancedPolicyIndividualApi.throttlingPoliciesAdvancedPolicyIdGet(String policyId,
String ifNoneMatch,
String ifModifiedSince)
Get an Advanced Policy
Retrieves an Advanced Policy.
|
com.squareup.okhttp.Call |
AdvancedPolicyIndividualApi.throttlingPoliciesAdvancedPolicyIdGetAsync(String policyId,
String ifNoneMatch,
String ifModifiedSince,
ApiCallback<AdvancedThrottlePolicy> callback)
Get an Advanced Policy (asynchronously)
Retrieves an Advanced Policy.
|
ApiResponse<AdvancedThrottlePolicy> |
AdvancedPolicyIndividualApi.throttlingPoliciesAdvancedPolicyIdGetWithHttpInfo(String policyId,
String ifNoneMatch,
String ifModifiedSince)
Get an Advanced Policy
Retrieves an Advanced Policy.
|
AdvancedThrottlePolicy |
AdvancedPolicyIndividualApi.throttlingPoliciesAdvancedPolicyIdPut(String policyId,
AdvancedThrottlePolicy body,
String contentType,
String ifMatch,
String ifUnmodifiedSince)
Update an Advanced Throttling Policy
Updates an existing Advanced level throttling policy.
|
com.squareup.okhttp.Call |
AdvancedPolicyIndividualApi.throttlingPoliciesAdvancedPolicyIdPutAsync(String policyId,
AdvancedThrottlePolicy body,
String contentType,
String ifMatch,
String ifUnmodifiedSince,
ApiCallback<AdvancedThrottlePolicy> callback)
Update an Advanced Throttling Policy (asynchronously)
Updates an existing Advanced level throttling policy.
|
ApiResponse<AdvancedThrottlePolicy> |
AdvancedPolicyIndividualApi.throttlingPoliciesAdvancedPolicyIdPutWithHttpInfo(String policyId,
AdvancedThrottlePolicy body,
String contentType,
String ifMatch,
String ifUnmodifiedSince)
Update an Advanced Throttling Policy
Updates an existing Advanced level throttling policy.
|
AdvancedThrottlePolicy |
AdvancedPolicyCollectionApi.throttlingPoliciesAdvancedPost(AdvancedThrottlePolicy body,
String contentType)
Add an Advanced Throttling Policy
Add a new Advanced level throttling policy.
|
com.squareup.okhttp.Call |
AdvancedPolicyCollectionApi.throttlingPoliciesAdvancedPostAsync(AdvancedThrottlePolicy body,
String contentType,
ApiCallback<AdvancedThrottlePolicy> callback)
Add an Advanced Throttling Policy (asynchronously)
Add a new Advanced level throttling policy.
|
ApiResponse<AdvancedThrottlePolicy> |
AdvancedPolicyCollectionApi.throttlingPoliciesAdvancedPostWithHttpInfo(AdvancedThrottlePolicy body,
String contentType)
Add an Advanced Throttling Policy
Add a new Advanced level throttling policy.
|
ApplicationThrottlePolicyList |
ApplicationPolicyCollectionApi.throttlingPoliciesApplicationGet(String accept,
String ifNoneMatch,
String ifModifiedSince)
Get all Application Throttling Policies
Retrieves all existing application throttling policies.
|
com.squareup.okhttp.Call |
ApplicationPolicyCollectionApi.throttlingPoliciesApplicationGetAsync(String accept,
String ifNoneMatch,
String ifModifiedSince,
ApiCallback<ApplicationThrottlePolicyList> callback)
Get all Application Throttling Policies (asynchronously)
Retrieves all existing application throttling policies.
|
ApiResponse<ApplicationThrottlePolicyList> |
ApplicationPolicyCollectionApi.throttlingPoliciesApplicationGetWithHttpInfo(String accept,
String ifNoneMatch,
String ifModifiedSince)
Get all Application Throttling Policies
Retrieves all existing application throttling policies.
|
void |
ApplicationPolicyIndividualApi.throttlingPoliciesApplicationPolicyIdDelete(String policyId,
String ifMatch,
String ifUnmodifiedSince)
Delete an Application Throttling policy
Deletes an Application level throttling policy.
|
com.squareup.okhttp.Call |
ApplicationPolicyIndividualApi.throttlingPoliciesApplicationPolicyIdDeleteAsync(String policyId,
String ifMatch,
String ifUnmodifiedSince,
ApiCallback<Void> callback)
Delete an Application Throttling policy (asynchronously)
Deletes an Application level throttling policy.
|
ApiResponse<Void> |
ApplicationPolicyIndividualApi.throttlingPoliciesApplicationPolicyIdDeleteWithHttpInfo(String policyId,
String ifMatch,
String ifUnmodifiedSince)
Delete an Application Throttling policy
Deletes an Application level throttling policy.
|
ApplicationThrottlePolicy |
ApplicationPolicyIndividualApi.throttlingPoliciesApplicationPolicyIdGet(String policyId,
String ifNoneMatch,
String ifModifiedSince)
Get an Application Policy
Retrieves an Application Policy.
|
com.squareup.okhttp.Call |
ApplicationPolicyIndividualApi.throttlingPoliciesApplicationPolicyIdGetAsync(String policyId,
String ifNoneMatch,
String ifModifiedSince,
ApiCallback<ApplicationThrottlePolicy> callback)
Get an Application Policy (asynchronously)
Retrieves an Application Policy.
|
ApiResponse<ApplicationThrottlePolicy> |
ApplicationPolicyIndividualApi.throttlingPoliciesApplicationPolicyIdGetWithHttpInfo(String policyId,
String ifNoneMatch,
String ifModifiedSince)
Get an Application Policy
Retrieves an Application Policy.
|
ApplicationThrottlePolicy |
ApplicationPolicyIndividualApi.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 |
ApplicationPolicyIndividualApi.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> |
ApplicationPolicyIndividualApi.throttlingPoliciesApplicationPolicyIdPutWithHttpInfo(String policyId,
ApplicationThrottlePolicy body,
String contentType,
String ifMatch,
String ifUnmodifiedSince)
Update an Application Throttling policy
Updates an existing Application level throttling policy.
|
ApplicationThrottlePolicy |
ApplicationPolicyCollectionApi.throttlingPoliciesApplicationPost(ApplicationThrottlePolicy body,
String contentType)
Add an Application Throttling Policy
This operation can be used to add a new application level throttling policy.
|
com.squareup.okhttp.Call |
ApplicationPolicyCollectionApi.throttlingPoliciesApplicationPostAsync(ApplicationThrottlePolicy body,
String contentType,
ApiCallback<ApplicationThrottlePolicy> callback)
Add an Application Throttling Policy (asynchronously)
This operation can be used to add a new application level throttling policy.
|
ApiResponse<ApplicationThrottlePolicy> |
ApplicationPolicyCollectionApi.throttlingPoliciesApplicationPostWithHttpInfo(ApplicationThrottlePolicy body,
String contentType)
Add an Application Throttling Policy
This operation can be used to add a new application level throttling policy.
|
CustomRuleList |
CustomRulesCollectionApi.throttlingPoliciesCustomGet(String accept,
String ifNoneMatch,
String ifModifiedSince)
Get all Custom Rules
Retrieves all Custom Rules.
|
com.squareup.okhttp.Call |
CustomRulesCollectionApi.throttlingPoliciesCustomGetAsync(String accept,
String ifNoneMatch,
String ifModifiedSince,
ApiCallback<CustomRuleList> callback)
Get all Custom Rules (asynchronously)
Retrieves all Custom Rules.
|
ApiResponse<CustomRuleList> |
CustomRulesCollectionApi.throttlingPoliciesCustomGetWithHttpInfo(String accept,
String ifNoneMatch,
String ifModifiedSince)
Get all Custom Rules
Retrieves all Custom Rules.
|
CustomRule |
CustomRulesCollectionApi.throttlingPoliciesCustomPost(CustomRule body,
String contentType)
Add a Custom Rule
Adds a new Custom Rule.
|
com.squareup.okhttp.Call |
CustomRulesCollectionApi.throttlingPoliciesCustomPostAsync(CustomRule body,
String contentType,
ApiCallback<CustomRule> callback)
Add a Custom Rule (asynchronously)
Adds a new Custom Rule.
|
ApiResponse<CustomRule> |
CustomRulesCollectionApi.throttlingPoliciesCustomPostWithHttpInfo(CustomRule body,
String contentType)
Add a Custom Rule
Adds a new Custom Rule.
|
void |
CustomRulesIndividualApi.throttlingPoliciesCustomRuleIdDelete(String ruleId,
String ifMatch,
String ifUnmodifiedSince)
Delete a Custom Rule
Delete a Custom Rule.
|
com.squareup.okhttp.Call |
CustomRulesIndividualApi.throttlingPoliciesCustomRuleIdDeleteAsync(String ruleId,
String ifMatch,
String ifUnmodifiedSince,
ApiCallback<Void> callback)
Delete a Custom Rule (asynchronously)
Delete a Custom Rule.
|
ApiResponse<Void> |
CustomRulesIndividualApi.throttlingPoliciesCustomRuleIdDeleteWithHttpInfo(String ruleId,
String ifMatch,
String ifUnmodifiedSince)
Delete a Custom Rule
Delete a Custom Rule.
|
CustomRule |
CustomRulesIndividualApi.throttlingPoliciesCustomRuleIdGet(String ruleId,
String ifNoneMatch,
String ifModifiedSince)
Get a Custom Rule
Retrieves a Custom Rule.
|
com.squareup.okhttp.Call |
CustomRulesIndividualApi.throttlingPoliciesCustomRuleIdGetAsync(String ruleId,
String ifNoneMatch,
String ifModifiedSince,
ApiCallback<CustomRule> callback)
Get a Custom Rule (asynchronously)
Retrieves a Custom Rule.
|
ApiResponse<CustomRule> |
CustomRulesIndividualApi.throttlingPoliciesCustomRuleIdGetWithHttpInfo(String ruleId,
String ifNoneMatch,
String ifModifiedSince)
Get a Custom Rule
Retrieves a Custom Rule.
|
CustomRule |
CustomRulesIndividualApi.throttlingPoliciesCustomRuleIdPut(String ruleId,
CustomRule body,
String contentType,
String ifMatch,
String ifUnmodifiedSince)
Update a Custom Rule
Updates an existing Custom Rule.
|
com.squareup.okhttp.Call |
CustomRulesIndividualApi.throttlingPoliciesCustomRuleIdPutAsync(String ruleId,
CustomRule body,
String contentType,
String ifMatch,
String ifUnmodifiedSince,
ApiCallback<CustomRule> callback)
Update a Custom Rule (asynchronously)
Updates an existing Custom Rule.
|
ApiResponse<CustomRule> |
CustomRulesIndividualApi.throttlingPoliciesCustomRuleIdPutWithHttpInfo(String ruleId,
CustomRule body,
String contentType,
String ifMatch,
String ifUnmodifiedSince)
Update a Custom Rule
Updates an existing Custom Rule.
|
SubscriptionThrottlePolicyList |
SubscriptionPolicyCollectionApi.throttlingPoliciesSubscriptionGet(String accept,
String ifNoneMatch,
String ifModifiedSince)
Get all Subscription Throttling Policies
This operation can be used to retrieve all Subscription level throttling policies.
|
com.squareup.okhttp.Call |
SubscriptionPolicyCollectionApi.throttlingPoliciesSubscriptionGetAsync(String accept,
String ifNoneMatch,
String ifModifiedSince,
ApiCallback<SubscriptionThrottlePolicyList> callback)
Get all Subscription Throttling Policies (asynchronously)
This operation can be used to retrieve all Subscription level throttling policies.
|
ApiResponse<SubscriptionThrottlePolicyList> |
SubscriptionPolicyCollectionApi.throttlingPoliciesSubscriptionGetWithHttpInfo(String accept,
String ifNoneMatch,
String ifModifiedSince)
Get all Subscription Throttling Policies
This operation can be used to retrieve all Subscription level throttling policies.
|
void |
SubscriptionPolicyIndividualApi.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 |
SubscriptionPolicyIndividualApi.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.
|
ApiResponse<Void> |
SubscriptionPolicyIndividualApi.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.
|
SubscriptionThrottlePolicy |
SubscriptionPolicyIndividualApi.throttlingPoliciesSubscriptionPolicyIdGet(String policyId,
String ifNoneMatch,
String ifModifiedSince)
Get a Subscription Policy
Retrieve a single subscription-level throttling policy.
|
com.squareup.okhttp.Call |
SubscriptionPolicyIndividualApi.throttlingPoliciesSubscriptionPolicyIdGetAsync(String policyId,
String ifNoneMatch,
String ifModifiedSince,
ApiCallback<SubscriptionThrottlePolicy> callback)
Get a Subscription Policy (asynchronously)
Retrieve a single subscription-level throttling policy.
|
ApiResponse<SubscriptionThrottlePolicy> |
SubscriptionPolicyIndividualApi.throttlingPoliciesSubscriptionPolicyIdGetWithHttpInfo(String policyId,
String ifNoneMatch,
String ifModifiedSince)
Get a Subscription Policy
Retrieve a single subscription-level throttling policy.
|
SubscriptionThrottlePolicy |
SubscriptionPolicyIndividualApi.throttlingPoliciesSubscriptionPolicyIdPut(String policyId,
SubscriptionThrottlePolicy body,
String contentType,
String ifMatch,
String ifUnmodifiedSince)
Update a Subscription Policy
Updates an existing subscription-level throttling policy.
|
com.squareup.okhttp.Call |
SubscriptionPolicyIndividualApi.throttlingPoliciesSubscriptionPolicyIdPutAsync(String policyId,
SubscriptionThrottlePolicy body,
String contentType,
String ifMatch,
String ifUnmodifiedSince,
ApiCallback<SubscriptionThrottlePolicy> callback)
Update a Subscription Policy (asynchronously)
Updates an existing subscription-level throttling policy.
|
ApiResponse<SubscriptionThrottlePolicy> |
SubscriptionPolicyIndividualApi.throttlingPoliciesSubscriptionPolicyIdPutWithHttpInfo(String policyId,
SubscriptionThrottlePolicy body,
String contentType,
String ifMatch,
String ifUnmodifiedSince)
Update a Subscription Policy
Updates an existing subscription-level throttling policy.
|
SubscriptionThrottlePolicy |
SubscriptionPolicyCollectionApi.throttlingPoliciesSubscriptionPost(SubscriptionThrottlePolicy body,
String contentType)
Add a Subscription Throttling Policy
This operation can be used to add a Subscription level throttling policy specifying the details of the policy in the payload.
|
com.squareup.okhttp.Call |
SubscriptionPolicyCollectionApi.throttlingPoliciesSubscriptionPostAsync(SubscriptionThrottlePolicy body,
String contentType,
ApiCallback<SubscriptionThrottlePolicy> callback)
Add a Subscription Throttling Policy (asynchronously)
This operation can be used to add a Subscription level throttling policy specifying the details of the policy in the payload.
|
ApiResponse<SubscriptionThrottlePolicy> |
SubscriptionPolicyCollectionApi.throttlingPoliciesSubscriptionPostWithHttpInfo(SubscriptionThrottlePolicy body,
String contentType)
Add a Subscription Throttling Policy
This operation can be used to add a Subscription level throttling policy specifying the details of the policy in the payload.
|
Copyright © 2018 WSO2 Inc. All rights reserved.