public class ApiMediationPoliciesApi extends Object
| Constructor and Description |
|---|
ApiMediationPoliciesApi() |
ApiMediationPoliciesApi(ApiClient apiClient) |
| Modifier and Type | Method and Description |
|---|---|
MediationDTO |
addAPIMediationPolicy(String apiId,
String type,
String ifMatch,
File mediationPolicyFile,
String inlineContent)
Add an API Specific Mediation Policy
This operation can be used to add an API specifc mediation policy.
|
okhttp3.Call |
addAPIMediationPolicyAsync(String apiId,
String type,
String ifMatch,
File mediationPolicyFile,
String inlineContent,
ApiCallback<MediationDTO> _callback)
Add an API Specific Mediation Policy (asynchronously)
This operation can be used to add an API specifc mediation policy.
|
okhttp3.Call |
addAPIMediationPolicyCall(String apiId,
String type,
String ifMatch,
File mediationPolicyFile,
String inlineContent,
ApiCallback _callback)
Build call for addAPIMediationPolicy
|
ApiResponse<MediationDTO> |
addAPIMediationPolicyWithHttpInfo(String apiId,
String type,
String ifMatch,
File mediationPolicyFile,
String inlineContent)
Add an API Specific Mediation Policy
This operation can be used to add an API specifc mediation policy.
|
MediationListDTO |
getAllAPIMediationPolicies(String apiId,
Integer limit,
Integer offset,
String query,
String ifNoneMatch)
Get All Mediation Policies of an API
This operation provides you a list of available mediation policies of an API.
|
okhttp3.Call |
getAllAPIMediationPoliciesAsync(String apiId,
Integer limit,
Integer offset,
String query,
String ifNoneMatch,
ApiCallback<MediationListDTO> _callback)
Get All Mediation Policies of an API (asynchronously)
This operation provides you a list of available mediation policies of an API.
|
okhttp3.Call |
getAllAPIMediationPoliciesCall(String apiId,
Integer limit,
Integer offset,
String query,
String ifNoneMatch,
ApiCallback _callback)
Build call for getAllAPIMediationPolicies
|
ApiResponse<MediationListDTO> |
getAllAPIMediationPoliciesWithHttpInfo(String apiId,
Integer limit,
Integer offset,
String query,
String ifNoneMatch)
Get All Mediation Policies of an API
This operation provides you a list of available mediation policies of an API.
|
ApiClient |
getApiClient() |
void |
setApiClient(ApiClient apiClient) |
public ApiMediationPoliciesApi()
public ApiMediationPoliciesApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public okhttp3.Call addAPIMediationPolicyCall(String apiId, String type, String ifMatch, File mediationPolicyFile, String inlineContent, ApiCallback _callback) throws ApiException
apiId - **API ID** consisting of the **UUID** of the API. (required)type - Type of the mediation sequence (required)ifMatch - Validator for conditional requests; based on ETag. (optional)mediationPolicyFile - Mediation Policy to upload (optional)inlineContent - Inline content of the Mediation Policy (optional)_callback - Callback for upload/download progressApiException - If fail to serialize the request body objectpublic MediationDTO addAPIMediationPolicy(String apiId, String type, String ifMatch, File mediationPolicyFile, String inlineContent) throws ApiException
apiId - **API ID** consisting of the **UUID** of the API. (required)type - Type of the mediation sequence (required)ifMatch - Validator for conditional requests; based on ETag. (optional)mediationPolicyFile - Mediation Policy to upload (optional)inlineContent - Inline content of the Mediation Policy (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<MediationDTO> addAPIMediationPolicyWithHttpInfo(String apiId, String type, String ifMatch, File mediationPolicyFile, String inlineContent) throws ApiException
apiId - **API ID** consisting of the **UUID** of the API. (required)type - Type of the mediation sequence (required)ifMatch - Validator for conditional requests; based on ETag. (optional)mediationPolicyFile - Mediation Policy to upload (optional)inlineContent - Inline content of the Mediation Policy (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic okhttp3.Call addAPIMediationPolicyAsync(String apiId, String type, String ifMatch, File mediationPolicyFile, String inlineContent, ApiCallback<MediationDTO> _callback) throws ApiException
apiId - **API ID** consisting of the **UUID** of the API. (required)type - Type of the mediation sequence (required)ifMatch - Validator for conditional requests; based on ETag. (optional)mediationPolicyFile - Mediation Policy to upload (optional)inlineContent - Inline content of the Mediation Policy (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 getAllAPIMediationPoliciesCall(String apiId, Integer limit, Integer offset, String query, String ifNoneMatch, ApiCallback _callback) throws ApiException
apiId - **API ID** consisting of the **UUID** of the API. (required)limit - Maximum size of resource array to return. (optional, default to 25)offset - Starting point within the complete list of items qualified. (optional, default to 0)query - -Not supported yet- (optional)ifNoneMatch - Validator for conditional requests; based on the ETag of the formerly retrieved variant of the resource. (optional)_callback - Callback for upload/download progressApiException - If fail to serialize the request body objectpublic MediationListDTO getAllAPIMediationPolicies(String apiId, Integer limit, Integer offset, String query, String ifNoneMatch) throws ApiException
apiId - **API ID** consisting of the **UUID** of the API. (required)limit - Maximum size of resource array to return. (optional, default to 25)offset - Starting point within the complete list of items qualified. (optional, default to 0)query - -Not supported yet- (optional)ifNoneMatch - Validator for conditional requests; based on the ETag of the formerly retrieved variant of the resource. (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<MediationListDTO> getAllAPIMediationPoliciesWithHttpInfo(String apiId, Integer limit, Integer offset, String query, String ifNoneMatch) throws ApiException
apiId - **API ID** consisting of the **UUID** of the API. (required)limit - Maximum size of resource array to return. (optional, default to 25)offset - Starting point within the complete list of items qualified. (optional, default to 0)query - -Not supported yet- (optional)ifNoneMatch - Validator for conditional requests; based on the ETag of the formerly retrieved variant of the resource. (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic okhttp3.Call getAllAPIMediationPoliciesAsync(String apiId, Integer limit, Integer offset, String query, String ifNoneMatch, ApiCallback<MediationListDTO> _callback) throws ApiException
apiId - **API ID** consisting of the **UUID** of the API. (required)limit - Maximum size of resource array to return. (optional, default to 25)offset - Starting point within the complete list of items qualified. (optional, default to 0)query - -Not supported yet- (optional)ifNoneMatch - Validator for conditional requests; based on the ETag of the formerly retrieved variant of the resource. (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 © 2021 WSO2 Inc. All rights reserved.