public class MediationPolicyCollectionApi extends Object
| Constructor and Description |
|---|
MediationPolicyCollectionApi() |
MediationPolicyCollectionApi(ApiClient apiClient) |
| Modifier and Type | Method and Description |
|---|---|
ApiClient |
getApiClient() |
MediationListDTO |
policiesMediationGet(Integer limit,
Integer offset,
String query,
String accept,
String ifNoneMatch)
Get all Global Mediation Policies
This operation provides you a list of all available global mediation policies.
|
okhttp3.Call |
policiesMediationGetAsync(Integer limit,
Integer offset,
String query,
String accept,
String ifNoneMatch,
ApiCallback<MediationListDTO> _callback)
Get all Global Mediation Policies (asynchronously)
This operation provides you a list of all available global mediation policies.
|
okhttp3.Call |
policiesMediationGetCall(Integer limit,
Integer offset,
String query,
String accept,
String ifNoneMatch,
ApiCallback _callback)
Build call for policiesMediationGet
|
ApiResponse<MediationListDTO> |
policiesMediationGetWithHttpInfo(Integer limit,
Integer offset,
String query,
String accept,
String ifNoneMatch)
Get all Global Mediation Policies
This operation provides you a list of all available global mediation policies.
|
MediationDTO |
policiesMediationPost(String contentType,
MediationDTO mediationDTO,
String ifMatch,
String ifUnmodifiedSince)
Add a Global Mediation Policy
This operation can be used to add a new global mediation policy.
|
okhttp3.Call |
policiesMediationPostAsync(String contentType,
MediationDTO mediationDTO,
String ifMatch,
String ifUnmodifiedSince,
ApiCallback<MediationDTO> _callback)
Add a Global Mediation Policy (asynchronously)
This operation can be used to add a new global mediation policy.
|
okhttp3.Call |
policiesMediationPostCall(String contentType,
MediationDTO mediationDTO,
String ifMatch,
String ifUnmodifiedSince,
ApiCallback _callback)
Build call for policiesMediationPost
|
ApiResponse<MediationDTO> |
policiesMediationPostWithHttpInfo(String contentType,
MediationDTO mediationDTO,
String ifMatch,
String ifUnmodifiedSince)
Add a Global Mediation Policy
This operation can be used to add a new global mediation policy.
|
void |
setApiClient(ApiClient apiClient) |
public MediationPolicyCollectionApi()
public MediationPolicyCollectionApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public okhttp3.Call policiesMediationGetCall(Integer limit, Integer offset, String query, String accept, String ifNoneMatch, ApiCallback _callback) throws ApiException
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)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)_callback - Callback for upload/download progressApiException - If fail to serialize the request body objectpublic MediationListDTO policiesMediationGet(Integer limit, Integer offset, String query, String accept, String ifNoneMatch) throws ApiException
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)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)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<MediationListDTO> policiesMediationGetWithHttpInfo(Integer limit, Integer offset, String query, String accept, String ifNoneMatch) throws ApiException
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)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)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic okhttp3.Call policiesMediationGetAsync(Integer limit, Integer offset, String query, String accept, String ifNoneMatch, ApiCallback<MediationListDTO> _callback) throws ApiException
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)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)_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 policiesMediationPostCall(String contentType, MediationDTO mediationDTO, String ifMatch, String ifUnmodifiedSince, ApiCallback _callback) throws ApiException
contentType - Media type of the entity in the body. Default is application/json. (required)mediationDTO - mediation policy to upload (required)ifMatch - Validator for conditional requests; based on ETag (Will be supported in future). (optional)ifUnmodifiedSince - Validator for conditional requests; based on Last Modified header (Will be supported in future). (optional)_callback - Callback for upload/download progressApiException - If fail to serialize the request body objectpublic MediationDTO policiesMediationPost(String contentType, MediationDTO mediationDTO, String ifMatch, String ifUnmodifiedSince) throws ApiException
contentType - Media type of the entity in the body. Default is application/json. (required)mediationDTO - mediation policy to upload (required)ifMatch - Validator for conditional requests; based on ETag (Will be supported in future). (optional)ifUnmodifiedSince - Validator for conditional requests; based on Last Modified header (Will be supported in future). (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<MediationDTO> policiesMediationPostWithHttpInfo(String contentType, MediationDTO mediationDTO, String ifMatch, String ifUnmodifiedSince) throws ApiException
contentType - Media type of the entity in the body. Default is application/json. (required)mediationDTO - mediation policy to upload (required)ifMatch - Validator for conditional requests; based on ETag (Will be supported in future). (optional)ifUnmodifiedSince - Validator for conditional requests; based on Last Modified header (Will be supported in future). (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic okhttp3.Call policiesMediationPostAsync(String contentType, MediationDTO mediationDTO, String ifMatch, String ifUnmodifiedSince, ApiCallback<MediationDTO> _callback) throws ApiException
contentType - Media type of the entity in the body. Default is application/json. (required)mediationDTO - mediation policy to upload (required)ifMatch - Validator for conditional requests; based on ETag (Will be supported in future). (optional)ifUnmodifiedSince - Validator for conditional requests; based on Last Modified header (Will be supported in future). (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.