@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2024-02-12T14:56:03.264844-05:00[America/New_York]") public class ValidationRestApi extends Object
Constructor and Description |
---|
ValidationRestApi() |
ValidationRestApi(ApiClient apiClient) |
Modifier and Type | Method and Description |
---|---|
Validation |
createValidation(String sessionid,
ValidationRequest validationRequest)
Creates a validation
|
ApiResponse<Validation> |
createValidationWithHttpInfo(String sessionid,
ValidationRequest validationRequest)
Creates a validation
|
void |
deleteValidation(String sessionid,
List<Long> ids)
Deletes validations of provided id list or all if empty
|
void |
deleteValidation1(String sessionid,
String readStatus,
String bucketName,
String projectName,
String workflowName,
String eventSeverities)
Deletes all users validations matching filters
|
ApiResponse<Void> |
deleteValidation1WithHttpInfo(String sessionid,
String readStatus,
String bucketName,
String projectName,
String workflowName,
String eventSeverities)
Deletes all users validations matching filters
|
ApiResponse<Void> |
deleteValidationWithHttpInfo(String sessionid,
List<Long> ids)
Deletes validations of provided id list or all if empty
|
Validation |
executeAbstainAction(String sessionid,
Long validationId)
Performs abstain action on a validation
|
ApiResponse<Validation> |
executeAbstainActionWithHttpInfo(String sessionid,
Long validationId)
Performs abstain action on a validation
|
Validation |
executeNoAction(String sessionid,
Long validationId)
Performs no action on a validation
|
ApiResponse<Validation> |
executeNoActionWithHttpInfo(String sessionid,
Long validationId)
Performs no action on a validation
|
Validation |
executeYesAction(String sessionid,
Long validationId)
Performs yes action on a validation
|
ApiResponse<Validation> |
executeYesActionWithHttpInfo(String sessionid,
Long validationId)
Performs yes action on a validation
|
List<Validation> |
getAllValidations(String sessionid)
Gets all validations
|
ApiResponse<List<Validation>> |
getAllValidationsWithHttpInfo(String sessionid)
Gets all validations
|
ApiClient |
getApiClient()
Get the API client
|
List<Validation> |
getValidations(String sessionid)
Gets validations
|
ApiResponse<List<Validation>> |
getValidationsWithHttpInfo(String sessionid)
Gets validations
|
void |
markAsReadOrUnread(String sessionid,
Boolean hasRead,
List<Long> idsToUpdate)
Deprecated.
|
void |
markAsReadOrUnread1(String sessionid,
Boolean hasRead,
String readStatus,
String bucketName,
String projectName,
String workflowName,
String eventSeverities)
Deprecated.
|
ApiResponse<Void> |
markAsReadOrUnread1WithHttpInfo(String sessionid,
Boolean hasRead,
String readStatus,
String bucketName,
String projectName,
String workflowName,
String eventSeverities)
Deprecated.
|
ApiResponse<Void> |
markAsReadOrUnreadWithHttpInfo(String sessionid,
Boolean hasRead,
List<Long> idsToUpdate)
Deprecated.
|
void |
setApiClient(ApiClient apiClient)
Set the API client
|
public ValidationRestApi()
public ValidationRestApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
apiClient
- an instance of API clientpublic Validation createValidation(String sessionid, ValidationRequest validationRequest) throws ApiException
sessionid
- (required)validationRequest
- (required)ApiException
- if fails to make API callpublic ApiResponse<Validation> createValidationWithHttpInfo(String sessionid, ValidationRequest validationRequest) throws ApiException
sessionid
- (required)validationRequest
- (required)ApiException
- if fails to make API callpublic void deleteValidation(String sessionid, List<Long> ids) throws ApiException
sessionid
- (required)ids
- (optional)ApiException
- if fails to make API callpublic ApiResponse<Void> deleteValidationWithHttpInfo(String sessionid, List<Long> ids) throws ApiException
sessionid
- (required)ids
- (optional)ApiException
- if fails to make API callpublic void deleteValidation1(String sessionid, String readStatus, String bucketName, String projectName, String workflowName, String eventSeverities) throws ApiException
sessionid
- (required)readStatus
- (optional)bucketName
- (optional)projectName
- (optional)workflowName
- (optional)eventSeverities
- (optional)ApiException
- if fails to make API callpublic ApiResponse<Void> deleteValidation1WithHttpInfo(String sessionid, String readStatus, String bucketName, String projectName, String workflowName, String eventSeverities) throws ApiException
sessionid
- (required)readStatus
- (optional)bucketName
- (optional)projectName
- (optional)workflowName
- (optional)eventSeverities
- (optional)ApiException
- if fails to make API callpublic Validation executeAbstainAction(String sessionid, Long validationId) throws ApiException
sessionid
- (required)validationId
- (required)ApiException
- if fails to make API callpublic ApiResponse<Validation> executeAbstainActionWithHttpInfo(String sessionid, Long validationId) throws ApiException
sessionid
- (required)validationId
- (required)ApiException
- if fails to make API callpublic Validation executeNoAction(String sessionid, Long validationId) throws ApiException
sessionid
- (required)validationId
- (required)ApiException
- if fails to make API callpublic ApiResponse<Validation> executeNoActionWithHttpInfo(String sessionid, Long validationId) throws ApiException
sessionid
- (required)validationId
- (required)ApiException
- if fails to make API callpublic Validation executeYesAction(String sessionid, Long validationId) throws ApiException
sessionid
- (required)validationId
- (required)ApiException
- if fails to make API callpublic ApiResponse<Validation> executeYesActionWithHttpInfo(String sessionid, Long validationId) throws ApiException
sessionid
- (required)validationId
- (required)ApiException
- if fails to make API callpublic List<Validation> getAllValidations(String sessionid) throws ApiException
sessionid
- (required)ApiException
- if fails to make API callpublic ApiResponse<List<Validation>> getAllValidationsWithHttpInfo(String sessionid) throws ApiException
sessionid
- (required)ApiException
- if fails to make API callpublic List<Validation> getValidations(String sessionid) throws ApiException
sessionid
- (required)ApiException
- if fails to make API callpublic ApiResponse<List<Validation>> getValidationsWithHttpInfo(String sessionid) throws ApiException
sessionid
- (required)ApiException
- if fails to make API call@Deprecated public void markAsReadOrUnread(String sessionid, Boolean hasRead, List<Long> idsToUpdate) throws ApiException
sessionid
- (required)hasRead
- (required)idsToUpdate
- (optional)ApiException
- if fails to make API call@Deprecated public ApiResponse<Void> markAsReadOrUnreadWithHttpInfo(String sessionid, Boolean hasRead, List<Long> idsToUpdate) throws ApiException
sessionid
- (required)hasRead
- (required)idsToUpdate
- (optional)ApiException
- if fails to make API call@Deprecated public void markAsReadOrUnread1(String sessionid, Boolean hasRead, String readStatus, String bucketName, String projectName, String workflowName, String eventSeverities) throws ApiException
sessionid
- (required)hasRead
- (required)readStatus
- (optional)bucketName
- (optional)projectName
- (optional)workflowName
- (optional)eventSeverities
- (optional)ApiException
- if fails to make API call@Deprecated public ApiResponse<Void> markAsReadOrUnread1WithHttpInfo(String sessionid, Boolean hasRead, String readStatus, String bucketName, String projectName, String workflowName, String eventSeverities) throws ApiException
sessionid
- (required)hasRead
- (required)readStatus
- (optional)bucketName
- (optional)projectName
- (optional)workflowName
- (optional)eventSeverities
- (optional)ApiException
- if fails to make API call