Add key attribute to policy

pull/560/head
Oshani Silva 2 months ago
parent 7d91cfff3c
commit 850d39af2d

@ -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;
}
}

Loading…
Cancel
Save