Class PolicyAdherenceApi
java.lang.Object
org.wso2.am.integration.clients.governance.api.PolicyAdherenceApi
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetPolicyAdherenceByPolicyId(String policyId) Retrieve adherence details for a specific policy Retrieve adherence details associated with a specific governance policy within the organization using its unique ID.okhttp3.CallgetPolicyAdherenceByPolicyIdAsync(String policyId, ApiCallback<PolicyAdherenceDetailsDTO> _callback) Retrieve adherence details for a specific policy (asynchronously) Retrieve adherence details associated with a specific governance policy within the organization using its unique ID.okhttp3.CallgetPolicyAdherenceByPolicyIdCall(String policyId, ApiCallback _callback) Build call for getPolicyAdherenceByPolicyIdRetrieve adherence details for a specific policy Retrieve adherence details associated with a specific governance policy within the organization using its unique ID.getPolicyAdherenceForAllPolicies(Integer limit, Integer offset) Retrieve adherence status for all policies Retrieve adherence status of all governance policies within the organization.okhttp3.CallgetPolicyAdherenceForAllPoliciesAsync(Integer limit, Integer offset, ApiCallback<PolicyAdherenceListDTO> _callback) Retrieve adherence status for all policies (asynchronously) Retrieve adherence status of all governance policies within the organization.okhttp3.CallgetPolicyAdherenceForAllPoliciesCall(Integer limit, Integer offset, ApiCallback _callback) Build call for getPolicyAdherenceForAllPoliciesgetPolicyAdherenceForAllPoliciesWithHttpInfo(Integer limit, Integer offset) Retrieve adherence status for all policies Retrieve adherence status of all governance policies within the organization.Retrieves the summary of adherence for all policies Retrieves the summary of adherence for all governance policies within the organization.okhttp3.CallRetrieves the summary of adherence for all policies (asynchronously) Retrieves the summary of adherence for all governance policies within the organization.okhttp3.CallgetPolicyAdherenceSummaryCall(ApiCallback _callback) Build call for getPolicyAdherenceSummaryRetrieves the summary of adherence for all policies Retrieves the summary of adherence for all governance policies within the organization.voidsetApiClient(ApiClient apiClient)
-
Constructor Details
-
PolicyAdherenceApi
public PolicyAdherenceApi() -
PolicyAdherenceApi
-
-
Method Details
-
getApiClient
-
setApiClient
-
getPolicyAdherenceByPolicyIdCall
public okhttp3.Call getPolicyAdherenceByPolicyIdCall(String policyId, ApiCallback _callback) throws ApiException Build call for getPolicyAdherenceByPolicyId- Parameters:
policyId- **UUID** of the Policy. (required)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object
-
getPolicyAdherenceByPolicyId
Retrieve adherence details for a specific policy Retrieve adherence details associated with a specific governance policy within the organization using its unique ID. The list of artifacts under the policy will only contain the artifacts visible to user- Parameters:
policyId- **UUID** of the Policy. (required)- Returns:
- PolicyAdherenceDetailsDTO
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
getPolicyAdherenceByPolicyIdWithHttpInfo
public ApiResponse<PolicyAdherenceDetailsDTO> getPolicyAdherenceByPolicyIdWithHttpInfo(String policyId) throws ApiException Retrieve adherence details for a specific policy Retrieve adherence details associated with a specific governance policy within the organization using its unique ID. The list of artifacts under the policy will only contain the artifacts visible to user- Parameters:
policyId- **UUID** of the Policy. (required)- Returns:
- ApiResponse<PolicyAdherenceDetailsDTO>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
getPolicyAdherenceByPolicyIdAsync
public okhttp3.Call getPolicyAdherenceByPolicyIdAsync(String policyId, ApiCallback<PolicyAdherenceDetailsDTO> _callback) throws ApiException Retrieve adherence details for a specific policy (asynchronously) Retrieve adherence details associated with a specific governance policy within the organization using its unique ID. The list of artifacts under the policy will only contain the artifacts visible to user- Parameters:
policyId- **UUID** of the Policy. (required)_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
-
getPolicyAdherenceForAllPoliciesCall
public okhttp3.Call getPolicyAdherenceForAllPoliciesCall(Integer limit, Integer offset, ApiCallback _callback) throws ApiException Build call for getPolicyAdherenceForAllPolicies- 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)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object
-
getPolicyAdherenceForAllPolicies
public PolicyAdherenceListDTO getPolicyAdherenceForAllPolicies(Integer limit, Integer offset) throws ApiException Retrieve adherence status for all policies Retrieve adherence status of all governance policies within the organization.- 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)- Returns:
- PolicyAdherenceListDTO
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
getPolicyAdherenceForAllPoliciesWithHttpInfo
public ApiResponse<PolicyAdherenceListDTO> getPolicyAdherenceForAllPoliciesWithHttpInfo(Integer limit, Integer offset) throws ApiException Retrieve adherence status for all policies Retrieve adherence status of all governance policies within the organization.- 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)- Returns:
- ApiResponse<PolicyAdherenceListDTO>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
getPolicyAdherenceForAllPoliciesAsync
public okhttp3.Call getPolicyAdherenceForAllPoliciesAsync(Integer limit, Integer offset, ApiCallback<PolicyAdherenceListDTO> _callback) throws ApiException Retrieve adherence status for all policies (asynchronously) Retrieve adherence status of all governance policies within the organization.- 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)_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
-
getPolicyAdherenceSummaryCall
Build call for getPolicyAdherenceSummary- Parameters:
_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object
-
getPolicyAdherenceSummary
Retrieves the summary of adherence for all policies Retrieves the summary of adherence for all governance policies within the organization.- Returns:
- PolicyAdherenceSummaryDTO
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
getPolicyAdherenceSummaryWithHttpInfo
public ApiResponse<PolicyAdherenceSummaryDTO> getPolicyAdherenceSummaryWithHttpInfo() throws ApiExceptionRetrieves the summary of adherence for all policies Retrieves the summary of adherence for all governance policies within the organization.- Returns:
- ApiResponse<PolicyAdherenceSummaryDTO>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
getPolicyAdherenceSummaryAsync
public okhttp3.Call getPolicyAdherenceSummaryAsync(ApiCallback<PolicyAdherenceSummaryDTO> _callback) throws ApiException Retrieves the summary of adherence for all policies (asynchronously) Retrieves the summary of adherence for all governance policies within the organization.- Parameters:
_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
-