Spaces:
Build error
Build error
da-policyengine-dev / src /main /java /com /dalab /policyengine /dto /PolicyEvaluationRequestDTO.java
Download src/main/java/com/dalab/policyengine/dto/PolicyEvaluationRequestDTO.java from dalabsai/da-policyengine-dev: direct link, hf CLI and curl.
- Browser
- Download file 937 Bytes
-
https://huggingface.co/spaces/dalabsai/da-policyengine-dev/resolve/refs%2Fpr%2F1/src/main/java/com/dalab/policyengine/dto/PolicyEvaluationRequestDTO.java
- Command line
-
hf download hf://spaces/dalabsai/da-policyengine-dev@refs/pr/1/src/main/java/com/dalab/policyengine/dto/PolicyEvaluationRequestDTO.java
-
curl -L -o PolicyEvaluationRequestDTO.java https://huggingface.co/spaces/dalabsai/da-policyengine-dev/resolve/refs%2Fpr%2F1/src/main/java/com/dalab/policyengine/dto/PolicyEvaluationRequestDTO.java
937 Bytes
| 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; | |
| } | |
| } |