From a01fe5e4f940cc57663c5839a3ee1c37fae96ff7 Mon Sep 17 00:00:00 2001 From: Kasun Delgolla Date: Sat, 28 May 2016 02:14:56 +0530 Subject: [PATCH] Adding missing parameters --- .../mdm/services/android/bean/UpgradeFirmware.java | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/components/mobile-plugins/android-plugin/org.wso2.carbon.device.mgt.mobile.android.api/src/main/java/org/wso2/carbon/mdm/services/android/bean/UpgradeFirmware.java b/components/mobile-plugins/android-plugin/org.wso2.carbon.device.mgt.mobile.android.api/src/main/java/org/wso2/carbon/mdm/services/android/bean/UpgradeFirmware.java index ae1dad869..fc3b5e08d 100644 --- a/components/mobile-plugins/android-plugin/org.wso2.carbon.device.mgt.mobile.android.api/src/main/java/org/wso2/carbon/mdm/services/android/bean/UpgradeFirmware.java +++ b/components/mobile-plugins/android-plugin/org.wso2.carbon.device.mgt.mobile.android.api/src/main/java/org/wso2/carbon/mdm/services/android/bean/UpgradeFirmware.java @@ -29,9 +29,12 @@ import java.io.Serializable; @ApiModel(value = "UpgradeFirmware", description = "This class carries all information related to UpgradeFirmware.") public class UpgradeFirmware extends AndroidOperation implements Serializable { - @ApiModelProperty(name = "schedule", value = "Schedule of the UpgradeFirmware.", required = true) + @ApiModelProperty(name = "schedule", value = "Schedule of the UpgradeFirmware.") private String schedule; + @ApiModelProperty(name = "server", value = "Firmware package server.") + private String server; + public String getSchedule() { return schedule; } @@ -40,4 +43,12 @@ public class UpgradeFirmware extends AndroidOperation implements Serializable { this.schedule = schedule; } + public String getServer() { + return server; + } + + public void setServer(String server) { + this.server = server; + } + }