Class ArtifactComplianceApi
java.lang.Object
org.wso2.am.integration.clients.governance.api.ArtifactComplianceApi
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetComplianceByAPIId(String apiId) Retrieve compliance details for a specific API Retrieve compliance details associated with a specific API using its unique UUID.okhttp3.CallgetComplianceByAPIIdAsync(String apiId, ApiCallback<ArtifactComplianceDetailsDTO> _callback) Retrieve compliance details for a specific API (asynchronously) Retrieve compliance details associated with a specific API using its unique UUID.okhttp3.CallgetComplianceByAPIIdCall(String apiId, ApiCallback _callback) Build call for getComplianceByAPIIdRetrieve compliance details for a specific API Retrieve compliance details associated with a specific API using its unique UUID.getComplianceStatusListOfAPIs(Integer limit, Integer offset) Retrieves compliance of all API artifacts Retrieves compliance of all API artifacts within the organization visible to logged-in user.okhttp3.CallgetComplianceStatusListOfAPIsAsync(Integer limit, Integer offset, ApiCallback<ArtifactComplianceListDTO> _callback) Retrieves compliance of all API artifacts (asynchronously) Retrieves compliance of all API artifacts within the organization visible to logged-in user.okhttp3.CallgetComplianceStatusListOfAPIsCall(Integer limit, Integer offset, ApiCallback _callback) Build call for getComplianceStatusListOfAPIsgetComplianceStatusListOfAPIsWithHttpInfo(Integer limit, Integer offset) Retrieves compliance of all API artifacts Retrieves compliance of all API artifacts within the organization visible to logged-in user.Retrieves the summary of compliance of all API artifacts Retrieves the summary of compliance of all API artifacts within the organization visible to logged-in user.okhttp3.CallRetrieves the summary of compliance of all API artifacts (asynchronously) Retrieves the summary of compliance of all API artifacts within the organization visible to logged-in user.okhttp3.CallgetComplianceSummaryForAPIsCall(ApiCallback _callback) Build call for getComplianceSummaryForAPIsRetrieves the summary of compliance of all API artifacts Retrieves the summary of compliance of all API artifacts within the organization visible to logged-in user.getRulesetValidationResultsByAPIId(String apiId, String rulesetId) Retrieve ruleset validation results for a specific API Retrieve ruleset validation results associated with a specific API using its unique UUID.okhttp3.CallgetRulesetValidationResultsByAPIIdAsync(String apiId, String rulesetId, ApiCallback<RulesetValidationResultDTO> _callback) Retrieve ruleset validation results for a specific API (asynchronously) Retrieve ruleset validation results associated with a specific API using its unique UUID.okhttp3.CallgetRulesetValidationResultsByAPIIdCall(String apiId, String rulesetId, ApiCallback _callback) Build call for getRulesetValidationResultsByAPIIdgetRulesetValidationResultsByAPIIdWithHttpInfo(String apiId, String rulesetId) Retrieve ruleset validation results for a specific API Retrieve ruleset validation results associated with a specific API using its unique UUID.voidsetApiClient(ApiClient apiClient)
-
Constructor Details
-
ArtifactComplianceApi
public ArtifactComplianceApi() -
ArtifactComplianceApi
-
-
Method Details
-
getApiClient
-
setApiClient
-
getComplianceByAPIIdCall
public okhttp3.Call getComplianceByAPIIdCall(String apiId, ApiCallback _callback) throws ApiException Build call for getComplianceByAPIId- Parameters:
apiId- **UUID** of the API. (required)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object
-
getComplianceByAPIId
Retrieve compliance details for a specific API Retrieve compliance details associated with a specific API using its unique UUID.- Parameters:
apiId- **UUID** of the API. (required)- Returns:
- ArtifactComplianceDetailsDTO
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
getComplianceByAPIIdWithHttpInfo
public ApiResponse<ArtifactComplianceDetailsDTO> getComplianceByAPIIdWithHttpInfo(String apiId) throws ApiException Retrieve compliance details for a specific API Retrieve compliance details associated with a specific API using its unique UUID.- Parameters:
apiId- **UUID** of the API. (required)- Returns:
- ApiResponse<ArtifactComplianceDetailsDTO>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
getComplianceByAPIIdAsync
public okhttp3.Call getComplianceByAPIIdAsync(String apiId, ApiCallback<ArtifactComplianceDetailsDTO> _callback) throws ApiException Retrieve compliance details for a specific API (asynchronously) Retrieve compliance details associated with a specific API using its unique UUID.- Parameters:
apiId- **UUID** of the API. (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
-
getComplianceStatusListOfAPIsCall
public okhttp3.Call getComplianceStatusListOfAPIsCall(Integer limit, Integer offset, ApiCallback _callback) throws ApiException Build call for getComplianceStatusListOfAPIs- 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
-
getComplianceStatusListOfAPIs
public ArtifactComplianceListDTO getComplianceStatusListOfAPIs(Integer limit, Integer offset) throws ApiException Retrieves compliance of all API artifacts Retrieves compliance of all API artifacts within the organization visible to logged-in user.- 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:
- ArtifactComplianceListDTO
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
getComplianceStatusListOfAPIsWithHttpInfo
public ApiResponse<ArtifactComplianceListDTO> getComplianceStatusListOfAPIsWithHttpInfo(Integer limit, Integer offset) throws ApiException Retrieves compliance of all API artifacts Retrieves compliance of all API artifacts within the organization visible to logged-in user.- 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<ArtifactComplianceListDTO>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
getComplianceStatusListOfAPIsAsync
public okhttp3.Call getComplianceStatusListOfAPIsAsync(Integer limit, Integer offset, ApiCallback<ArtifactComplianceListDTO> _callback) throws ApiException Retrieves compliance of all API artifacts (asynchronously) Retrieves compliance of all API artifacts within the organization visible to logged-in user.- 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
-
getComplianceSummaryForAPIsCall
Build call for getComplianceSummaryForAPIs- Parameters:
_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object
-
getComplianceSummaryForAPIs
Retrieves the summary of compliance of all API artifacts Retrieves the summary of compliance of all API artifacts within the organization visible to logged-in user.- Returns:
- ArtifactComplianceSummaryDTO
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
getComplianceSummaryForAPIsWithHttpInfo
public ApiResponse<ArtifactComplianceSummaryDTO> getComplianceSummaryForAPIsWithHttpInfo() throws ApiExceptionRetrieves the summary of compliance of all API artifacts Retrieves the summary of compliance of all API artifacts within the organization visible to logged-in user.- Returns:
- ApiResponse<ArtifactComplianceSummaryDTO>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
getComplianceSummaryForAPIsAsync
public okhttp3.Call getComplianceSummaryForAPIsAsync(ApiCallback<ArtifactComplianceSummaryDTO> _callback) throws ApiException Retrieves the summary of compliance of all API artifacts (asynchronously) Retrieves the summary of compliance of all API artifacts within the organization visible to logged-in user.- 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
-
getRulesetValidationResultsByAPIIdCall
public okhttp3.Call getRulesetValidationResultsByAPIIdCall(String apiId, String rulesetId, ApiCallback _callback) throws ApiException Build call for getRulesetValidationResultsByAPIId- Parameters:
apiId- **UUID** of the API. (required)rulesetId- **UUID** of the Ruleset. (required)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object
-
getRulesetValidationResultsByAPIId
public RulesetValidationResultDTO getRulesetValidationResultsByAPIId(String apiId, String rulesetId) throws ApiException Retrieve ruleset validation results for a specific API Retrieve ruleset validation results associated with a specific API using its unique UUID.- Parameters:
apiId- **UUID** of the API. (required)rulesetId- **UUID** of the Ruleset. (required)- Returns:
- RulesetValidationResultDTO
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
getRulesetValidationResultsByAPIIdWithHttpInfo
public ApiResponse<RulesetValidationResultDTO> getRulesetValidationResultsByAPIIdWithHttpInfo(String apiId, String rulesetId) throws ApiException Retrieve ruleset validation results for a specific API Retrieve ruleset validation results associated with a specific API using its unique UUID.- Parameters:
apiId- **UUID** of the API. (required)rulesetId- **UUID** of the Ruleset. (required)- Returns:
- ApiResponse<RulesetValidationResultDTO>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
getRulesetValidationResultsByAPIIdAsync
public okhttp3.Call getRulesetValidationResultsByAPIIdAsync(String apiId, String rulesetId, ApiCallback<RulesetValidationResultDTO> _callback) throws ApiException Retrieve ruleset validation results for a specific API (asynchronously) Retrieve ruleset validation results associated with a specific API using its unique UUID.- Parameters:
apiId- **UUID** of the API. (required)rulesetId- **UUID** of the Ruleset. (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
-