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.
|
com.squareup.okhttp.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.
|
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.
|
Mediation |
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.
|
com.squareup.okhttp.Call |
policiesMediationMediationPolicyIdGetAsync(String mediationPolicyId,
String accept,
String ifNoneMatch,
String ifModifiedSince,
ApiCallback<Mediation> callback)
Get a global mediation policy (asynchronously)
This operation can be used to retrieve a particular global mediation policy.
|
ApiResponse<Mediation> |
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.
|
Mediation |
policiesMediationMediationPolicyIdPut(String mediationPolicyId,
Mediation body,
String contentType,
String ifMatch,
String ifUnmodifiedSince)
Update a global mediation policy
This operation can be used to update an existing global mediation policy.
|
com.squareup.okhttp.Call |
policiesMediationMediationPolicyIdPutAsync(String mediationPolicyId,
Mediation body,
String contentType,
String ifMatch,
String ifUnmodifiedSince,
ApiCallback<Mediation> callback)
Update a global mediation policy (asynchronously)
This operation can be used to update an existing global mediation policy.
|
ApiResponse<Mediation> |
policiesMediationMediationPolicyIdPutWithHttpInfo(String mediationPolicyId,
Mediation body,
String contentType,
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 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 com.squareup.okhttp.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 Mediation 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<Mediation> 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 com.squareup.okhttp.Call policiesMediationMediationPolicyIdGetAsync(String mediationPolicyId, String accept, String ifNoneMatch, String ifModifiedSince, ApiCallback<Mediation> 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 Mediation policiesMediationMediationPolicyIdPut(String mediationPolicyId, Mediation body, String contentType, String ifMatch, String ifUnmodifiedSince) throws ApiException
mediationPolicyId - Mediation policy Id (required)body - Mediation policy object that needs to be added (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> policiesMediationMediationPolicyIdPutWithHttpInfo(String mediationPolicyId, Mediation body, String contentType, String ifMatch, String ifUnmodifiedSince) throws ApiException
mediationPolicyId - Mediation policy Id (required)body - Mediation policy object that needs to be added (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 policiesMediationMediationPolicyIdPutAsync(String mediationPolicyId, Mediation body, String contentType, String ifMatch, String ifUnmodifiedSince, ApiCallback<Mediation> callback) throws ApiException
mediationPolicyId - Mediation policy Id (required)body - Mediation policy object that needs to be added (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.