da-policyengine-dev / src /main /java /com /dalab /policyengine /dto /PolicyEvaluationRequestDTO.java
dalabai's picture
Upload folder using huggingface_hub
9373c61 verified
raw
history blame
937 Bytes
package com.dalab.policyengine.dto;
import java.util.Map;
import jakarta.validation.constraints.NotBlank;
public class PolicyEvaluationRequestDTO {
@NotBlank
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;
}
}