mirror of
https://repository.entgra.net/community/device-mgt-core.git
synced 2025-10-06 02:01:45 +00:00
Add key attribute to policy
This commit is contained in:
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…
Reference in New Issue
Block a user