public class ApiMediationPolicyApi extends Object
| Constructor and Description |
|---|
ApiMediationPolicyApi() |
ApiMediationPolicyApi(ApiClient apiClient) |
| Modifier and Type | Method and Description |
|---|---|
void |
apisApiIdMediationPoliciesMediationPolicyIdContentGet(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.
|
com.squareup.okhttp.Call |
apisApiIdMediationPoliciesMediationPolicyIdContentGetAsync(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.
|
com.squareup.okhttp.Call |
apisApiIdMediationPoliciesMediationPolicyIdContentGetCall(String apiId,
String mediationPolicyId,
String ifNoneMatch,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for apisApiIdMediationPoliciesMediationPolicyIdContentGet
|
ApiResponse<Void> |
apisApiIdMediationPoliciesMediationPolicyIdContentGetWithHttpInfo(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.
|
MediationDTO |
apisApiIdMediationPoliciesMediationPolicyIdContentPut(String type,
String apiId,
String mediationPolicyId,
File file,
String inlineContent,
String ifMatch)
Update an API specific mediation policy
This operation can be used to update an existing mediation policy of an API.
|
com.squareup.okhttp.Call |
apisApiIdMediationPoliciesMediationPolicyIdContentPutAsync(String type,
String apiId,
String mediationPolicyId,
File file,
String inlineContent,
String ifMatch,
ApiCallback<MediationDTO> callback)
Update an API specific mediation policy (asynchronously)
This operation can be used to update an existing mediation policy of an API.
|
com.squareup.okhttp.Call |
apisApiIdMediationPoliciesMediationPolicyIdContentPutCall(String type,
String apiId,
String mediationPolicyId,
File file,
String inlineContent,
String ifMatch,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for apisApiIdMediationPoliciesMediationPolicyIdContentPut
|
ApiResponse<MediationDTO> |
apisApiIdMediationPoliciesMediationPolicyIdContentPutWithHttpInfo(String type,
String apiId,
String mediationPolicyId,
File file,
String inlineContent,
String ifMatch)
Update an API specific mediation policy
This operation can be used to update an existing mediation policy of an API.
|
void |
apisApiIdMediationPoliciesMediationPolicyIdDelete(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.
|
com.squareup.okhttp.Call |
apisApiIdMediationPoliciesMediationPolicyIdDeleteAsync(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.
|
com.squareup.okhttp.Call |
apisApiIdMediationPoliciesMediationPolicyIdDeleteCall(String apiId,
String mediationPolicyId,
String ifMatch,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for apisApiIdMediationPoliciesMediationPolicyIdDelete
|
ApiResponse<Void> |
apisApiIdMediationPoliciesMediationPolicyIdDeleteWithHttpInfo(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.
|
MediationDTO |
apisApiIdMediationPoliciesMediationPolicyIdGet(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.
|
com.squareup.okhttp.Call |
apisApiIdMediationPoliciesMediationPolicyIdGetAsync(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.
|
com.squareup.okhttp.Call |
apisApiIdMediationPoliciesMediationPolicyIdGetCall(String apiId,
String mediationPolicyId,
String ifNoneMatch,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for apisApiIdMediationPoliciesMediationPolicyIdGet
|
ApiResponse<MediationDTO> |
apisApiIdMediationPoliciesMediationPolicyIdGetWithHttpInfo(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.
|
ApiClient |
getApiClient() |
void |
setApiClient(ApiClient apiClient) |
public ApiMediationPolicyApi()
public ApiMediationPolicyApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public com.squareup.okhttp.Call apisApiIdMediationPoliciesMediationPolicyIdContentGetCall(String apiId, String mediationPolicyId, String ifNoneMatch, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) 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)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic void apisApiIdMediationPoliciesMediationPolicyIdContentGet(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> apisApiIdMediationPoliciesMediationPolicyIdContentGetWithHttpInfo(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 com.squareup.okhttp.Call apisApiIdMediationPoliciesMediationPolicyIdContentGetAsync(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 com.squareup.okhttp.Call apisApiIdMediationPoliciesMediationPolicyIdContentPutCall(String type, String apiId, String mediationPolicyId, File file, String inlineContent, String ifMatch, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
type - Type of the mediation sequence(in/out/fault) (required)apiId - **API ID** consisting of the **UUID** of the API. (required)mediationPolicyId - Mediation policy Id (required)file - Mediation Policy to upload (optional)inlineContent - Inline content of the Mediation Policy (optional)ifMatch - Validator for conditional requests; based on ETag. (optional)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic MediationDTO apisApiIdMediationPoliciesMediationPolicyIdContentPut(String type, String apiId, String mediationPolicyId, File file, String inlineContent, String ifMatch) throws ApiException
type - Type of the mediation sequence(in/out/fault) (required)apiId - **API ID** consisting of the **UUID** of the API. (required)mediationPolicyId - Mediation policy Id (required)file - Mediation Policy to upload (optional)inlineContent - Inline content of the Mediation Policy (optional)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<MediationDTO> apisApiIdMediationPoliciesMediationPolicyIdContentPutWithHttpInfo(String type, String apiId, String mediationPolicyId, File file, String inlineContent, String ifMatch) throws ApiException
type - Type of the mediation sequence(in/out/fault) (required)apiId - **API ID** consisting of the **UUID** of the API. (required)mediationPolicyId - Mediation policy Id (required)file - Mediation Policy to upload (optional)inlineContent - Inline content of the Mediation Policy (optional)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 com.squareup.okhttp.Call apisApiIdMediationPoliciesMediationPolicyIdContentPutAsync(String type, String apiId, String mediationPolicyId, File file, String inlineContent, String ifMatch, ApiCallback<MediationDTO> callback) throws ApiException
type - Type of the mediation sequence(in/out/fault) (required)apiId - **API ID** consisting of the **UUID** of the API. (required)mediationPolicyId - Mediation policy Id (required)file - Mediation Policy to upload (optional)inlineContent - Inline content of the Mediation Policy (optional)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 com.squareup.okhttp.Call apisApiIdMediationPoliciesMediationPolicyIdDeleteCall(String apiId, String mediationPolicyId, String ifMatch, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) 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)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic void apisApiIdMediationPoliciesMediationPolicyIdDelete(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> apisApiIdMediationPoliciesMediationPolicyIdDeleteWithHttpInfo(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 com.squareup.okhttp.Call apisApiIdMediationPoliciesMediationPolicyIdDeleteAsync(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 com.squareup.okhttp.Call apisApiIdMediationPoliciesMediationPolicyIdGetCall(String apiId, String mediationPolicyId, String ifNoneMatch, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) 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)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic MediationDTO apisApiIdMediationPoliciesMediationPolicyIdGet(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> apisApiIdMediationPoliciesMediationPolicyIdGetWithHttpInfo(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 com.squareup.okhttp.Call apisApiIdMediationPoliciesMediationPolicyIdGetAsync(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 objectCopyright © 2020 WSO2 Inc. All rights reserved.