public class AdvancedPolicyCollectionApi extends Object
| Constructor and Description |
|---|
AdvancedPolicyCollectionApi() |
AdvancedPolicyCollectionApi(ApiClient apiClient) |
| Modifier and Type | Method and Description |
|---|---|
ApiClient |
getApiClient() |
void |
setApiClient(ApiClient apiClient) |
AdvancedThrottlePolicyListDTO |
throttlingPoliciesAdvancedGet(String accept,
String ifNoneMatch,
String ifModifiedSince)
Get all Advanced Throttling Policies
Retrieves all existing advanced throttling policies.
|
okhttp3.Call |
throttlingPoliciesAdvancedGetAsync(String accept,
String ifNoneMatch,
String ifModifiedSince,
ApiCallback<AdvancedThrottlePolicyListDTO> _callback)
Get all Advanced Throttling Policies (asynchronously)
Retrieves all existing advanced throttling policies.
|
okhttp3.Call |
throttlingPoliciesAdvancedGetCall(String accept,
String ifNoneMatch,
String ifModifiedSince,
ApiCallback _callback)
Build call for throttlingPoliciesAdvancedGet
|
ApiResponse<AdvancedThrottlePolicyListDTO> |
throttlingPoliciesAdvancedGetWithHttpInfo(String accept,
String ifNoneMatch,
String ifModifiedSince)
Get all Advanced Throttling Policies
Retrieves all existing advanced throttling policies.
|
AdvancedThrottlePolicyDTO |
throttlingPoliciesAdvancedPost(String contentType,
AdvancedThrottlePolicyDTO advancedThrottlePolicyDTO)
Add an Advanced Throttling Policy
Add a new advanced throttling policy.
|
okhttp3.Call |
throttlingPoliciesAdvancedPostAsync(String contentType,
AdvancedThrottlePolicyDTO advancedThrottlePolicyDTO,
ApiCallback<AdvancedThrottlePolicyDTO> _callback)
Add an Advanced Throttling Policy (asynchronously)
Add a new advanced throttling policy.
|
okhttp3.Call |
throttlingPoliciesAdvancedPostCall(String contentType,
AdvancedThrottlePolicyDTO advancedThrottlePolicyDTO,
ApiCallback _callback)
Build call for throttlingPoliciesAdvancedPost
|
ApiResponse<AdvancedThrottlePolicyDTO> |
throttlingPoliciesAdvancedPostWithHttpInfo(String contentType,
AdvancedThrottlePolicyDTO advancedThrottlePolicyDTO)
Add an Advanced Throttling Policy
Add a new advanced throttling policy.
|
public AdvancedPolicyCollectionApi()
public AdvancedPolicyCollectionApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public okhttp3.Call throttlingPoliciesAdvancedGetCall(String accept, String ifNoneMatch, String ifModifiedSince, ApiCallback _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 - Callback for upload/download progressApiException - If fail to serialize the request body objectpublic AdvancedThrottlePolicyListDTO 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<AdvancedThrottlePolicyListDTO> 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 okhttp3.Call throttlingPoliciesAdvancedGetAsync(String accept, String ifNoneMatch, String ifModifiedSince, ApiCallback<AdvancedThrottlePolicyListDTO> _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 okhttp3.Call throttlingPoliciesAdvancedPostCall(String contentType, AdvancedThrottlePolicyDTO advancedThrottlePolicyDTO, ApiCallback _callback) throws ApiException
contentType - Media type of the entity in the body. Default is application/json. (required)advancedThrottlePolicyDTO - Advanced level policy object that should to be added (required)_callback - Callback for upload/download progressApiException - If fail to serialize the request body objectpublic AdvancedThrottlePolicyDTO throttlingPoliciesAdvancedPost(String contentType, AdvancedThrottlePolicyDTO advancedThrottlePolicyDTO) throws ApiException
contentType - Media type of the entity in the body. Default is application/json. (required)advancedThrottlePolicyDTO - Advanced level policy object that should to be added (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<AdvancedThrottlePolicyDTO> throttlingPoliciesAdvancedPostWithHttpInfo(String contentType, AdvancedThrottlePolicyDTO advancedThrottlePolicyDTO) throws ApiException
contentType - Media type of the entity in the body. Default is application/json. (required)advancedThrottlePolicyDTO - Advanced level policy object that should to be added (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic okhttp3.Call throttlingPoliciesAdvancedPostAsync(String contentType, AdvancedThrottlePolicyDTO advancedThrottlePolicyDTO, ApiCallback<AdvancedThrottlePolicyDTO> _callback) throws ApiException
contentType - Media type of the entity in the body. Default is application/json. (required)advancedThrottlePolicyDTO - Advanced level policy object that should to be added (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 © 2021 WSO2 Inc. All rights reserved.