public class ApiMediationPoliciesApi extends Object
| Constructor and Description |
|---|
ApiMediationPoliciesApi() |
ApiMediationPoliciesApi(ApiClient apiClient) |
| Modifier and Type | Method and Description |
|---|---|
MediationListDTO |
apisApiIdMediationPoliciesGet(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.
|
com.squareup.okhttp.Call |
apisApiIdMediationPoliciesGetAsync(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.
|
com.squareup.okhttp.Call |
apisApiIdMediationPoliciesGetCall(String apiId,
Integer limit,
Integer offset,
String query,
String ifNoneMatch,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for apisApiIdMediationPoliciesGet
|
ApiResponse<MediationListDTO> |
apisApiIdMediationPoliciesGetWithHttpInfo(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.
|
MediationDTO |
apisApiIdMediationPoliciesPost(String type,
String apiId,
File mediationPolicyFile,
String inlineContent,
String ifMatch)
Add an API specific mediation policy
This operation can be used to add an API specifc mediation policy.
|
com.squareup.okhttp.Call |
apisApiIdMediationPoliciesPostAsync(String type,
String apiId,
File mediationPolicyFile,
String inlineContent,
String ifMatch,
ApiCallback<MediationDTO> callback)
Add an API specific mediation policy (asynchronously)
This operation can be used to add an API specifc mediation policy.
|
com.squareup.okhttp.Call |
apisApiIdMediationPoliciesPostCall(String type,
String apiId,
File mediationPolicyFile,
String inlineContent,
String ifMatch,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for apisApiIdMediationPoliciesPost
|
ApiResponse<MediationDTO> |
apisApiIdMediationPoliciesPostWithHttpInfo(String type,
String apiId,
File mediationPolicyFile,
String inlineContent,
String ifMatch)
Add an API specific mediation policy
This operation can be used to add an API specifc mediation policy.
|
ApiClient |
getApiClient() |
void |
setApiClient(ApiClient apiClient) |
public ApiMediationPoliciesApi()
public ApiMediationPoliciesApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public com.squareup.okhttp.Call apisApiIdMediationPoliciesGetCall(String apiId, Integer limit, Integer offset, String query, String ifNoneMatch, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) 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)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic MediationListDTO apisApiIdMediationPoliciesGet(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> apisApiIdMediationPoliciesGetWithHttpInfo(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 com.squareup.okhttp.Call apisApiIdMediationPoliciesGetAsync(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 objectpublic com.squareup.okhttp.Call apisApiIdMediationPoliciesPostCall(String type, String apiId, File mediationPolicyFile, String inlineContent, String ifMatch, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
type - Type of the mediation sequence (required)apiId - **API ID** consisting of the **UUID** of the API. (required)mediationPolicyFile - 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 apisApiIdMediationPoliciesPost(String type, String apiId, File mediationPolicyFile, String inlineContent, String ifMatch) throws ApiException
type - Type of the mediation sequence (required)apiId - **API ID** consisting of the **UUID** of the API. (required)mediationPolicyFile - 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> apisApiIdMediationPoliciesPostWithHttpInfo(String type, String apiId, File mediationPolicyFile, String inlineContent, String ifMatch) throws ApiException
type - Type of the mediation sequence (required)apiId - **API ID** consisting of the **UUID** of the API. (required)mediationPolicyFile - 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 apisApiIdMediationPoliciesPostAsync(String type, String apiId, File mediationPolicyFile, String inlineContent, String ifMatch, ApiCallback<MediationDTO> callback) throws ApiException
type - Type of the mediation sequence (required)apiId - **API ID** consisting of the **UUID** of the API. (required)mediationPolicyFile - 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 objectCopyright © 2020 WSO2 Inc. All rights reserved.