exchanging new version yang models on firmware upgrade
[oam/tr069-adapter.git] / mapper / src / main / java / org / commscope / tr069adapter / mapper / model / NetConfNotificationDTO.java
index 792ada1..dfd0c4e 100644 (file)
@@ -1,32 +1,41 @@
-package org.commscope.tr069adapter.mapper.model;\r
+/*\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
-import com.fasterxml.jackson.annotation.JsonTypeInfo;\r
+package org.commscope.tr069adapter.mapper.model;\r
 \r
 import java.io.Serializable;\r
-import java.util.List;\r
-\r
-import org.commscope.tr069adapter.acs.common.ParameterDTO;\r
+import com.fasterxml.jackson.annotation.JsonTypeInfo;\r
 \r
 @JsonTypeInfo(use = JsonTypeInfo.Id.CLASS, include = JsonTypeInfo.As.PROPERTY, property = "@class")\r
 public class NetConfNotificationDTO implements Serializable {\r
 \r
   private static final long serialVersionUID = 4928942484595767042L;\r
-  private boolean isCustomNotification;\r
-  private String notificationType;\r
-  private List<ParameterDTO> parameters;\r
-  private String uri;\r
   private String deviceID;\r
+  private String notificaiton;\r
 \r
   public NetConfNotificationDTO() {\r
     super();\r
   }\r
 \r
-  public NetConfNotificationDTO(String deviceID, String notificationType,\r
-      boolean isCustomNotification) {\r
+  public NetConfNotificationDTO(String deviceID, String notificaiton) {\r
     super();\r
-    this.isCustomNotification = isCustomNotification;\r
-    this.notificationType = notificationType;\r
     this.deviceID = deviceID;\r
+    this.notificaiton = notificaiton;\r
   }\r
 \r
   public String getDeviceID() {\r
@@ -37,36 +46,11 @@ public class NetConfNotificationDTO implements Serializable {
     this.deviceID = deviceID;\r
   }\r
 \r
-  public String getNotificationType() {\r
-    return notificationType;\r
-  }\r
-\r
-  public void setNotificationType(String notificationType) {\r
-    this.notificationType = notificationType;\r
-  }\r
-\r
-  public List<ParameterDTO> getParameters() {\r
-    return parameters;\r
+  public String getNotificaiton() {\r
+    return notificaiton;\r
   }\r
 \r
-  public void setParameters(List<ParameterDTO> parameters) {\r
-    this.parameters = parameters;\r
+  public void setNotificaiton(String notificaiton) {\r
+    this.notificaiton = notificaiton;\r
   }\r
-\r
-  public String getUri() {\r
-    return uri;\r
-  }\r
-\r
-  public void setUri(String uri) {\r
-    this.uri = uri;\r
-  }\r
-\r
-  public boolean isCustomNotification() {\r
-    return isCustomNotification;\r
-  }\r
-\r
-  public void setCustomNotification(boolean isCustomNotification) {\r
-    this.isCustomNotification = isCustomNotification;\r
-  }\r
-\r
 }\r