Spaces:
Build error
Build error
da-policyengine-dev
/
src
/main
/java
/com
/dalab
/policyengine
/dto
/PolicyEvaluationRequestDTO.java
| package com.dalab.policyengine.dto; | |
| import java.util.Map; | |
| import jakarta.validation.constraints.NotBlank; | |
| public class PolicyEvaluationRequestDTO { | |
| private String targetAssetId; // The ID of the asset to be evaluated (e.g., from da-catalog) | |
| // Optional: Additional context or facts that might not be directly part of the asset | |
| // but are relevant for this specific evaluation. | |
| private Map<String, Object> evaluationContext; | |
| // Getters and Setters | |
| public String getTargetAssetId() { | |
| return targetAssetId; | |
| } | |
| public void setTargetAssetId(String targetAssetId) { | |
| this.targetAssetId = targetAssetId; | |
| } | |
| public Map<String, Object> getEvaluationContext() { | |
| return evaluationContext; | |
| } | |
| public void setEvaluationContext(Map<String, Object> evaluationContext) { | |
| this.evaluationContext = evaluationContext; | |
| } | |
| } |