Spaces:
Build error
Build error
File size: 937 Bytes
9373c61 5cfe5c4 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 |
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;
}
} |