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
11 * http://www.apache.org/licenses/LICENSE-2.0
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=======================================================================
18 package org.commscope.tr069adapter.mapper.model;
20 import java.io.Serializable;
22 public class NetConfServerDetails implements Serializable {
24 private static final long serialVersionUID = -7594811982301577995L;
26 private String deviceId;
27 private String enodeBName;
28 private String listenAddress;
29 private String listenPort;
30 private String swVersion;
31 private String hwVersion;
33 private NetconfServerManagementError error;
35 public NetConfServerDetails() {
39 public NetConfServerDetails(String deviceId, String listenAddress, String listenPort) {
41 this.deviceId = deviceId;
42 this.listenAddress = listenAddress;
43 this.listenPort = listenPort;
46 public String getDeviceId() {
50 public void setDeviceId(String deviceId) {
51 this.deviceId = deviceId;
54 public String getListenAddress() {
58 public void setListenAddress(String listenAddress) {
59 this.listenAddress = listenAddress;
62 public String getListenPort() {
66 public void setListenPort(String listenPort) {
67 this.listenPort = listenPort;
70 public NetconfServerManagementError getError() {
74 public void setError(NetconfServerManagementError error) {
78 public String getEnodeBName() {
82 public void setEnodeBName(String enodeBName) {
83 this.enodeBName = enodeBName;
86 public String getSwVersion() {
90 public void setSwVersion(String swVersion) {
91 this.swVersion = swVersion;
94 public String getHwVersion() {
98 public void setHwVersion(String hwVersion) {
99 this.hwVersion = hwVersion;
103 public String toString() {
104 return "NetConfServerDetails [deviceId=" + deviceId + ", enodeBName=" + enodeBName
105 + ", listenAddress=" + listenAddress + ", listenPort=" + listenPort + ", swversion="
106 + swVersion + ", hwversion=" + hwVersion + ", error=" + error + "]";