2 * ============LICENSE_START========================================================================
\r
3 * ONAP : tr-069-adapter
\r
4 * =================================================================================================
\r
5 * Copyright (C) 2020 CommScope Inc Intellectual Property.
\r
6 * =================================================================================================
\r
7 * This tr-069-adapter software file is distributed by CommScope Inc under the Apache License,
\r
8 * Version 2.0 (the "License"); you may not use this file except in compliance with the License. You
\r
9 * may obtain a copy of the License at
\r
11 * http://www.apache.org/licenses/LICENSE-2.0
\r
13 * This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
\r
14 * either express or implied. See the License for the specific language governing permissions and
\r
15 * limitations under the License.
\r
16 * ===============LICENSE_END=======================================================================
\r
19 package org.commscope.tr069adapter.acs.cpe.rpc;
\r
21 import java.util.Date;
\r
23 public class DeviceInfo {
\r
35 String hardwareModelName;
\r
42 String configVersion;
\r
43 Boolean forcePasswords;
\r
45 String autoConfigurationFilePath;
\r
47 public DeviceInfo(String serialno, String username, String password, String m,
\r
48 Boolean forcePasswords, Integer authType) {
\r
49 this.serialno = serialno;
\r
50 this.username = username;
\r
51 this.password = password;
\r
52 this.hardwareModelName = m;
\r
53 this.forcePasswords = forcePasswords;
\r
54 this.authtype = authType;
\r
58 * @param authtype the authtype to set
\r
60 public void setAuthtype(Integer authtype) {
\r
61 this.authtype = authtype;
\r
65 * @param conrequser the conrequser to set
\r
67 public void setConrequser(String conrequser) {
\r
68 this.conrequser = conrequser;
\r
72 * @param conreqpass the conreqpass to set
\r
74 public void setConreqpass(String conreqpass) {
\r
75 this.conreqpass = conreqpass;
\r
79 * @param confupTime the confupTime to set
\r
81 public void setConfupTime(Date confupTime) {
\r
82 this.confupTime = confupTime;
\r
86 * @param url the url to set
\r
88 public void setUrl(String url) {
\r
93 * @return the username
\r
95 public String getUsername() {
\r
100 * @return the password
\r
102 public String getPassword() {
\r
107 * @return the authtype
\r
109 public Integer getAuthtype() {
\r
114 * @return the props
\r
116 public byte[] getProps() {
\r
121 * @param props the props to set
\r
123 public void setProps(byte[] props) {
\r
124 this.props = props;
\r
130 public Integer getHwid() {
\r
135 * @param hwid the hwid to set
\r
137 public void setHwid(Integer hwid) {
\r
142 * @return the profileName
\r
144 public String getProfileName() {
\r
145 return profileName;
\r
149 * @param profileName the profileName to set
\r
151 public void setProfileName(String profileName) {
\r
152 this.profileName = profileName;
\r
156 * @return the forcePasswords
\r
158 public Boolean getForcePasswords() {
\r
159 return forcePasswords;
\r
163 * @param forcePasswords the forcePasswords to set
\r
165 public void setForcePasswords(Boolean forcePasswords) {
\r
166 this.forcePasswords = forcePasswords;
\r
170 * @return the reboot
\r
172 public Boolean getReboot() {
\r
177 * @param reboot the reboot to set
\r
179 public void setReboot(Boolean reboot) {
\r
180 this.reboot = reboot;
\r
184 * @return the lastcontact
\r
186 public Date getLastcontact() {
\r
187 return lastcontact;
\r
191 * @param lastcontact the lastcontact to set
\r
193 public void setLastcontact(Date lastcontact) {
\r
194 this.lastcontact = lastcontact;
\r
198 * @return the hardware
\r
200 public String getHardware() {
\r
205 * @param hardware the hardware to set
\r
207 public void setHardware(String hardware) {
\r
208 this.hardware = hardware;
\r
212 * @return the conrequser
\r
214 public String getConrequser() {
\r
219 * @return the conreqpass
\r
221 public String getConreqpass() {
\r
226 * @return the confupTime
\r
228 public Date getConfupTime() {
\r
235 public String getUrl() {
\r
240 * @return the softVersion
\r
242 public String getSoftVersion() {
\r
243 return softVersion;
\r
247 * @param softVersion the softVersion to set
\r
249 public void setSoftVersion(String softVersion) {
\r
250 this.softVersion = softVersion;
\r
254 * @return the configVersion
\r
256 public String getConfigVersion() {
\r
257 return configVersion;
\r
261 * @param configVersion the configVersion to set
\r
263 public void setConfigVersion(String configVersion) {
\r
264 this.configVersion = configVersion;
\r
268 * @return the serialno
\r
270 public String getSerialno() {
\r
275 * @return the hardwareModelName
\r
277 public String getHardwareModelName() {
\r
278 return hardwareModelName;
\r
282 * @param hardwareModelName the hardwareModelName to set
\r
284 public void setHardwareModelName(String hardwareModelName) {
\r
285 this.hardwareModelName = hardwareModelName;
\r
289 * @return the autoConfigurationFilePath
\r
291 public String getAutoConfigurationFilePath() {
\r
292 return autoConfigurationFilePath;
\r
296 * @param autoConfigurationFilePath the autoConfigurationFilePath to set
\r
298 public void setAutoConfigurationFilePath(String autoConfigurationFilePath) {
\r
299 this.autoConfigurationFilePath = autoConfigurationFilePath;
\r