public class AdvancedPolicyCollectionApi extends Object
| Constructor and Description |
|---|
AdvancedPolicyCollectionApi() |
AdvancedPolicyCollectionApi(ApiClient apiClient) |
| Modifier and Type | Method and Description |
|---|---|
ApiClient |
getApiClient() |
void |
setApiClient(ApiClient apiClient) |
AdvancedThrottlePolicyList |
throttlingPoliciesAdvancedGet(String accept,
String ifNoneMatch,
String ifModifiedSince)
Get all Advanced throttling policies.
|
com.squareup.okhttp.Call |
throttlingPoliciesAdvancedGetAsync(String accept,
String ifNoneMatch,
String ifModifiedSince,
ApiCallback<AdvancedThrottlePolicyList> callback)
Get all Advanced throttling policies.
|
ApiResponse<AdvancedThrottlePolicyList> |
throttlingPoliciesAdvancedGetWithHttpInfo(String accept,
String ifNoneMatch,
String ifModifiedSince)
Get all Advanced throttling policies.
|
AdvancedThrottlePolicy |
throttlingPoliciesAdvancedPost(AdvancedThrottlePolicy body,
String contentType)
Add an Advanced Throttling Policy
Add a new Advanced level throttling policy.
|
com.squareup.okhttp.Call |
throttlingPoliciesAdvancedPostAsync(AdvancedThrottlePolicy body,
String contentType,
ApiCallback<AdvancedThrottlePolicy> callback)
Add an Advanced Throttling Policy (asynchronously)
Add a new Advanced level throttling policy.
|
ApiResponse<AdvancedThrottlePolicy> |
throttlingPoliciesAdvancedPostWithHttpInfo(AdvancedThrottlePolicy body,
String contentType)
Add an Advanced Throttling Policy
Add a new Advanced level throttling policy.
|
public AdvancedPolicyCollectionApi()
public AdvancedPolicyCollectionApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public AdvancedThrottlePolicyList throttlingPoliciesAdvancedGet(String accept, String ifNoneMatch, String ifModifiedSince) throws ApiException
accept - Media types acceptable for the response. Default is application/json. (optional, default to application/json)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<AdvancedThrottlePolicyList> throttlingPoliciesAdvancedGetWithHttpInfo(String accept, String ifNoneMatch, String ifModifiedSince) throws ApiException
accept - Media types acceptable for the response. Default is application/json. (optional, default to application/json)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 throttlingPoliciesAdvancedGetAsync(String accept, String ifNoneMatch, String ifModifiedSince, ApiCallback<AdvancedThrottlePolicyList> callback) throws ApiException
accept - Media types acceptable for the response. Default is application/json. (optional, default to application/json)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 AdvancedThrottlePolicy throttlingPoliciesAdvancedPost(AdvancedThrottlePolicy body, String contentType) throws ApiException
body - Advanced level policy object that should to be added (required)contentType - Media type of the entity in the body. Default is application/json. (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<AdvancedThrottlePolicy> throttlingPoliciesAdvancedPostWithHttpInfo(AdvancedThrottlePolicy body, String contentType) throws ApiException
body - Advanced level policy object that should to be added (required)contentType - Media type of the entity in the body. Default is application/json. (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call throttlingPoliciesAdvancedPostAsync(AdvancedThrottlePolicy body, String contentType, ApiCallback<AdvancedThrottlePolicy> callback) throws ApiException
body - Advanced level policy object that should to be added (required)contentType - Media type of the entity in the body. Default is application/json. (required)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.