diff --git a/components/device-mgt/org.wso2.carbon.device.mgt.common/src/main/java/org/wso2/carbon/device/mgt/common/policy/mgt/ui/Upload.java b/components/device-mgt/org.wso2.carbon.device.mgt.common/src/main/java/org/wso2/carbon/device/mgt/common/policy/mgt/ui/Upload.java index 966df5de59..54e1908cb5 100644 --- a/components/device-mgt/org.wso2.carbon.device.mgt.common/src/main/java/org/wso2/carbon/device/mgt/common/policy/mgt/ui/Upload.java +++ b/components/device-mgt/org.wso2.carbon.device.mgt.common/src/main/java/org/wso2/carbon/device/mgt/common/policy/mgt/ui/Upload.java @@ -25,6 +25,7 @@ public class Upload { private String placeholderValue; private Boolean showContent; private Boolean setFileName; + private String fileTypes; @XmlElement(name = "Placeholder") public String getPlaceholderValue() { @@ -52,4 +53,13 @@ public class Upload { public void setSetFileName(Boolean setFileName) { this.setFileName = setFileName; } + + @XmlElement(name = "FileTypes") + public String getFileTypes() { + return fileTypes; + } + + public void setFileTypes(String fileTypes) { + this.fileTypes = fileTypes; + } }