diff --git a/components/device-mgt/org.wso2.carbon.device.mgt.common/src/main/java/org/wso2/carbon/device/mgt/common/operation/mgt/Operation.java b/components/device-mgt/org.wso2.carbon.device.mgt.common/src/main/java/org/wso2/carbon/device/mgt/common/operation/mgt/Operation.java index 79c9a7f0013..6c521827603 100644 --- a/components/device-mgt/org.wso2.carbon.device.mgt.common/src/main/java/org/wso2/carbon/device/mgt/common/operation/mgt/Operation.java +++ b/components/device-mgt/org.wso2.carbon.device.mgt.common/src/main/java/org/wso2/carbon/device/mgt/common/operation/mgt/Operation.java @@ -41,6 +41,7 @@ public class Operation { private String receivedTimeStamp; private String createdTimeStamp; private boolean isEnabled; + private Object payLoad; @XmlElement public String getCode() { @@ -109,4 +110,13 @@ public class Operation { this.isEnabled = isEnabled; } + public Object getPayLoad() { + return payLoad; + } + + public void setPayLoad(Object payLoad) { + this.payLoad = payLoad; + } + + } \ No newline at end of file diff --git a/components/device-mgt/org.wso2.carbon.device.mgt.core/src/main/java/org/wso2/carbon/device/mgt/core/operation/mgt/ProfileOperation.java b/components/device-mgt/org.wso2.carbon.device.mgt.core/src/main/java/org/wso2/carbon/device/mgt/core/operation/mgt/ProfileOperation.java index 89a9a33e5bb..6c9abbed4c4 100644 --- a/components/device-mgt/org.wso2.carbon.device.mgt.core/src/main/java/org/wso2/carbon/device/mgt/core/operation/mgt/ProfileOperation.java +++ b/components/device-mgt/org.wso2.carbon.device.mgt.core/src/main/java/org/wso2/carbon/device/mgt/core/operation/mgt/ProfileOperation.java @@ -22,16 +22,6 @@ import java.io.Serializable; public class ProfileOperation extends ConfigOperation implements Serializable { - private Object payload; - - public Object getPayload() { - return payload; - } - - public void setPayload(Object payload) { - this.payload = payload; - } - public Type getType() { return Type.PROFILE; }