public class ApiMediationPolicyApi extends Object
| Constructor and Description |
|---|
ApiMediationPolicyApi() |
ApiMediationPolicyApi(ApiClient apiClient) |
| Modifier and Type | Method and Description |
|---|---|
void |
deleteAPIMediationPolicyByPolicyId(String apiId,
String mediationPolicyId,
String ifMatch)
Delete an API Specific Mediation Policy
This operation can be used to delete an existing API specific mediation policy providing the Id of the API and the Id of the mediation policy.
|
okhttp3.Call |
deleteAPIMediationPolicyByPolicyIdAsync(String apiId,
String mediationPolicyId,
String ifMatch,
ApiCallback<Void> _callback)
Delete an API Specific Mediation Policy (asynchronously)
This operation can be used to delete an existing API specific mediation policy providing the Id of the API and the Id of the mediation policy.
|
okhttp3.Call |
deleteAPIMediationPolicyByPolicyIdCall(String apiId,
String mediationPolicyId,
String ifMatch,
ApiCallback _callback)
Build call for deleteAPIMediationPolicyByPolicyId
|
ApiResponse<Void> |
deleteAPIMediationPolicyByPolicyIdWithHttpInfo(String apiId,
String mediationPolicyId,
String ifMatch)
Delete an API Specific Mediation Policy
This operation can be used to delete an existing API specific mediation policy providing the Id of the API and the Id of the mediation policy.
|
ApiClient |
getApiClient() |
MediationDTO |
getAPIMediationPolicyByPolicyId(String apiId,
String mediationPolicyId,
String ifNoneMatch)
Get an API Specific Mediation Policy
This operation can be used to retrieve a particular API specific mediation policy.
|
okhttp3.Call |
getAPIMediationPolicyByPolicyIdAsync(String apiId,
String mediationPolicyId,
String ifNoneMatch,
ApiCallback<MediationDTO> _callback)
Get an API Specific Mediation Policy (asynchronously)
This operation can be used to retrieve a particular API specific mediation policy.
|
okhttp3.Call |
getAPIMediationPolicyByPolicyIdCall(String apiId,
String mediationPolicyId,
String ifNoneMatch,
ApiCallback _callback)
Build call for getAPIMediationPolicyByPolicyId
|
ApiResponse<MediationDTO> |
getAPIMediationPolicyByPolicyIdWithHttpInfo(String apiId,
String mediationPolicyId,
String ifNoneMatch)
Get an API Specific Mediation Policy
This operation can be used to retrieve a particular API specific mediation policy.
|
void |
getAPIMediationPolicyContentByPolicyId(String apiId,
String mediationPolicyId,
String ifNoneMatch)
Download an API Specific Mediation Policy
This operation can be used to download a particular API specific mediation policy.
|
okhttp3.Call |
getAPIMediationPolicyContentByPolicyIdAsync(String apiId,
String mediationPolicyId,
String ifNoneMatch,
ApiCallback<Void> _callback)
Download an API Specific Mediation Policy (asynchronously)
This operation can be used to download a particular API specific mediation policy.
|
okhttp3.Call |
getAPIMediationPolicyContentByPolicyIdCall(String apiId,
String mediationPolicyId,
String ifNoneMatch,
ApiCallback _callback)
Build call for getAPIMediationPolicyContentByPolicyId
|
ApiResponse<Void> |
getAPIMediationPolicyContentByPolicyIdWithHttpInfo(String apiId,
String mediationPolicyId,
String ifNoneMatch)
Download an API Specific Mediation Policy
This operation can be used to download a particular API specific mediation policy.
|
void |
setApiClient(ApiClient apiClient) |
MediationDTO |
updateAPIMediationPolicyContentByPolicyId(String apiId,
String mediationPolicyId,
String type,
String ifMatch,
File file,
String inlineContent)
Update an API Specific Mediation Policy
This operation can be used to update an existing mediation policy of an API.
|
okhttp3.Call |
updateAPIMediationPolicyContentByPolicyIdAsync(String apiId,
String mediationPolicyId,
String type,
String ifMatch,
File file,
String inlineContent,
ApiCallback<MediationDTO> _callback)
Update an API Specific Mediation Policy (asynchronously)
This operation can be used to update an existing mediation policy of an API.
|
okhttp3.Call |
updateAPIMediationPolicyContentByPolicyIdCall(String apiId,
String mediationPolicyId,
String type,
String ifMatch,
File file,
String inlineContent,
ApiCallback _callback)
Build call for updateAPIMediationPolicyContentByPolicyId
|
ApiResponse<MediationDTO> |
updateAPIMediationPolicyContentByPolicyIdWithHttpInfo(String apiId,
String mediationPolicyId,
String type,
String ifMatch,
File file,
String inlineContent)
Update an API Specific Mediation Policy
This operation can be used to update an existing mediation policy of an API.
|
public ApiMediationPolicyApi()
public ApiMediationPolicyApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public okhttp3.Call deleteAPIMediationPolicyByPolicyIdCall(String apiId, String mediationPolicyId, String ifMatch, ApiCallback _callback) throws ApiException
apiId - **API ID** consisting of the **UUID** of the API. (required)mediationPolicyId - Mediation policy Id (required)ifMatch - Validator for conditional requests; based on ETag. (optional)_callback - Callback for upload/download progressApiException - If fail to serialize the request body objectpublic void deleteAPIMediationPolicyByPolicyId(String apiId, String mediationPolicyId, String ifMatch) throws ApiException
apiId - **API ID** consisting of the **UUID** of the API. (required)mediationPolicyId - Mediation policy Id (required)ifMatch - Validator for conditional requests; based on ETag. (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<Void> deleteAPIMediationPolicyByPolicyIdWithHttpInfo(String apiId, String mediationPolicyId, String ifMatch) throws ApiException
apiId - **API ID** consisting of the **UUID** of the API. (required)mediationPolicyId - Mediation policy Id (required)ifMatch - Validator for conditional requests; based on ETag. (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic okhttp3.Call deleteAPIMediationPolicyByPolicyIdAsync(String apiId, String mediationPolicyId, String ifMatch, ApiCallback<Void> _callback) throws ApiException
apiId - **API ID** consisting of the **UUID** of the API. (required)mediationPolicyId - Mediation policy Id (required)ifMatch - Validator for conditional requests; based on ETag. (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 getAPIMediationPolicyByPolicyIdCall(String apiId, String mediationPolicyId, String ifNoneMatch, ApiCallback _callback) throws ApiException
apiId - **API ID** consisting of the **UUID** of the API. (required)mediationPolicyId - Mediation policy Id (required)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 MediationDTO getAPIMediationPolicyByPolicyId(String apiId, String mediationPolicyId, String ifNoneMatch) throws ApiException
apiId - **API ID** consisting of the **UUID** of the API. (required)mediationPolicyId - Mediation policy Id (required)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<MediationDTO> getAPIMediationPolicyByPolicyIdWithHttpInfo(String apiId, String mediationPolicyId, String ifNoneMatch) throws ApiException
apiId - **API ID** consisting of the **UUID** of the API. (required)mediationPolicyId - Mediation policy Id (required)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 getAPIMediationPolicyByPolicyIdAsync(String apiId, String mediationPolicyId, String ifNoneMatch, ApiCallback<MediationDTO> _callback) throws ApiException
apiId - **API ID** consisting of the **UUID** of the API. (required)mediationPolicyId - Mediation policy Id (required)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 objectpublic okhttp3.Call getAPIMediationPolicyContentByPolicyIdCall(String apiId, String mediationPolicyId, String ifNoneMatch, ApiCallback _callback) throws ApiException
apiId - **API ID** consisting of the **UUID** of the API. (required)mediationPolicyId - Mediation policy Id (required)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 void getAPIMediationPolicyContentByPolicyId(String apiId, String mediationPolicyId, String ifNoneMatch) throws ApiException
apiId - **API ID** consisting of the **UUID** of the API. (required)mediationPolicyId - Mediation policy Id (required)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<Void> getAPIMediationPolicyContentByPolicyIdWithHttpInfo(String apiId, String mediationPolicyId, String ifNoneMatch) throws ApiException
apiId - **API ID** consisting of the **UUID** of the API. (required)mediationPolicyId - Mediation policy Id (required)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 getAPIMediationPolicyContentByPolicyIdAsync(String apiId, String mediationPolicyId, String ifNoneMatch, ApiCallback<Void> _callback) throws ApiException
apiId - **API ID** consisting of the **UUID** of the API. (required)mediationPolicyId - Mediation policy Id (required)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 objectpublic okhttp3.Call updateAPIMediationPolicyContentByPolicyIdCall(String apiId, String mediationPolicyId, String type, String ifMatch, File file, String inlineContent, ApiCallback _callback) throws ApiException
apiId - **API ID** consisting of the **UUID** of the API. (required)mediationPolicyId - Mediation policy Id (required)type - Type of the mediation sequence(in/out/fault) (required)ifMatch - Validator for conditional requests; based on ETag. (optional)file - 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 updateAPIMediationPolicyContentByPolicyId(String apiId, String mediationPolicyId, String type, String ifMatch, File file, String inlineContent) throws ApiException
apiId - **API ID** consisting of the **UUID** of the API. (required)mediationPolicyId - Mediation policy Id (required)type - Type of the mediation sequence(in/out/fault) (required)ifMatch - Validator for conditional requests; based on ETag. (optional)file - 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> updateAPIMediationPolicyContentByPolicyIdWithHttpInfo(String apiId, String mediationPolicyId, String type, String ifMatch, File file, String inlineContent) throws ApiException
apiId - **API ID** consisting of the **UUID** of the API. (required)mediationPolicyId - Mediation policy Id (required)type - Type of the mediation sequence(in/out/fault) (required)ifMatch - Validator for conditional requests; based on ETag. (optional)file - 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 updateAPIMediationPolicyContentByPolicyIdAsync(String apiId, String mediationPolicyId, String type, String ifMatch, File file, String inlineContent, ApiCallback<MediationDTO> _callback) throws ApiException
apiId - **API ID** consisting of the **UUID** of the API. (required)mediationPolicyId - Mediation policy Id (required)type - Type of the mediation sequence(in/out/fault) (required)ifMatch - Validator for conditional requests; based on ETag. (optional)file - 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 objectCopyright © 2021 WSO2 Inc. All rights reserved.