--- /dev/null
+/*\r
+ * ============LICENSE_START========================================================================\r
+ * ONAP : tr-069-adapter\r
+ * =================================================================================================\r
+ * Copyright (C) 2020 CommScope Inc Intellectual Property.\r
+ * =================================================================================================\r
+ * This tr-069-adapter software file is distributed by CommScope Inc under the Apache License,\r
+ * Version 2.0 (the "License"); you may not use this file except in compliance with the License. You\r
+ * may obtain a copy of the License at\r
+ *\r
+ * http://www.apache.org/licenses/LICENSE-2.0\r
+ *\r
+ * This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,\r
+ * either express or implied. See the License for the specific language governing permissions and\r
+ * limitations under the License.\r
+ * ===============LICENSE_END=======================================================================\r
+ */\r
+\r
+package org.commscope.tr069adapter.acs.cpe.rpc;\r
+\r
+import java.util.Date;\r
+\r
+public class DeviceInfo {\r
+\r
+ Date lastcontact;\r
+ Date confupTime;\r
+ String hardware;\r
+ String serialno;\r
+ String url;\r
+ String username;\r
+ String password;\r
+ Integer authtype;\r
+ byte[] props;\r
+ Integer hwid;\r
+ String hardwareModelName;\r
+ String oui;\r
+ String pClass;\r
+ String conrequser;\r
+ String conreqpass;\r
+ String profileName;\r
+ String softVersion;\r
+ String configVersion;\r
+ Boolean forcePasswords;\r
+ Boolean reboot;\r
+ String autoConfigurationFilePath;\r
+\r
+ public DeviceInfo(String serialno, String username, String password, String m,\r
+ Boolean forcePasswords, Integer authType) {\r
+ this.serialno = serialno;\r
+ this.username = username;\r
+ this.password = password;\r
+ this.hardwareModelName = m;\r
+ this.forcePasswords = forcePasswords;\r
+ this.authtype = authType;\r
+ }\r
+\r
+ /**\r
+ * @param authtype the authtype to set\r
+ */\r
+ public void setAuthtype(Integer authtype) {\r
+ this.authtype = authtype;\r
+ }\r
+\r
+ /**\r
+ * @param conrequser the conrequser to set\r
+ */\r
+ public void setConrequser(String conrequser) {\r
+ this.conrequser = conrequser;\r
+ }\r
+\r
+ /**\r
+ * @param conreqpass the conreqpass to set\r
+ */\r
+ public void setConreqpass(String conreqpass) {\r
+ this.conreqpass = conreqpass;\r
+ }\r
+\r
+ /**\r
+ * @param confupTime the confupTime to set\r
+ */\r
+ public void setConfupTime(Date confupTime) {\r
+ this.confupTime = confupTime;\r
+ }\r
+\r
+ /**\r
+ * @param url the url to set\r
+ */\r
+ public void setUrl(String url) {\r
+ this.url = url;\r
+ }\r
+\r
+ /**\r
+ * @return the username\r
+ */\r
+ public String getUsername() {\r
+ return username;\r
+ }\r
+\r
+ /**\r
+ * @return the password\r
+ */\r
+ public String getPassword() {\r
+ return password;\r
+ }\r
+\r
+ /**\r
+ * @return the authtype\r
+ */\r
+ public Integer getAuthtype() {\r
+ return authtype;\r
+ }\r
+\r
+ /**\r
+ * @return the props\r
+ */\r
+ public byte[] getProps() {\r
+ return props;\r
+ }\r
+\r
+ /**\r
+ * @param props the props to set\r
+ */\r
+ public void setProps(byte[] props) {\r
+ this.props = props;\r
+ }\r
+\r
+ /**\r
+ * @return the hwid\r
+ */\r
+ public Integer getHwid() {\r
+ return hwid;\r
+ }\r
+\r
+ /**\r
+ * @param hwid the hwid to set\r
+ */\r
+ public void setHwid(Integer hwid) {\r
+ this.hwid = hwid;\r
+ }\r
+\r
+ /**\r
+ * @return the profileName\r
+ */\r
+ public String getProfileName() {\r
+ return profileName;\r
+ }\r
+\r
+ /**\r
+ * @param profileName the profileName to set\r
+ */\r
+ public void setProfileName(String profileName) {\r
+ this.profileName = profileName;\r
+ }\r
+\r
+ /**\r
+ * @return the forcePasswords\r
+ */\r
+ public Boolean getForcePasswords() {\r
+ return forcePasswords;\r
+ }\r
+\r
+ /**\r
+ * @param forcePasswords the forcePasswords to set\r
+ */\r
+ public void setForcePasswords(Boolean forcePasswords) {\r
+ this.forcePasswords = forcePasswords;\r
+ }\r
+\r
+ /**\r
+ * @return the reboot\r
+ */\r
+ public Boolean getReboot() {\r
+ return reboot;\r
+ }\r
+\r
+ /**\r
+ * @param reboot the reboot to set\r
+ */\r
+ public void setReboot(Boolean reboot) {\r
+ this.reboot = reboot;\r
+ }\r
+\r
+ /**\r
+ * @return the lastcontact\r
+ */\r
+ public Date getLastcontact() {\r
+ return lastcontact;\r
+ }\r
+\r
+ /**\r
+ * @param lastcontact the lastcontact to set\r
+ */\r
+ public void setLastcontact(Date lastcontact) {\r
+ this.lastcontact = lastcontact;\r
+ }\r
+\r
+ /**\r
+ * @return the hardware\r
+ */\r
+ public String getHardware() {\r
+ return hardware;\r
+ }\r
+\r
+ /**\r
+ * @param hardware the hardware to set\r
+ */\r
+ public void setHardware(String hardware) {\r
+ this.hardware = hardware;\r
+ }\r
+\r
+ /**\r
+ * @return the conrequser\r
+ */\r
+ public String getConrequser() {\r
+ return conrequser;\r
+ }\r
+\r
+ /**\r
+ * @return the conreqpass\r
+ */\r
+ public String getConreqpass() {\r
+ return conreqpass;\r
+ }\r
+\r
+ /**\r
+ * @return the confupTime\r
+ */\r
+ public Date getConfupTime() {\r
+ return confupTime;\r
+ }\r
+\r
+ /**\r
+ * @return the url\r
+ */\r
+ public String getUrl() {\r
+ return url;\r
+ }\r
+\r
+ /**\r
+ * @return the softVersion\r
+ */\r
+ public String getSoftVersion() {\r
+ return softVersion;\r
+ }\r
+\r
+ /**\r
+ * @param softVersion the softVersion to set\r
+ */\r
+ public void setSoftVersion(String softVersion) {\r
+ this.softVersion = softVersion;\r
+ }\r
+\r
+ /**\r
+ * @return the configVersion\r
+ */\r
+ public String getConfigVersion() {\r
+ return configVersion;\r
+ }\r
+\r
+ /**\r
+ * @param configVersion the configVersion to set\r
+ */\r
+ public void setConfigVersion(String configVersion) {\r
+ this.configVersion = configVersion;\r
+ }\r
+\r
+ /**\r
+ * @return the serialno\r
+ */\r
+ public String getSerialno() {\r
+ return serialno;\r
+ }\r
+\r
+ /**\r
+ * @return the hardwareModelName\r
+ */\r
+ public String getHardwareModelName() {\r
+ return hardwareModelName;\r
+ }\r
+\r
+ /**\r
+ * @param hardwareModelName the hardwareModelName to set\r
+ */\r
+ public void setHardwareModelName(String hardwareModelName) {\r
+ this.hardwareModelName = hardwareModelName;\r
+ }\r
+\r
+ /**\r
+ * @return the autoConfigurationFilePath\r
+ */\r
+ public String getAutoConfigurationFilePath() {\r
+ return autoConfigurationFilePath;\r
+ }\r
+\r
+ /**\r
+ * @param autoConfigurationFilePath the autoConfigurationFilePath to set\r
+ */\r
+ public void setAutoConfigurationFilePath(String autoConfigurationFilePath) {\r
+ this.autoConfigurationFilePath = autoConfigurationFilePath;\r
+ }\r
+\r
+}\r