X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;ds=sidebyside;f=mapper%2Fsrc%2Fmain%2Fjava%2Forg%2Fcommscope%2Ftr069adapter%2Fmapper%2Fmodel%2FNetConfNotificationDTO.java;h=0fb69b001f34f31dac3a5c20b4af409d1d4553cd;hb=HEAD;hp=79d6839cc51408e2c74898f108a916f336bafda1;hpb=aaa23d1262f744e7ac978ae19f9b8dcbb3e49253;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 79d6839..0fb69b0 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,50 +1,43 @@ -/* - * ============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; +/* + * ============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======================================================================= + */ -import com.fasterxml.jackson.annotation.JsonTypeInfo; +package org.commscope.tr069adapter.mapper.model; import java.io.Serializable; -import java.util.List; -import org.commscope.tr069adapter.acs.common.ParameterDTO; +import com.fasterxml.jackson.annotation.JsonTypeInfo; +import com.fasterxml.jackson.annotation.JsonTypeInfo.Id; -@JsonTypeInfo(use = JsonTypeInfo.Id.CLASS, include = JsonTypeInfo.As.PROPERTY, property = "@class") +@JsonTypeInfo(use = 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 notificaiton; private String deviceID; public NetConfNotificationDTO() { super(); } - public NetConfNotificationDTO(String deviceID, String notificationType, - boolean isCustomNotification) { + public NetConfNotificationDTO(String deviceID, String notificaiton) { super(); - this.isCustomNotification = isCustomNotification; - this.notificationType = notificationType; this.deviceID = deviceID; + this.notificaiton = notificaiton; } public String getDeviceID() { @@ -55,36 +48,11 @@ public class NetConfNotificationDTO implements Serializable { this.deviceID = deviceID; } - public String getNotificationType() { - return notificationType; + public String getNotificaiton() { + return notificaiton; } - public void setNotificationType(String notificationType) { - this.notificationType = notificationType; + public void setNotificaiton(String notificaiton) { + this.notificaiton = notificaiton; } - - 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; - } - }