public class MediationPolicyIndividualApi extends Object
| Constructor and Description |
|---|
MediationPolicyIndividualApi() |
MediationPolicyIndividualApi(ApiClient apiClient) |
| Modifier and Type | Method and Description |
|---|---|
ApiClient |
getApiClient() |
void |
policiesMediationMediationPolicyIdDelete(String mediationPolicyId,
String ifMatch,
String ifUnmodifiedSince)
Delete a Global Mediation Policy
This operation can be used to delete an existing global mediation policy providing the Id of the mediation policy.
|
okhttp3.Call |
policiesMediationMediationPolicyIdDeleteAsync(String mediationPolicyId,
String ifMatch,
String ifUnmodifiedSince,
ApiCallback<Void> _callback)
Delete a Global Mediation Policy (asynchronously)
This operation can be used to delete an existing global mediation policy providing the Id of the mediation policy.
|
okhttp3.Call |
policiesMediationMediationPolicyIdDeleteCall(String mediationPolicyId,
String ifMatch,
String ifUnmodifiedSince,
ApiCallback _callback)
Build call for policiesMediationMediationPolicyIdDelete
|
ApiResponse<Void> |
policiesMediationMediationPolicyIdDeleteWithHttpInfo(String mediationPolicyId,
String ifMatch,
String ifUnmodifiedSince)
Delete a Global Mediation Policy
This operation can be used to delete an existing global mediation policy providing the Id of the mediation policy.
|
MediationDTO |
policiesMediationMediationPolicyIdGet(String mediationPolicyId,
String accept,
String ifNoneMatch,
String ifModifiedSince)
Get a Global Mediation Policy
This operation can be used to retrieve a particular global mediation policy.
|
okhttp3.Call |
policiesMediationMediationPolicyIdGetAsync(String mediationPolicyId,
String accept,
String ifNoneMatch,
String ifModifiedSince,
ApiCallback<MediationDTO> _callback)
Get a Global Mediation Policy (asynchronously)
This operation can be used to retrieve a particular global mediation policy.
|
okhttp3.Call |
policiesMediationMediationPolicyIdGetCall(String mediationPolicyId,
String accept,
String ifNoneMatch,
String ifModifiedSince,
ApiCallback _callback)
Build call for policiesMediationMediationPolicyIdGet
|
ApiResponse<MediationDTO> |
policiesMediationMediationPolicyIdGetWithHttpInfo(String mediationPolicyId,
String accept,
String ifNoneMatch,
String ifModifiedSince)
Get a Global Mediation Policy
This operation can be used to retrieve a particular global mediation policy.
|
MediationDTO |
policiesMediationMediationPolicyIdPut(String mediationPolicyId,
String contentType,
MediationDTO mediationDTO,
String ifMatch,
String ifUnmodifiedSince)
Update a Global Mediation Policy
This operation can be used to update an existing global mediation policy.
|
okhttp3.Call |
policiesMediationMediationPolicyIdPutAsync(String mediationPolicyId,
String contentType,
MediationDTO mediationDTO,
String ifMatch,
String ifUnmodifiedSince,
ApiCallback<MediationDTO> _callback)
Update a Global Mediation Policy (asynchronously)
This operation can be used to update an existing global mediation policy.
|
okhttp3.Call |
policiesMediationMediationPolicyIdPutCall(String mediationPolicyId,
String contentType,
MediationDTO mediationDTO,
String ifMatch,
String ifUnmodifiedSince,
ApiCallback _callback)
Build call for policiesMediationMediationPolicyIdPut
|
ApiResponse<MediationDTO> |
policiesMediationMediationPolicyIdPutWithHttpInfo(String mediationPolicyId,
String contentType,
MediationDTO mediationDTO,
String ifMatch,
String ifUnmodifiedSince)
Update a Global Mediation Policy
This operation can be used to update an existing global mediation policy.
|
void |
setApiClient(ApiClient apiClient) |
public MediationPolicyIndividualApi()
public MediationPolicyIndividualApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public okhttp3.Call policiesMediationMediationPolicyIdDeleteCall(String mediationPolicyId, String ifMatch, String ifUnmodifiedSince, ApiCallback _callback) throws ApiException
mediationPolicyId - Mediation policy Id (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 void policiesMediationMediationPolicyIdDelete(String mediationPolicyId, String ifMatch, String ifUnmodifiedSince) throws ApiException
mediationPolicyId - Mediation policy Id (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<Void> policiesMediationMediationPolicyIdDeleteWithHttpInfo(String mediationPolicyId, String ifMatch, String ifUnmodifiedSince) throws ApiException
mediationPolicyId - Mediation policy Id (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 policiesMediationMediationPolicyIdDeleteAsync(String mediationPolicyId, String ifMatch, String ifUnmodifiedSince, ApiCallback<Void> _callback) throws ApiException
mediationPolicyId - Mediation policy Id (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 objectpublic okhttp3.Call policiesMediationMediationPolicyIdGetCall(String mediationPolicyId, String accept, String ifNoneMatch, String ifModifiedSince, ApiCallback _callback) throws ApiException
mediationPolicyId - Mediation policy Id (required)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)ifModifiedSince - Validator for conditional requests; based on Last Modified header 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 MediationDTO policiesMediationMediationPolicyIdGet(String mediationPolicyId, String accept, String ifNoneMatch, String ifModifiedSince) throws ApiException
mediationPolicyId - Mediation policy Id (required)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)ifModifiedSince - Validator for conditional requests; based on Last Modified header 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<MediationDTO> policiesMediationMediationPolicyIdGetWithHttpInfo(String mediationPolicyId, String accept, String ifNoneMatch, String ifModifiedSince) throws ApiException
mediationPolicyId - Mediation policy Id (required)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)ifModifiedSince - Validator for conditional requests; based on Last Modified header 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 policiesMediationMediationPolicyIdGetAsync(String mediationPolicyId, String accept, String ifNoneMatch, String ifModifiedSince, ApiCallback<MediationDTO> _callback) throws ApiException
mediationPolicyId - Mediation policy Id (required)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)ifModifiedSince - Validator for conditional requests; based on Last Modified header 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 policiesMediationMediationPolicyIdPutCall(String mediationPolicyId, String contentType, MediationDTO mediationDTO, String ifMatch, String ifUnmodifiedSince, ApiCallback _callback) throws ApiException
mediationPolicyId - Mediation policy Id (required)contentType - Media type of the entity in the body. Default is application/json. (required)mediationDTO - Mediation policy object that needs to be updated (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 policiesMediationMediationPolicyIdPut(String mediationPolicyId, String contentType, MediationDTO mediationDTO, String ifMatch, String ifUnmodifiedSince) throws ApiException
mediationPolicyId - Mediation policy Id (required)contentType - Media type of the entity in the body. Default is application/json. (required)mediationDTO - Mediation policy object that needs to be updated (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> policiesMediationMediationPolicyIdPutWithHttpInfo(String mediationPolicyId, String contentType, MediationDTO mediationDTO, String ifMatch, String ifUnmodifiedSince) throws ApiException
mediationPolicyId - Mediation policy Id (required)contentType - Media type of the entity in the body. Default is application/json. (required)mediationDTO - Mediation policy object that needs to be updated (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 policiesMediationMediationPolicyIdPutAsync(String mediationPolicyId, String contentType, MediationDTO mediationDTO, String ifMatch, String ifUnmodifiedSince, ApiCallback<MediationDTO> _callback) throws ApiException
mediationPolicyId - Mediation policy Id (required)contentType - Media type of the entity in the body. Default is application/json. (required)mediationDTO - Mediation policy object that needs to be updated (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.