Adding Copyright Missing files
[oam/tr069-adapter.git] / mapper / src / main / java / org / commscope / tr069adapter / mapper / model / NetConfNotificationDTO.java
1 /*
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
10  *
11  * http://www.apache.org/licenses/LICENSE-2.0
12  *
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=======================================================================
17  */
18
19 package org.commscope.tr069adapter.mapper.model;\r
20 \r
21 import com.fasterxml.jackson.annotation.JsonTypeInfo;\r
22 \r
23 import java.io.Serializable;\r
24 import java.util.List;\r
25 \r
26 import org.commscope.tr069adapter.acs.common.ParameterDTO;\r
27 \r
28 @JsonTypeInfo(use = JsonTypeInfo.Id.CLASS, include = JsonTypeInfo.As.PROPERTY, property = "@class")\r
29 public class NetConfNotificationDTO implements Serializable {\r
30 \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
35   private String uri;\r
36   private String deviceID;\r
37 \r
38   public NetConfNotificationDTO() {\r
39     super();\r
40   }\r
41 \r
42   public NetConfNotificationDTO(String deviceID, String notificationType,\r
43       boolean isCustomNotification) {\r
44     super();\r
45     this.isCustomNotification = isCustomNotification;\r
46     this.notificationType = notificationType;\r
47     this.deviceID = deviceID;\r
48   }\r
49 \r
50   public String getDeviceID() {\r
51     return deviceID;\r
52   }\r
53 \r
54   public void setDeviceID(String deviceID) {\r
55     this.deviceID = deviceID;\r
56   }\r
57 \r
58   public String getNotificationType() {\r
59     return notificationType;\r
60   }\r
61 \r
62   public void setNotificationType(String notificationType) {\r
63     this.notificationType = notificationType;\r
64   }\r
65 \r
66   public List<ParameterDTO> getParameters() {\r
67     return parameters;\r
68   }\r
69 \r
70   public void setParameters(List<ParameterDTO> parameters) {\r
71     this.parameters = parameters;\r
72   }\r
73 \r
74   public String getUri() {\r
75     return uri;\r
76   }\r
77 \r
78   public void setUri(String uri) {\r
79     this.uri = uri;\r
80   }\r
81 \r
82   public boolean isCustomNotification() {\r
83     return isCustomNotification;\r
84   }\r
85 \r
86   public void setCustomNotification(boolean isCustomNotification) {\r
87     this.isCustomNotification = isCustomNotification;\r
88   }\r
89 \r
90 }\r