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 available all global level mediation policies.
|
com.squareup.okhttp.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 available all global level mediation policies.
|
com.squareup.okhttp.Call |
policiesMediationGetCall(Integer limit,
Integer offset,
String query,
String accept,
String ifNoneMatch,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
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 available all global level mediation policies.
|
MediationDTO |
policiesMediationPost(MediationDTO body,
String contentType,
String ifMatch,
String ifUnmodifiedSince)
Add a global mediation policy
This operation can be used to add a new global mediation policy.
|
com.squareup.okhttp.Call |
policiesMediationPostAsync(MediationDTO body,
String contentType,
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.
|
com.squareup.okhttp.Call |
policiesMediationPostCall(MediationDTO body,
String contentType,
String ifMatch,
String ifUnmodifiedSince,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for policiesMediationPost
|
ApiResponse<MediationDTO> |
policiesMediationPostWithHttpInfo(MediationDTO body,
String contentType,
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 com.squareup.okhttp.Call policiesMediationGetCall(Integer limit, Integer offset, String query, String accept, String ifNoneMatch, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) 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)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - 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 com.squareup.okhttp.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 com.squareup.okhttp.Call policiesMediationPostCall(MediationDTO body, String contentType, String ifMatch, String ifUnmodifiedSince, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
body - mediation policy to upload (required)contentType - Media type of the entity in the body. Default is application/json. (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)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic MediationDTO policiesMediationPost(MediationDTO body, String contentType, String ifMatch, String ifUnmodifiedSince) throws ApiException
body - mediation policy to upload (required)contentType - Media type of the entity in the body. Default is application/json. (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(MediationDTO body, String contentType, String ifMatch, String ifUnmodifiedSince) throws ApiException
body - mediation policy to upload (required)contentType - Media type of the entity in the body. Default is application/json. (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 com.squareup.okhttp.Call policiesMediationPostAsync(MediationDTO body, String contentType, String ifMatch, String ifUnmodifiedSince, ApiCallback<MediationDTO> callback) throws ApiException
body - mediation policy to upload (required)contentType - Media type of the entity in the body. Default is application/json. (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 © 2020 WSO2 Inc. All rights reserved.