From 850d39af2d16ec71b83d761c6784c9f227537ab0 Mon Sep 17 00:00:00 2001 From: "osh.silva" Date: Tue, 3 Dec 2024 21:44:25 +0530 Subject: [PATCH] Add key attribute to policy --- .../core/device/mgt/common/policy/mgt/ui/Policy.java | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/components/device-mgt/io.entgra.device.mgt.core.device.mgt.common/src/main/java/io/entgra/device/mgt/core/device/mgt/common/policy/mgt/ui/Policy.java b/components/device-mgt/io.entgra.device.mgt.core.device.mgt.common/src/main/java/io/entgra/device/mgt/core/device/mgt/common/policy/mgt/ui/Policy.java index 65fed4927e..afb90d92f0 100644 --- a/components/device-mgt/io.entgra.device.mgt.core.device.mgt.common/src/main/java/io/entgra/device/mgt/core/device/mgt/common/policy/mgt/ui/Policy.java +++ b/components/device-mgt/io.entgra.device.mgt.core.device.mgt.common/src/main/java/io/entgra/device/mgt/core/device/mgt/common/policy/mgt/ui/Policy.java @@ -30,6 +30,7 @@ public class Policy { private String description; private String name; private List features; + private String key; @XmlElement(name = "Description", required = true) public String getDescription() { @@ -58,4 +59,13 @@ public class Policy { public void setFeatures(List features) { this.features = features; } + + @XmlAttribute(name = "key", required = false) + public String getKey() { + return key; + } + + public void setKey(String key) { + this.key = key; + } }