Add key attribute to policy

This commit is contained in:
osh.silva 2024-12-03 21:44:25 +05:30
parent 7d91cfff3c
commit 850d39af2d

View File

@ -30,6 +30,7 @@ public class Policy {
private String description;
private String name;
private List<Feature> features;
private String key;
@XmlElement(name = "Description", required = true)
public String getDescription() {
@ -58,4 +59,13 @@ public class Policy {
public void setFeatures(List<Feature> features) {
this.features = features;
}
@XmlAttribute(name = "key", required = false)
public String getKey() {
return key;
}
public void setKey(String key) {
this.key = key;
}
}