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=======================================================================
19 package org.commscope.tr069adapter.mapper.model;
\r
21 import com.fasterxml.jackson.annotation.JsonTypeInfo;
\r
23 import java.io.Serializable;
\r
24 import java.util.List;
\r
26 import org.commscope.tr069adapter.acs.common.ParameterDTO;
\r
28 @JsonTypeInfo(use = JsonTypeInfo.Id.CLASS, include = JsonTypeInfo.As.PROPERTY, property = "@class")
\r
29 public class NetConfNotificationDTO implements Serializable {
\r
31 private static final long serialVersionUID = 4928942484595767042L;
\r
32 private boolean isCustomNotification;
\r
33 private String notificationType;
\r
34 private List<ParameterDTO> parameters;
\r
36 private String deviceID;
\r
38 public NetConfNotificationDTO() {
\r
42 public NetConfNotificationDTO(String deviceID, String notificationType,
\r
43 boolean isCustomNotification) {
\r
45 this.isCustomNotification = isCustomNotification;
\r
46 this.notificationType = notificationType;
\r
47 this.deviceID = deviceID;
\r
50 public String getDeviceID() {
\r
54 public void setDeviceID(String deviceID) {
\r
55 this.deviceID = deviceID;
\r
58 public String getNotificationType() {
\r
59 return notificationType;
\r
62 public void setNotificationType(String notificationType) {
\r
63 this.notificationType = notificationType;
\r
66 public List<ParameterDTO> getParameters() {
\r
70 public void setParameters(List<ParameterDTO> parameters) {
\r
71 this.parameters = parameters;
\r
74 public String getUri() {
\r
78 public void setUri(String uri) {
\r
82 public boolean isCustomNotification() {
\r
83 return isCustomNotification;
\r
86 public void setCustomNotification(boolean isCustomNotification) {
\r
87 this.isCustomNotification = isCustomNotification;
\r