X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=mapper%2Fsrc%2Fmain%2Fjava%2Forg%2Fcommscope%2Ftr069adapter%2Fmapper%2Fmodel%2FNetConfServerDetails.java;h=625dac0aec0cd2ea6a971840f44c298cb8b13114;hb=76744e810f35c84ecbd1d9998e361052466e9483;hp=4a470f6fd812cde1daa2d95a60ea61d9c0cece49;hpb=a58ada8fd244e69cf2ebe48a251fcdd4d48acec4;p=oam%2Ftr069-adapter.git diff --git a/mapper/src/main/java/org/commscope/tr069adapter/mapper/model/NetConfServerDetails.java b/mapper/src/main/java/org/commscope/tr069adapter/mapper/model/NetConfServerDetails.java index 4a470f6..625dac0 100644 --- a/mapper/src/main/java/org/commscope/tr069adapter/mapper/model/NetConfServerDetails.java +++ b/mapper/src/main/java/org/commscope/tr069adapter/mapper/model/NetConfServerDetails.java @@ -1,91 +1,108 @@ -/* - * ============LICENSE_START======================================================================== - * ONAP : tr-069-adapter - * ================================================================================================= - * Copyright (C) 2020 CommScope Inc Intellectual Property. - * ================================================================================================= - * This tr-069-adapter software file is distributed by CommScope Inc under the Apache License, - * Version 2.0 (the "License"); you may not use this file except in compliance with the License. You - * may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, - * either express or implied. See the License for the specific language governing permissions and - * limitations under the License. - * ===============LICENSE_END======================================================================= - */ -package org.commscope.tr069adapter.mapper.model; - -import java.io.Serializable; - -public class NetConfServerDetails implements Serializable { - - private static final long serialVersionUID = -7594811982301577995L; - - private String deviceId; - private String enodeBName; - private String listenAddress; - private String listenPort; - - private NetconfServerManagementError error; - - public NetConfServerDetails() { - super(); - } - - public NetConfServerDetails(String deviceId, String listenAddress, String listenPort) { - super(); - this.deviceId = deviceId; - this.listenAddress = listenAddress; - this.listenPort = listenPort; - } - - public String getDeviceId() { - return deviceId; - } - - public void setDeviceId(String deviceId) { - this.deviceId = deviceId; - } - - public String getListenAddress() { - return listenAddress; - } - - public void setListenAddress(String listenAddress) { - this.listenAddress = listenAddress; - } - - public String getListenPort() { - return listenPort; - } - - public void setListenPort(String listenPort) { - this.listenPort = listenPort; - } - - public NetconfServerManagementError getError() { - return error; - } - - public void setError(NetconfServerManagementError error) { - this.error = error; - } - - public String getEnodeBName() { - return enodeBName; - } - - public void setEnodeBName(String enodeBName) { - this.enodeBName = enodeBName; - } - - @Override - public String toString() { - return "NetConfServerDetails [deviceId=" + deviceId + ", enodeBName=" + enodeBName - + ", listenAddress=" + listenAddress + ", listenPort=" + listenPort + ", error=" + error - + "]"; - } - -} +/* + * ============LICENSE_START======================================================================== + * ONAP : tr-069-adapter + * ================================================================================================= + * Copyright (C) 2020 CommScope Inc Intellectual Property. + * ================================================================================================= + * This tr-069-adapter software file is distributed by CommScope Inc under the Apache License, + * Version 2.0 (the "License"); you may not use this file except in compliance with the License. You + * may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, + * either express or implied. See the License for the specific language governing permissions and + * limitations under the License. + * ===============LICENSE_END======================================================================= + */ +package org.commscope.tr069adapter.mapper.model; + +import java.io.Serializable; + +public class NetConfServerDetails implements Serializable { + + private static final long serialVersionUID = -7594811982301577995L; + + private String deviceId; + private String enodeBName; + private String listenAddress; + private String listenPort; + private String swVersion; + private String hwVersion; + + private NetconfServerManagementError error; + + public NetConfServerDetails() { + super(); + } + + public NetConfServerDetails(String deviceId, String listenAddress, String listenPort) { + super(); + this.deviceId = deviceId; + this.listenAddress = listenAddress; + this.listenPort = listenPort; + } + + public String getDeviceId() { + return deviceId; + } + + public void setDeviceId(String deviceId) { + this.deviceId = deviceId; + } + + public String getListenAddress() { + return listenAddress; + } + + public void setListenAddress(String listenAddress) { + this.listenAddress = listenAddress; + } + + public String getListenPort() { + return listenPort; + } + + public void setListenPort(String listenPort) { + this.listenPort = listenPort; + } + + public NetconfServerManagementError getError() { + return error; + } + + public void setError(NetconfServerManagementError error) { + this.error = error; + } + + public String getEnodeBName() { + return enodeBName; + } + + public void setEnodeBName(String enodeBName) { + this.enodeBName = enodeBName; + } + + public String getSwVersion() { + return swVersion; + } + + public void setSwVersion(String swVersion) { + this.swVersion = swVersion; + } + + public String getHwVersion() { + return hwVersion; + } + + public void setHwVersion(String hwVersion) { + this.hwVersion = hwVersion; + } + + @Override + public String toString() { + return "NetConfServerDetails [deviceId=" + deviceId + ", enodeBName=" + enodeBName + + ", listenAddress=" + listenAddress + ", listenPort=" + listenPort + ", swversion=" + + swVersion + ", hwversion=" + hwVersion + ", error=" + error + "]"; + } +}