public class MediationPolicyCollectionApi extends Object
| Constructor and Description |
|---|
MediationPolicyCollectionApi() |
MediationPolicyCollectionApi(ApiClient apiClient) |
| Modifier and Type | Method and Description |
|---|---|
ApiClient |
getApiClient() |
MediationList |
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<MediationList> callback)
Get all global mediation policies (asynchronously)
This operation provides you a list of available all global level mediation policies.
|
ApiResponse<MediationList> |
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.
|
Mediation |
policiesMediationPost(Mediation 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(Mediation body,
String contentType,
String ifMatch,
String ifUnmodifiedSince,
ApiCallback<Mediation> callback)
Add a global mediation policy (asynchronously)
This operation can be used to add a new global mediation policy.
|
ApiResponse<Mediation> |
policiesMediationPostWithHttpInfo(Mediation 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 MediationList 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<MediationList> 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<MediationList> 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 Mediation policiesMediationPost(Mediation 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<Mediation> policiesMediationPostWithHttpInfo(Mediation 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(Mediation body, String contentType, String ifMatch, String ifUnmodifiedSince, ApiCallback<Mediation> 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 © 2018 WSO2 Inc. All rights reserved.