X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=mapper%2Fsrc%2Fmain%2Fjava%2Forg%2Fcommscope%2Ftr069adapter%2Fmapper%2Fmodel%2FNetConfNotificationDTO.java;h=7ac902fff8f6c58ee7be1bb7d0ebf80345b00afe;hb=aa7991e2bb89e56479a79541a5d9b659ae619cd7;hp=792ada1de12e1be12ec86f56f12d004bdc33fc15;hpb=c4ed11115cea02bb72770e74805081ddba12daef;p=oam%2Ftr069-adapter.git diff --git a/mapper/src/main/java/org/commscope/tr069adapter/mapper/model/NetConfNotificationDTO.java b/mapper/src/main/java/org/commscope/tr069adapter/mapper/model/NetConfNotificationDTO.java index 792ada1..7ac902f 100644 --- a/mapper/src/main/java/org/commscope/tr069adapter/mapper/model/NetConfNotificationDTO.java +++ b/mapper/src/main/java/org/commscope/tr069adapter/mapper/model/NetConfNotificationDTO.java @@ -1,72 +1,56 @@ -package org.commscope.tr069adapter.mapper.model; - -import com.fasterxml.jackson.annotation.JsonTypeInfo; - -import java.io.Serializable; -import java.util.List; - -import org.commscope.tr069adapter.acs.common.ParameterDTO; - -@JsonTypeInfo(use = JsonTypeInfo.Id.CLASS, include = JsonTypeInfo.As.PROPERTY, property = "@class") -public class NetConfNotificationDTO implements Serializable { - - private static final long serialVersionUID = 4928942484595767042L; - private boolean isCustomNotification; - private String notificationType; - private List parameters; - private String uri; - private String deviceID; - - public NetConfNotificationDTO() { - super(); - } - - public NetConfNotificationDTO(String deviceID, String notificationType, - boolean isCustomNotification) { - super(); - this.isCustomNotification = isCustomNotification; - this.notificationType = notificationType; - this.deviceID = deviceID; - } - - public String getDeviceID() { - return deviceID; - } - - public void setDeviceID(String deviceID) { - this.deviceID = deviceID; - } - - public String getNotificationType() { - return notificationType; - } - - public void setNotificationType(String notificationType) { - this.notificationType = notificationType; - } - - public List getParameters() { - return parameters; - } - - public void setParameters(List parameters) { - this.parameters = parameters; - } - - public String getUri() { - return uri; - } - - public void setUri(String uri) { - this.uri = uri; - } - - public boolean isCustomNotification() { - return isCustomNotification; - } - - public void setCustomNotification(boolean isCustomNotification) { - this.isCustomNotification = isCustomNotification; - } - -} +/* + * ============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; +import com.fasterxml.jackson.annotation.JsonTypeInfo; + +@JsonTypeInfo(use = JsonTypeInfo.Id.CLASS, include = JsonTypeInfo.As.PROPERTY, property = "@class") +public class NetConfNotificationDTO implements Serializable { + + private static final long serialVersionUID = 4928942484595767042L; + private String notificaiton; + private String deviceID; + + public NetConfNotificationDTO() { + super(); + } + + public NetConfNotificationDTO(String deviceID, String notificaiton) { + super(); + this.deviceID = deviceID; + this.notificaiton = notificaiton; + } + + public String getDeviceID() { + return deviceID; + } + + public void setDeviceID(String deviceID) { + this.deviceID = deviceID; + } + + public String getNotificaiton() { + return notificaiton; + } + + public void setNotificaiton(String notificaiton) { + this.notificaiton = notificaiton; + } +}