public class ApiOperationPoliciesApi extends Object
| Constructor and Description |
|---|
ApiOperationPoliciesApi() |
ApiOperationPoliciesApi(ApiClient apiClient) |
| Modifier and Type | Method and Description |
|---|---|
OperationPolicyDataDTO |
addAPISpecificOperationPolicy(String apiId,
File policySpecFile,
File synapsePolicyDefinitionFile,
File ccPolicyDefinitionFile)
Add an API specific operation policy
This operation can be used to add an API specifc operation policy.
|
okhttp3.Call |
addAPISpecificOperationPolicyAsync(String apiId,
File policySpecFile,
File synapsePolicyDefinitionFile,
File ccPolicyDefinitionFile,
ApiCallback<OperationPolicyDataDTO> _callback)
Add an API specific operation policy (asynchronously)
This operation can be used to add an API specifc operation policy.
|
okhttp3.Call |
addAPISpecificOperationPolicyCall(String apiId,
File policySpecFile,
File synapsePolicyDefinitionFile,
File ccPolicyDefinitionFile,
ApiCallback _callback)
Build call for addAPISpecificOperationPolicy
|
ApiResponse<OperationPolicyDataDTO> |
addAPISpecificOperationPolicyWithHttpInfo(String apiId,
File policySpecFile,
File synapsePolicyDefinitionFile,
File ccPolicyDefinitionFile)
Add an API specific operation policy
This operation can be used to add an API specifc operation policy.
|
void |
deleteAPISpecificOperationPolicyByPolicyId(String apiId,
String operationPolicyId)
Delete an API Specific Operation Policy
This operation can be used to delete an existing API specific opreation policy by providing the Id of the API and the Id of the policy.
|
okhttp3.Call |
deleteAPISpecificOperationPolicyByPolicyIdAsync(String apiId,
String operationPolicyId,
ApiCallback<Void> _callback)
Delete an API Specific Operation Policy (asynchronously)
This operation can be used to delete an existing API specific opreation policy by providing the Id of the API and the Id of the policy.
|
okhttp3.Call |
deleteAPISpecificOperationPolicyByPolicyIdCall(String apiId,
String operationPolicyId,
ApiCallback _callback)
Build call for deleteAPISpecificOperationPolicyByPolicyId
|
ApiResponse<Void> |
deleteAPISpecificOperationPolicyByPolicyIdWithHttpInfo(String apiId,
String operationPolicyId)
Delete an API Specific Operation Policy
This operation can be used to delete an existing API specific opreation policy by providing the Id of the API and the Id of the policy.
|
OperationPolicyDataListDTO |
getAllAPISpecificOperationPolicies(String apiId,
Integer limit,
Integer offset,
String query)
Get all API specific operation policies for an API
This operation provides you a list of all applicabale operation policies for an API
|
okhttp3.Call |
getAllAPISpecificOperationPoliciesAsync(String apiId,
Integer limit,
Integer offset,
String query,
ApiCallback<OperationPolicyDataListDTO> _callback)
Get all API specific operation policies for an API (asynchronously)
This operation provides you a list of all applicabale operation policies for an API
|
okhttp3.Call |
getAllAPISpecificOperationPoliciesCall(String apiId,
Integer limit,
Integer offset,
String query,
ApiCallback _callback)
Build call for getAllAPISpecificOperationPolicies
|
ApiResponse<OperationPolicyDataListDTO> |
getAllAPISpecificOperationPoliciesWithHttpInfo(String apiId,
Integer limit,
Integer offset,
String query)
Get all API specific operation policies for an API
This operation provides you a list of all applicabale operation policies for an API
|
ApiClient |
getApiClient() |
File |
getAPISpecificOperationPolicyContentByPolicyId(String apiId,
String operationPolicyId)
Download an API Specific Operation Policy
This operation can be used to download a particular API specific operation policy.
|
okhttp3.Call |
getAPISpecificOperationPolicyContentByPolicyIdAsync(String apiId,
String operationPolicyId,
ApiCallback<File> _callback)
Download an API Specific Operation Policy (asynchronously)
This operation can be used to download a particular API specific operation policy.
|
okhttp3.Call |
getAPISpecificOperationPolicyContentByPolicyIdCall(String apiId,
String operationPolicyId,
ApiCallback _callback)
Build call for getAPISpecificOperationPolicyContentByPolicyId
|
ApiResponse<File> |
getAPISpecificOperationPolicyContentByPolicyIdWithHttpInfo(String apiId,
String operationPolicyId)
Download an API Specific Operation Policy
This operation can be used to download a particular API specific operation policy.
|
OperationPolicyDataDTO |
getOperationPolicyForAPIByPolicyId(String apiId,
String operationPolicyId)
Get policy details of an API specific policy
This operation can be used to retrieve a particular API specific operation policy.
|
okhttp3.Call |
getOperationPolicyForAPIByPolicyIdAsync(String apiId,
String operationPolicyId,
ApiCallback<OperationPolicyDataDTO> _callback)
Get policy details of an API specific policy (asynchronously)
This operation can be used to retrieve a particular API specific operation policy.
|
okhttp3.Call |
getOperationPolicyForAPIByPolicyIdCall(String apiId,
String operationPolicyId,
ApiCallback _callback)
Build call for getOperationPolicyForAPIByPolicyId
|
ApiResponse<OperationPolicyDataDTO> |
getOperationPolicyForAPIByPolicyIdWithHttpInfo(String apiId,
String operationPolicyId)
Get policy details of an API specific policy
This operation can be used to retrieve a particular API specific operation policy.
|
void |
setApiClient(ApiClient apiClient) |
public ApiOperationPoliciesApi()
public ApiOperationPoliciesApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public okhttp3.Call addAPISpecificOperationPolicyCall(String apiId, File policySpecFile, File synapsePolicyDefinitionFile, File ccPolicyDefinitionFile, ApiCallback _callback) throws ApiException
apiId - **API ID** consisting of the **UUID** of the API. (required)policySpecFile - 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 addAPISpecificOperationPolicy(String apiId, File policySpecFile, File synapsePolicyDefinitionFile, File ccPolicyDefinitionFile) throws ApiException
apiId - **API ID** consisting of the **UUID** of the API. (required)policySpecFile - 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> addAPISpecificOperationPolicyWithHttpInfo(String apiId, File policySpecFile, File synapsePolicyDefinitionFile, File ccPolicyDefinitionFile) throws ApiException
apiId - **API ID** consisting of the **UUID** of the API. (required)policySpecFile - 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 addAPISpecificOperationPolicyAsync(String apiId, File policySpecFile, File synapsePolicyDefinitionFile, File ccPolicyDefinitionFile, ApiCallback<OperationPolicyDataDTO> _callback) throws ApiException
apiId - **API ID** consisting of the **UUID** of the API. (required)policySpecFile - 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 deleteAPISpecificOperationPolicyByPolicyIdCall(String apiId, String operationPolicyId, ApiCallback _callback) throws ApiException
apiId - **API ID** consisting of the **UUID** of the API. (required)operationPolicyId - Operation policy Id (required)_callback - Callback for upload/download progressApiException - If fail to serialize the request body objectpublic void deleteAPISpecificOperationPolicyByPolicyId(String apiId, String operationPolicyId) throws ApiException
apiId - **API ID** consisting of the **UUID** of the API. (required)operationPolicyId - Operation policy Id (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<Void> deleteAPISpecificOperationPolicyByPolicyIdWithHttpInfo(String apiId, String operationPolicyId) throws ApiException
apiId - **API ID** consisting of the **UUID** of the API. (required)operationPolicyId - Operation policy Id (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic okhttp3.Call deleteAPISpecificOperationPolicyByPolicyIdAsync(String apiId, String operationPolicyId, ApiCallback<Void> _callback) throws ApiException
apiId - **API ID** consisting of the **UUID** of the API. (required)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 getAPISpecificOperationPolicyContentByPolicyIdCall(String apiId, String operationPolicyId, ApiCallback _callback) throws ApiException
apiId - **API ID** consisting of the **UUID** of the API. (required)operationPolicyId - Operation policy Id (required)_callback - Callback for upload/download progressApiException - If fail to serialize the request body objectpublic File getAPISpecificOperationPolicyContentByPolicyId(String apiId, String operationPolicyId) throws ApiException
apiId - **API ID** consisting of the **UUID** of the API. (required)operationPolicyId - Operation policy Id (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<File> getAPISpecificOperationPolicyContentByPolicyIdWithHttpInfo(String apiId, String operationPolicyId) throws ApiException
apiId - **API ID** consisting of the **UUID** of the API. (required)operationPolicyId - Operation policy Id (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic okhttp3.Call getAPISpecificOperationPolicyContentByPolicyIdAsync(String apiId, String operationPolicyId, ApiCallback<File> _callback) throws ApiException
apiId - **API ID** consisting of the **UUID** of the API. (required)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 getAllAPISpecificOperationPoliciesCall(String apiId, Integer limit, Integer offset, String query, ApiCallback _callback) throws ApiException
apiId - **API ID** consisting of the **UUID** of the API. (required)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 getAllAPISpecificOperationPolicies(String apiId, Integer limit, Integer offset, String query) throws ApiException
apiId - **API ID** consisting of the **UUID** of the API. (required)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> getAllAPISpecificOperationPoliciesWithHttpInfo(String apiId, Integer limit, Integer offset, String query) throws ApiException
apiId - **API ID** consisting of the **UUID** of the API. (required)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 getAllAPISpecificOperationPoliciesAsync(String apiId, Integer limit, Integer offset, String query, ApiCallback<OperationPolicyDataListDTO> _callback) throws ApiException
apiId - **API ID** consisting of the **UUID** of the API. (required)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 getOperationPolicyForAPIByPolicyIdCall(String apiId, String operationPolicyId, ApiCallback _callback) throws ApiException
apiId - **API ID** consisting of the **UUID** of the API. (required)operationPolicyId - Operation policy Id (required)_callback - Callback for upload/download progressApiException - If fail to serialize the request body objectpublic OperationPolicyDataDTO getOperationPolicyForAPIByPolicyId(String apiId, String operationPolicyId) throws ApiException
apiId - **API ID** consisting of the **UUID** of the API. (required)operationPolicyId - Operation policy Id (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<OperationPolicyDataDTO> getOperationPolicyForAPIByPolicyIdWithHttpInfo(String apiId, String operationPolicyId) throws ApiException
apiId - **API ID** consisting of the **UUID** of the API. (required)operationPolicyId - Operation policy Id (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic okhttp3.Call getOperationPolicyForAPIByPolicyIdAsync(String apiId, String operationPolicyId, ApiCallback<OperationPolicyDataDTO> _callback) throws ApiException
apiId - **API ID** consisting of the **UUID** of the API. (required)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.