Development of NETCONF RPCs for tr-069 adapter to
[oam/tr069-adapter.git] / mapper / src / main / java / org / commscope / tr069adapter / mapper / model / NetConfServerDetails.java
1 /*
2  * ============LICENSE_START========================================================================
3  * ONAP : tr-069-adapter
4  * =================================================================================================
5  * Copyright (C) 2020 CommScope Inc Intellectual Property.
6  * =================================================================================================
7  * This tr-069-adapter software file is distributed by CommScope Inc under the Apache License,
8  * Version 2.0 (the "License"); you may not use this file except in compliance with the License. You
9  * may obtain a copy of the License at
10  *
11  * http://www.apache.org/licenses/LICENSE-2.0
12  *
13  * This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
14  * either express or implied. See the License for the specific language governing permissions and
15  * limitations under the License.
16  * ===============LICENSE_END=======================================================================
17  */
18 package org.commscope.tr069adapter.mapper.model;
19
20 import java.io.Serializable;
21
22 public class NetConfServerDetails implements Serializable {
23
24   private static final long serialVersionUID = -7594811982301577995L;
25
26   private String deviceId;
27   private String enodeBName;
28   private String listenAddress;
29   private String listenPort;
30   private String swVersion;
31   private String hwVersion;
32
33   private NetconfServerManagementError error;
34
35   public NetConfServerDetails() {
36     super();
37   }
38
39   public NetConfServerDetails(String deviceId, String listenAddress, String listenPort) {
40     super();
41     this.deviceId = deviceId;
42     this.listenAddress = listenAddress;
43     this.listenPort = listenPort;
44   }
45
46   public String getDeviceId() {
47     return deviceId;
48   }
49
50   public void setDeviceId(String deviceId) {
51     this.deviceId = deviceId;
52   }
53
54   public String getListenAddress() {
55     return listenAddress;
56   }
57
58   public void setListenAddress(String listenAddress) {
59     this.listenAddress = listenAddress;
60   }
61
62   public String getListenPort() {
63     return listenPort;
64   }
65
66   public void setListenPort(String listenPort) {
67     this.listenPort = listenPort;
68   }
69
70   public NetconfServerManagementError getError() {
71     return error;
72   }
73
74   public void setError(NetconfServerManagementError error) {
75     this.error = error;
76   }
77
78   public String getEnodeBName() {
79     return enodeBName;
80   }
81
82   public void setEnodeBName(String enodeBName) {
83     this.enodeBName = enodeBName;
84   }
85
86   public String getSwVersion() {
87     return swVersion;
88   }
89
90   public void setSwVersion(String swVersion) {
91     this.swVersion = swVersion;
92   }
93
94   public String getHwVersion() {
95     return hwVersion;
96   }
97
98   public void setHwVersion(String hwVersion) {
99     this.hwVersion = hwVersion;
100   }
101
102   @Override
103   public String toString() {
104     return "NetConfServerDetails [deviceId=" + deviceId + ", enodeBName=" + enodeBName
105         + ", listenAddress=" + listenAddress + ", listenPort=" + listenPort + ", swversion="
106         + swVersion + ", hwversion=" + hwVersion + ", error=" + error + "]";
107   }
108 }