Initial source code
[oam/tr069-adapter.git] / acs / cpe / src / main / java / org / commscope / tr069adapter / acs / cpe / rpc / DeviceInfo.java
1 /*\r
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
10  *\r
11  * http://www.apache.org/licenses/LICENSE-2.0\r
12  *\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
17  */\r
18 \r
19 package org.commscope.tr069adapter.acs.cpe.rpc;\r
20 \r
21 import java.util.Date;\r
22 \r
23 public class DeviceInfo {\r
24 \r
25   Date lastcontact;\r
26   Date confupTime;\r
27   String hardware;\r
28   String serialno;\r
29   String url;\r
30   String username;\r
31   String password;\r
32   Integer authtype;\r
33   byte[] props;\r
34   Integer hwid;\r
35   String hardwareModelName;\r
36   String oui;\r
37   String pClass;\r
38   String conrequser;\r
39   String conreqpass;\r
40   String profileName;\r
41   String softVersion;\r
42   String configVersion;\r
43   Boolean forcePasswords;\r
44   Boolean reboot;\r
45   String autoConfigurationFilePath;\r
46 \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
55   }\r
56 \r
57   /**\r
58    * @param authtype the authtype to set\r
59    */\r
60   public void setAuthtype(Integer authtype) {\r
61     this.authtype = authtype;\r
62   }\r
63 \r
64   /**\r
65    * @param conrequser the conrequser to set\r
66    */\r
67   public void setConrequser(String conrequser) {\r
68     this.conrequser = conrequser;\r
69   }\r
70 \r
71   /**\r
72    * @param conreqpass the conreqpass to set\r
73    */\r
74   public void setConreqpass(String conreqpass) {\r
75     this.conreqpass = conreqpass;\r
76   }\r
77 \r
78   /**\r
79    * @param confupTime the confupTime to set\r
80    */\r
81   public void setConfupTime(Date confupTime) {\r
82     this.confupTime = confupTime;\r
83   }\r
84 \r
85   /**\r
86    * @param url the url to set\r
87    */\r
88   public void setUrl(String url) {\r
89     this.url = url;\r
90   }\r
91 \r
92   /**\r
93    * @return the username\r
94    */\r
95   public String getUsername() {\r
96     return username;\r
97   }\r
98 \r
99   /**\r
100    * @return the password\r
101    */\r
102   public String getPassword() {\r
103     return password;\r
104   }\r
105 \r
106   /**\r
107    * @return the authtype\r
108    */\r
109   public Integer getAuthtype() {\r
110     return authtype;\r
111   }\r
112 \r
113   /**\r
114    * @return the props\r
115    */\r
116   public byte[] getProps() {\r
117     return props;\r
118   }\r
119 \r
120   /**\r
121    * @param props the props to set\r
122    */\r
123   public void setProps(byte[] props) {\r
124     this.props = props;\r
125   }\r
126 \r
127   /**\r
128    * @return the hwid\r
129    */\r
130   public Integer getHwid() {\r
131     return hwid;\r
132   }\r
133 \r
134   /**\r
135    * @param hwid the hwid to set\r
136    */\r
137   public void setHwid(Integer hwid) {\r
138     this.hwid = hwid;\r
139   }\r
140 \r
141   /**\r
142    * @return the profileName\r
143    */\r
144   public String getProfileName() {\r
145     return profileName;\r
146   }\r
147 \r
148   /**\r
149    * @param profileName the profileName to set\r
150    */\r
151   public void setProfileName(String profileName) {\r
152     this.profileName = profileName;\r
153   }\r
154 \r
155   /**\r
156    * @return the forcePasswords\r
157    */\r
158   public Boolean getForcePasswords() {\r
159     return forcePasswords;\r
160   }\r
161 \r
162   /**\r
163    * @param forcePasswords the forcePasswords to set\r
164    */\r
165   public void setForcePasswords(Boolean forcePasswords) {\r
166     this.forcePasswords = forcePasswords;\r
167   }\r
168 \r
169   /**\r
170    * @return the reboot\r
171    */\r
172   public Boolean getReboot() {\r
173     return reboot;\r
174   }\r
175 \r
176   /**\r
177    * @param reboot the reboot to set\r
178    */\r
179   public void setReboot(Boolean reboot) {\r
180     this.reboot = reboot;\r
181   }\r
182 \r
183   /**\r
184    * @return the lastcontact\r
185    */\r
186   public Date getLastcontact() {\r
187     return lastcontact;\r
188   }\r
189 \r
190   /**\r
191    * @param lastcontact the lastcontact to set\r
192    */\r
193   public void setLastcontact(Date lastcontact) {\r
194     this.lastcontact = lastcontact;\r
195   }\r
196 \r
197   /**\r
198    * @return the hardware\r
199    */\r
200   public String getHardware() {\r
201     return hardware;\r
202   }\r
203 \r
204   /**\r
205    * @param hardware the hardware to set\r
206    */\r
207   public void setHardware(String hardware) {\r
208     this.hardware = hardware;\r
209   }\r
210 \r
211   /**\r
212    * @return the conrequser\r
213    */\r
214   public String getConrequser() {\r
215     return conrequser;\r
216   }\r
217 \r
218   /**\r
219    * @return the conreqpass\r
220    */\r
221   public String getConreqpass() {\r
222     return conreqpass;\r
223   }\r
224 \r
225   /**\r
226    * @return the confupTime\r
227    */\r
228   public Date getConfupTime() {\r
229     return confupTime;\r
230   }\r
231 \r
232   /**\r
233    * @return the url\r
234    */\r
235   public String getUrl() {\r
236     return url;\r
237   }\r
238 \r
239   /**\r
240    * @return the softVersion\r
241    */\r
242   public String getSoftVersion() {\r
243     return softVersion;\r
244   }\r
245 \r
246   /**\r
247    * @param softVersion the softVersion to set\r
248    */\r
249   public void setSoftVersion(String softVersion) {\r
250     this.softVersion = softVersion;\r
251   }\r
252 \r
253   /**\r
254    * @return the configVersion\r
255    */\r
256   public String getConfigVersion() {\r
257     return configVersion;\r
258   }\r
259 \r
260   /**\r
261    * @param configVersion the configVersion to set\r
262    */\r
263   public void setConfigVersion(String configVersion) {\r
264     this.configVersion = configVersion;\r
265   }\r
266 \r
267   /**\r
268    * @return the serialno\r
269    */\r
270   public String getSerialno() {\r
271     return serialno;\r
272   }\r
273 \r
274   /**\r
275    * @return the hardwareModelName\r
276    */\r
277   public String getHardwareModelName() {\r
278     return hardwareModelName;\r
279   }\r
280 \r
281   /**\r
282    * @param hardwareModelName the hardwareModelName to set\r
283    */\r
284   public void setHardwareModelName(String hardwareModelName) {\r
285     this.hardwareModelName = hardwareModelName;\r
286   }\r
287 \r
288   /**\r
289    * @return the autoConfigurationFilePath\r
290    */\r
291   public String getAutoConfigurationFilePath() {\r
292     return autoConfigurationFilePath;\r
293   }\r
294 \r
295   /**\r
296    * @param autoConfigurationFilePath the autoConfigurationFilePath to set\r
297    */\r
298   public void setAutoConfigurationFilePath(String autoConfigurationFilePath) {\r
299     this.autoConfigurationFilePath = autoConfigurationFilePath;\r
300   }\r
301 \r
302 }\r