public class OperationPoliciesApi extends Object
| Constructor and Description |
|---|
OperationPoliciesApi() |
OperationPoliciesApi(ApiClient apiClient) |
| Modifier and Type | Method and Description |
|---|---|
OperationPolicyDataDTO |
addCommonOperationPolicy(File policySpecFile,
File synapsePolicyDefinitionFile,
File ccPolicyDefinitionFile)
Add a new common operation policy
This operation can be used to add a new common operation policy.
|
okhttp3.Call |
addCommonOperationPolicyAsync(File policySpecFile,
File synapsePolicyDefinitionFile,
File ccPolicyDefinitionFile,
ApiCallback<OperationPolicyDataDTO> _callback)
Add a new common operation policy (asynchronously)
This operation can be used to add a new common operation policy.
|
okhttp3.Call |
addCommonOperationPolicyCall(File policySpecFile,
File synapsePolicyDefinitionFile,
File ccPolicyDefinitionFile,
ApiCallback _callback)
Build call for addCommonOperationPolicy
|
ApiResponse<OperationPolicyDataDTO> |
addCommonOperationPolicyWithHttpInfo(File policySpecFile,
File synapsePolicyDefinitionFile,
File ccPolicyDefinitionFile)
Add a new common operation policy
This operation can be used to add a new common operation policy.
|
void |
deleteCommonOperationPolicyByPolicyId(String operationPolicyId)
Delete a common operation policy
This operation can be used to delete an existing common opreation policy by providing the Id of the policy.
|
okhttp3.Call |
deleteCommonOperationPolicyByPolicyIdAsync(String operationPolicyId,
ApiCallback<Void> _callback)
Delete a common operation policy (asynchronously)
This operation can be used to delete an existing common opreation policy by providing the Id of the policy.
|
okhttp3.Call |
deleteCommonOperationPolicyByPolicyIdCall(String operationPolicyId,
ApiCallback _callback)
Build call for deleteCommonOperationPolicyByPolicyId
|
ApiResponse<Void> |
deleteCommonOperationPolicyByPolicyIdWithHttpInfo(String operationPolicyId)
Delete a common operation policy
This operation can be used to delete an existing common opreation policy by providing the Id of the policy.
|
String |
exportOperationPolicySpecificationSchema()
Export the operation policies specification schema.
|
okhttp3.Call |
exportOperationPolicySpecificationSchemaAsync(ApiCallback<String> _callback)
Export the operation policies specification schema.
|
okhttp3.Call |
exportOperationPolicySpecificationSchemaCall(ApiCallback _callback)
Build call for exportOperationPolicySpecificationSchema
|
ApiResponse<String> |
exportOperationPolicySpecificationSchemaWithHttpInfo()
Export the operation policies specification schema.
|
OperationPolicyDataListDTO |
getAllCommonOperationPolicies(Integer limit,
Integer offset,
String query)
Get all common operation policies to all the APIs
This operation provides you a list of all common operation policies that can be used by any API
|
okhttp3.Call |
getAllCommonOperationPoliciesAsync(Integer limit,
Integer offset,
String query,
ApiCallback<OperationPolicyDataListDTO> _callback)
Get all common operation policies to all the APIs (asynchronously)
This operation provides you a list of all common operation policies that can be used by any API
|
okhttp3.Call |
getAllCommonOperationPoliciesCall(Integer limit,
Integer offset,
String query,
ApiCallback _callback)
Build call for getAllCommonOperationPolicies
|
ApiResponse<OperationPolicyDataListDTO> |
getAllCommonOperationPoliciesWithHttpInfo(Integer limit,
Integer offset,
String query)
Get all common operation policies to all the APIs
This operation provides you a list of all common operation policies that can be used by any API
|
ApiClient |
getApiClient() |
OperationPolicyDataDTO |
getCommonOperationPolicyByPolicyId(String operationPolicyId)
Get the details of a common operation policy by providing policy ID
This operation can be used to retrieve a particular common operation policy.
|
okhttp3.Call |
getCommonOperationPolicyByPolicyIdAsync(String operationPolicyId,
ApiCallback<OperationPolicyDataDTO> _callback)
Get the details of a common operation policy by providing policy ID (asynchronously)
This operation can be used to retrieve a particular common operation policy.
|
okhttp3.Call |
getCommonOperationPolicyByPolicyIdCall(String operationPolicyId,
ApiCallback _callback)
Build call for getCommonOperationPolicyByPolicyId
|
ApiResponse<OperationPolicyDataDTO> |
getCommonOperationPolicyByPolicyIdWithHttpInfo(String operationPolicyId)
Get the details of a common operation policy by providing policy ID
This operation can be used to retrieve a particular common operation policy.
|
File |
getCommonOperationPolicyContentByPolicyId(String operationPolicyId)
Download a common operation policy
This operation can be used to download a selected common operation policy.
|
okhttp3.Call |
getCommonOperationPolicyContentByPolicyIdAsync(String operationPolicyId,
ApiCallback<File> _callback)
Download a common operation policy (asynchronously)
This operation can be used to download a selected common operation policy.
|
okhttp3.Call |
getCommonOperationPolicyContentByPolicyIdCall(String operationPolicyId,
ApiCallback _callback)
Build call for getCommonOperationPolicyContentByPolicyId
|
ApiResponse<File> |
getCommonOperationPolicyContentByPolicyIdWithHttpInfo(String operationPolicyId)
Download a common operation policy
This operation can be used to download a selected common operation policy.
|
void |
setApiClient(ApiClient apiClient) |
public OperationPoliciesApi()
public OperationPoliciesApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public okhttp3.Call addCommonOperationPolicyCall(File policySpecFile, File synapsePolicyDefinitionFile, File ccPolicyDefinitionFile, ApiCallback _callback) throws ApiException
policySpecFile - Operation policy specification to upload (optional)synapsePolicyDefinitionFile - Operation policy definition of synapse gateway to upload (optional)ccPolicyDefinitionFile - Operation policy definition of choreo connect to upload (optional)_callback - Callback for upload/download progressApiException - If fail to serialize the request body objectpublic OperationPolicyDataDTO addCommonOperationPolicy(File policySpecFile, File synapsePolicyDefinitionFile, File ccPolicyDefinitionFile) throws ApiException
policySpecFile - Operation policy specification to upload (optional)synapsePolicyDefinitionFile - Operation policy definition of synapse gateway to upload (optional)ccPolicyDefinitionFile - Operation policy definition of choreo connect to upload (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<OperationPolicyDataDTO> addCommonOperationPolicyWithHttpInfo(File policySpecFile, File synapsePolicyDefinitionFile, File ccPolicyDefinitionFile) throws ApiException
policySpecFile - Operation policy specification to upload (optional)synapsePolicyDefinitionFile - Operation policy definition of synapse gateway to upload (optional)ccPolicyDefinitionFile - Operation policy definition of choreo connect to upload (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic okhttp3.Call addCommonOperationPolicyAsync(File policySpecFile, File synapsePolicyDefinitionFile, File ccPolicyDefinitionFile, ApiCallback<OperationPolicyDataDTO> _callback) throws ApiException
policySpecFile - Operation policy specification to upload (optional)synapsePolicyDefinitionFile - Operation policy definition of synapse gateway to upload (optional)ccPolicyDefinitionFile - Operation policy definition of choreo connect to upload (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 deleteCommonOperationPolicyByPolicyIdCall(String operationPolicyId, ApiCallback _callback) throws ApiException
operationPolicyId - Operation policy Id (required)_callback - Callback for upload/download progressApiException - If fail to serialize the request body objectpublic void deleteCommonOperationPolicyByPolicyId(String operationPolicyId) throws ApiException
operationPolicyId - Operation policy Id (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<Void> deleteCommonOperationPolicyByPolicyIdWithHttpInfo(String operationPolicyId) throws ApiException
operationPolicyId - Operation policy Id (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic okhttp3.Call deleteCommonOperationPolicyByPolicyIdAsync(String operationPolicyId, ApiCallback<Void> _callback) throws ApiException
operationPolicyId - Operation policy Id (required)_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 exportOperationPolicySpecificationSchemaCall(ApiCallback _callback) throws ApiException
_callback - Callback for upload/download progressApiException - If fail to serialize the request body objectpublic String exportOperationPolicySpecificationSchema() throws ApiException
ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<String> exportOperationPolicySpecificationSchemaWithHttpInfo() throws ApiException
ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic okhttp3.Call exportOperationPolicySpecificationSchemaAsync(ApiCallback<String> _callback) throws ApiException
_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 getAllCommonOperationPoliciesCall(Integer limit, Integer offset, String query, ApiCallback _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)_callback - Callback for upload/download progressApiException - If fail to serialize the request body objectpublic OperationPolicyDataListDTO getAllCommonOperationPolicies(Integer limit, Integer offset, String query) 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)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<OperationPolicyDataListDTO> getAllCommonOperationPoliciesWithHttpInfo(Integer limit, Integer offset, String query) 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)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic okhttp3.Call getAllCommonOperationPoliciesAsync(Integer limit, Integer offset, String query, ApiCallback<OperationPolicyDataListDTO> _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)_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 getCommonOperationPolicyByPolicyIdCall(String operationPolicyId, ApiCallback _callback) throws ApiException
operationPolicyId - Operation policy Id (required)_callback - Callback for upload/download progressApiException - If fail to serialize the request body objectpublic OperationPolicyDataDTO getCommonOperationPolicyByPolicyId(String operationPolicyId) throws ApiException
operationPolicyId - Operation policy Id (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<OperationPolicyDataDTO> getCommonOperationPolicyByPolicyIdWithHttpInfo(String operationPolicyId) throws ApiException
operationPolicyId - Operation policy Id (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic okhttp3.Call getCommonOperationPolicyByPolicyIdAsync(String operationPolicyId, ApiCallback<OperationPolicyDataDTO> _callback) throws ApiException
operationPolicyId - Operation policy Id (required)_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 getCommonOperationPolicyContentByPolicyIdCall(String operationPolicyId, ApiCallback _callback) throws ApiException
operationPolicyId - Operation policy Id (required)_callback - Callback for upload/download progressApiException - If fail to serialize the request body objectpublic File getCommonOperationPolicyContentByPolicyId(String operationPolicyId) throws ApiException
operationPolicyId - Operation policy Id (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<File> getCommonOperationPolicyContentByPolicyIdWithHttpInfo(String operationPolicyId) throws ApiException
operationPolicyId - Operation policy Id (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic okhttp3.Call getCommonOperationPolicyContentByPolicyIdAsync(String operationPolicyId, ApiCallback<File> _callback) throws ApiException
operationPolicyId - Operation policy Id (required)_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 © 2022 WSO2 Inc. All rights reserved.