1 /*******************************************************************************
2 * ============LICENSE_START=======================================================
4 * ================================================================================
5 * Copyright (C) 2022 Wipro Limited.
6 * ==============================================================================
7 * Licensed under the Apache License, Version 2.0 (the "License");
8 * you may not use this file except in compliance with the License.
9 * You may obtain a copy of the License at
11 * http://www.apache.org/licenses/LICENSE-2.0
13 * Unless required by applicable law or agreed to in writing, software
14 * distributed under the License is distributed on an "AS IS" BASIS,
15 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 * See the License for the specific language governing permissions and
17 * limitations under the License.
18 * ============LICENSE_END=========================================================
20 *******************************************************************************/
22 package org.onap.dcaegen2.services.sonhms.model;
24 import com.fasterxml.jackson.annotation.JsonProperty;
26 import java.util.List;
29 * Model class for neighbour details within the payload
30 * for A1 based control loop
33 public class Neighbours {
35 @JsonProperty("PNFName")
36 private String pnfName;
38 @JsonProperty("PLMNID")
39 private String plmnId;
41 @JsonProperty("CellID")
42 private String cellId;
44 @JsonProperty("ho-kpi1")
52 * Parameterized Constructor.
54 public Neighbours(String pnfName, String plmnId, String cellId, int hoKpi) {
56 this.pnfName = pnfName;
62 public String getPnfName() {
66 public void setPnfName(String pnfName) {
67 this.pnfName = pnfName;
70 public String getPlmnId() {
74 public void setPlmnId(String plmnId) {
78 public String getCellId() {
82 public void setCellId(String cellId) {
86 public int getHoKpi() {
90 public void setHoKpi(int hoKpi) {
95 public String toString() {
96 return "Neighbours [pnfName=" + pnfName + ", plmnId=" + plmnId + ", cellId=" + cellId + ", hoKpi=" + hoKpi