-/*
- * ============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;\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
+import com.fasterxml.jackson.annotation.JsonTypeInfo.Id;\r
\r
-@JsonTypeInfo(use = JsonTypeInfo.Id.CLASS, include = JsonTypeInfo.As.PROPERTY, property = "@class")\r
+@JsonTypeInfo(use = 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 notificaiton;\r
private String deviceID;\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
this.deviceID = deviceID;\r
}\r
\r
- public String getNotificationType() {\r
- return notificationType;\r
+ public String getNotificaiton() {\r
+ return notificaiton;\r
}\r
\r
- public void setNotificationType(String notificationType) {\r
- this.notificationType = notificationType;\r
+ public void setNotificaiton(String notificaiton) {\r
+ this.notificaiton = notificaiton;\r
}\r
-\r
- public List<ParameterDTO> getParameters() {\r
- return parameters;\r
- }\r
-\r
- public void setParameters(List<ParameterDTO> parameters) {\r
- this.parameters = parameters;\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