Class ApplicationPolicyCollectionApi
- java.lang.Object
-
- org.wso2.am.integration.clients.admin.api.ApplicationPolicyCollectionApi
-
public class ApplicationPolicyCollectionApi extends Object
-
-
Constructor Summary
Constructors Constructor Description ApplicationPolicyCollectionApi()ApplicationPolicyCollectionApi(ApiClient apiClient)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ApiClientgetApiClient()voidsetApiClient(ApiClient apiClient)ApplicationThrottlePolicyListDTOthrottlingPoliciesApplicationGet(String accept, String ifNoneMatch, String ifModifiedSince)Get all Application Throttling Policies Retrieves all existing application throttling policies.okhttp3.CallthrottlingPoliciesApplicationGetAsync(String accept, String ifNoneMatch, String ifModifiedSince, ApiCallback<ApplicationThrottlePolicyListDTO> _callback)Get all Application Throttling Policies (asynchronously) Retrieves all existing application throttling policies.okhttp3.CallthrottlingPoliciesApplicationGetCall(String accept, String ifNoneMatch, String ifModifiedSince, ApiCallback _callback)Build call for throttlingPoliciesApplicationGetApiResponse<ApplicationThrottlePolicyListDTO>throttlingPoliciesApplicationGetWithHttpInfo(String accept, String ifNoneMatch, String ifModifiedSince)Get all Application Throttling Policies Retrieves all existing application throttling policies.ApplicationThrottlePolicyDTOthrottlingPoliciesApplicationPost(String contentType, ApplicationThrottlePolicyDTO applicationThrottlePolicyDTO)Add an Application Throttling Policy This operation can be used to add a new application level throttling policy.okhttp3.CallthrottlingPoliciesApplicationPostAsync(String contentType, ApplicationThrottlePolicyDTO applicationThrottlePolicyDTO, ApiCallback<ApplicationThrottlePolicyDTO> _callback)Add an Application Throttling Policy (asynchronously) This operation can be used to add a new application level throttling policy.okhttp3.CallthrottlingPoliciesApplicationPostCall(String contentType, ApplicationThrottlePolicyDTO applicationThrottlePolicyDTO, ApiCallback _callback)Build call for throttlingPoliciesApplicationPostApiResponse<ApplicationThrottlePolicyDTO>throttlingPoliciesApplicationPostWithHttpInfo(String contentType, ApplicationThrottlePolicyDTO applicationThrottlePolicyDTO)Add an Application Throttling Policy This operation can be used to add a new application level throttling policy.
-
-
-
Constructor Detail
-
ApplicationPolicyCollectionApi
public ApplicationPolicyCollectionApi()
-
ApplicationPolicyCollectionApi
public ApplicationPolicyCollectionApi(ApiClient apiClient)
-
-
Method Detail
-
getApiClient
public ApiClient getApiClient()
-
setApiClient
public void setApiClient(ApiClient apiClient)
-
throttlingPoliciesApplicationGetCall
public okhttp3.Call throttlingPoliciesApplicationGetCall(String accept, String ifNoneMatch, String ifModifiedSince, ApiCallback _callback) throws ApiException
Build call for throttlingPoliciesApplicationGet- Parameters:
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 progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object
-
throttlingPoliciesApplicationGet
public ApplicationThrottlePolicyListDTO throttlingPoliciesApplicationGet(String accept, String ifNoneMatch, String ifModifiedSince) throws ApiException
Get all Application Throttling Policies Retrieves all existing application throttling policies.- Parameters:
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)- Returns:
- ApplicationThrottlePolicyListDTO
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
throttlingPoliciesApplicationGetWithHttpInfo
public ApiResponse<ApplicationThrottlePolicyListDTO> throttlingPoliciesApplicationGetWithHttpInfo(String accept, String ifNoneMatch, String ifModifiedSince) throws ApiException
Get all Application Throttling Policies Retrieves all existing application throttling policies.- Parameters:
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)- Returns:
- ApiResponse<ApplicationThrottlePolicyListDTO>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
throttlingPoliciesApplicationGetAsync
public okhttp3.Call throttlingPoliciesApplicationGetAsync(String accept, String ifNoneMatch, String ifModifiedSince, ApiCallback<ApplicationThrottlePolicyListDTO> _callback) throws ApiException
Get all Application Throttling Policies (asynchronously) Retrieves all existing application throttling policies.- Parameters:
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 finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object
-
throttlingPoliciesApplicationPostCall
public okhttp3.Call throttlingPoliciesApplicationPostCall(String contentType, ApplicationThrottlePolicyDTO applicationThrottlePolicyDTO, ApiCallback _callback) throws ApiException
Build call for throttlingPoliciesApplicationPost- Parameters:
contentType- Media type of the entity in the body. Default is application/json. (required)applicationThrottlePolicyDTO- Application level policy object that should to be added (required)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object
-
throttlingPoliciesApplicationPost
public ApplicationThrottlePolicyDTO throttlingPoliciesApplicationPost(String contentType, ApplicationThrottlePolicyDTO applicationThrottlePolicyDTO) throws ApiException
Add an Application Throttling Policy This operation can be used to add a new application level throttling policy.- Parameters:
contentType- Media type of the entity in the body. Default is application/json. (required)applicationThrottlePolicyDTO- Application level policy object that should to be added (required)- Returns:
- ApplicationThrottlePolicyDTO
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
throttlingPoliciesApplicationPostWithHttpInfo
public ApiResponse<ApplicationThrottlePolicyDTO> throttlingPoliciesApplicationPostWithHttpInfo(String contentType, ApplicationThrottlePolicyDTO applicationThrottlePolicyDTO) throws ApiException
Add an Application Throttling Policy This operation can be used to add a new application level throttling policy.- Parameters:
contentType- Media type of the entity in the body. Default is application/json. (required)applicationThrottlePolicyDTO- Application level policy object that should to be added (required)- Returns:
- ApiResponse<ApplicationThrottlePolicyDTO>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
throttlingPoliciesApplicationPostAsync
public okhttp3.Call throttlingPoliciesApplicationPostAsync(String contentType, ApplicationThrottlePolicyDTO applicationThrottlePolicyDTO, ApiCallback<ApplicationThrottlePolicyDTO> _callback) throws ApiException
Add an Application Throttling Policy (asynchronously) This operation can be used to add a new application level throttling policy.- Parameters:
contentType- Media type of the entity in the body. Default is application/json. (required)applicationThrottlePolicyDTO- Application level policy object that should to be added (required)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object
-
-