Class MediationPolicyCollectionApi
- java.lang.Object
-
- org.wso2.am.integration.clients.admin.api.MediationPolicyCollectionApi
-
public class MediationPolicyCollectionApi extends Object
-
-
Constructor Summary
Constructors Constructor Description MediationPolicyCollectionApi()MediationPolicyCollectionApi(ApiClient apiClient)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ApiClientgetApiClient()MediationListDTOpoliciesMediationGet(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.CallpoliciesMediationGetAsync(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.CallpoliciesMediationGetCall(Integer limit, Integer offset, String query, String accept, String ifNoneMatch, ApiCallback _callback)Build call for policiesMediationGetApiResponse<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.MediationDTOpoliciesMediationPost(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.CallpoliciesMediationPostAsync(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.CallpoliciesMediationPostCall(String contentType, MediationDTO mediationDTO, String ifMatch, String ifUnmodifiedSince, ApiCallback _callback)Build call for policiesMediationPostApiResponse<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.voidsetApiClient(ApiClient apiClient)
-
-
-
Constructor Detail
-
MediationPolicyCollectionApi
public MediationPolicyCollectionApi()
-
MediationPolicyCollectionApi
public MediationPolicyCollectionApi(ApiClient apiClient)
-
-
Method Detail
-
getApiClient
public ApiClient getApiClient()
-
setApiClient
public void setApiClient(ApiClient apiClient)
-
policiesMediationGetCall
public okhttp3.Call policiesMediationGetCall(Integer limit, Integer offset, String query, String accept, String ifNoneMatch, ApiCallback _callback) throws ApiException
Build call for policiesMediationGet- Parameters:
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 progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object
-
policiesMediationGet
public MediationListDTO policiesMediationGet(Integer limit, Integer offset, String query, String accept, String ifNoneMatch) throws ApiException
Get all Global Mediation Policies This operation provides you a list of all available global mediation policies.- Parameters:
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)- Returns:
- MediationListDTO
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
policiesMediationGetWithHttpInfo
public ApiResponse<MediationListDTO> policiesMediationGetWithHttpInfo(Integer limit, Integer offset, String query, String accept, String ifNoneMatch) throws ApiException
Get all Global Mediation Policies This operation provides you a list of all available global mediation policies.- Parameters:
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)- Returns:
- ApiResponse<MediationListDTO>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
policiesMediationGetAsync
public okhttp3.Call policiesMediationGetAsync(Integer limit, Integer offset, String query, String accept, String ifNoneMatch, ApiCallback<MediationListDTO> _callback) throws ApiException
Get all Global Mediation Policies (asynchronously) This operation provides you a list of all available global mediation policies.- Parameters:
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 finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object
-
policiesMediationPostCall
public okhttp3.Call policiesMediationPostCall(String contentType, MediationDTO mediationDTO, String ifMatch, String ifUnmodifiedSince, ApiCallback _callback) throws ApiException
Build call for policiesMediationPost- Parameters:
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 progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object
-
policiesMediationPost
public MediationDTO policiesMediationPost(String contentType, MediationDTO mediationDTO, String ifMatch, String ifUnmodifiedSince) throws ApiException
Add a Global Mediation Policy This operation can be used to add a new global mediation policy.- Parameters:
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)- Returns:
- MediationDTO
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
policiesMediationPostWithHttpInfo
public ApiResponse<MediationDTO> policiesMediationPostWithHttpInfo(String contentType, MediationDTO mediationDTO, String ifMatch, String ifUnmodifiedSince) throws ApiException
Add a Global Mediation Policy This operation can be used to add a new global mediation policy.- Parameters:
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)- Returns:
- ApiResponse<MediationDTO>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
policiesMediationPostAsync
public okhttp3.Call policiesMediationPostAsync(String contentType, MediationDTO mediationDTO, String ifMatch, String ifUnmodifiedSince, ApiCallback<MediationDTO> _callback) throws ApiException
Add a Global Mediation Policy (asynchronously) This operation can be used to add a new global mediation policy.- Parameters:
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 finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object
-
-