Development of NETCONF RPCs for tr-069 adapter to
[oam/tr069-adapter.git] / mapper / src / main / java / org / commscope / tr069adapter / mapper / model / NetConfRequest.java
index 40a926c..88978dd 100644 (file)
@@ -1,83 +1,83 @@
-/*\r
- * ============LICENSE_START========================================================================\r
- * ONAP : tr-069-adapter\r
- * =================================================================================================\r
- * Copyright (C) 2020 CommScope Inc Intellectual Property.\r
- * =================================================================================================\r
- * This tr-069-adapter software file is distributed by CommScope Inc under the Apache License,\r
- * Version 2.0 (the "License"); you may not use this file except in compliance with the License. You\r
- * may obtain a copy of the License at\r
- *\r
- * http://www.apache.org/licenses/LICENSE-2.0\r
- *\r
- * This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,\r
- * either express or implied. See the License for the specific language governing permissions and\r
- * limitations under the License.\r
- * ===============LICENSE_END=======================================================================\r
- */\r
-\r
-package org.commscope.tr069adapter.mapper.model;\r
-\r
-import java.io.Serializable;\r
-\r
-public class NetConfRequest implements Serializable {\r
-\r
-  private static final long serialVersionUID = -7593813981401577995L;\r
-\r
-  private String requestXml;\r
-\r
-  // operation status\r
-  private String deviceId;\r
-  private String swVersion;\r
-  private String hwVersion;\r
-  \r
-  public NetConfRequest() {\r
-    super();\r
-  }\r
-\r
-  public NetConfRequest(String requestXml, String deviceId, String swVersion, String hwVersion) {\r
-    super();\r
-    this.requestXml = requestXml;\r
-    this.deviceId = deviceId;\r
-    this.swVersion = swVersion;\r
-    this.hwVersion = hwVersion;\r
-  }\r
-\r
-  public String getRequestXml() {\r
-    return requestXml;\r
-  }\r
-\r
-  public void setRequestXml(String requestXml) {\r
-    this.requestXml = requestXml;\r
-  }\r
-\r
-  public String getDeviceId() {\r
-    return deviceId;\r
-  }\r
-\r
-  public void setDeviceId(String deviceId) {\r
-    this.deviceId = deviceId;\r
-  }\r
-\r
-  public String getSwVersion() {\r
-    return swVersion;\r
-  }\r
-\r
-  public void setSwVersion(String swVersion) {\r
-    this.swVersion = swVersion;\r
-  }\r
-\r
-  public String getHwVersion() {\r
-    return hwVersion;\r
-  }\r
-\r
-  public void setHwVersion(String hwVersion) {\r
-    this.hwVersion = hwVersion;\r
-  }\r
-\r
-  @Override\r
-  public String toString() {\r
-    return "NetConfRequest [RequestXml=" + requestXml + ", deviceId=" + deviceId + "]";\r
-  }\r
-\r
-}\r
+/*
+ * ============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 NetConfRequest implements Serializable {
+
+  private static final long serialVersionUID = -7593813981401577995L;
+
+  private String requestXml;
+
+  // operation status
+  private String deviceId;
+  private String swVersion;
+  private String hwVersion;
+
+  public NetConfRequest() {
+    super();
+  }
+
+  public NetConfRequest(String requestXml, String deviceId, String swVersion, String hwVersion) {
+    super();
+    this.requestXml = requestXml;
+    this.deviceId = deviceId;
+    this.swVersion = swVersion;
+    this.hwVersion = hwVersion;
+  }
+
+  public String getRequestXml() {
+    return requestXml;
+  }
+
+  public void setRequestXml(String requestXml) {
+    this.requestXml = requestXml;
+  }
+
+  public String getDeviceId() {
+    return deviceId;
+  }
+
+  public void setDeviceId(String deviceId) {
+    this.deviceId = deviceId;
+  }
+
+  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 "NetConfRequest [RequestXml=" + requestXml + ", deviceId=" + deviceId + "]";
+  }
+
+}