Modify ANR Payload aligned to A1 schema in SDNR
[dcaegen2/services/son-handler.git] / src / main / java / org / onap / dcaegen2 / services / sonhms / model / PolicyData.java
1 /*******************************************************************************
2  *  ============LICENSE_START=======================================================
3  *  son-handler
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
10  *
11  *          http://www.apache.org/licenses/LICENSE-2.0
12  *
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=========================================================
19  *
20  *******************************************************************************/
21
22 package org.onap.dcaegen2.services.sonhms.model;
23
24 import com.fasterxml.jackson.annotation.JsonProperty;
25
26 import java.util.List;
27
28 public class PolicyData {
29
30     @JsonProperty("PNFName")
31     private String pnfName;
32
33     @JsonProperty("PLMNID")
34     private String plmnId;
35
36     @JsonProperty("CellID")
37     private String cellId;
38
39     @JsonProperty("neighbours")
40     private List<Neighbours> neighbours;
41
42     public PolicyData() {
43
44     }
45
46     /**
47      * Parameterized Constructor.
48      */
49     public PolicyData(String pnfName, String plmnId, String cellId, List<Neighbours> neighbours) {
50         super();
51         this.pnfName = pnfName;
52         this.plmnId = plmnId;
53         this.cellId = cellId;
54         this.neighbours = neighbours;
55     }
56
57     public String getPnfName() {
58        return pnfName;
59     }
60
61     public void setPnfName(String pnfName) {
62        this.pnfName = pnfName;
63     }
64
65     public String getPlmnId() {
66        return plmnId;
67     }
68
69     public void setPlmnId(String plmnId) {
70        this.plmnId = plmnId;
71     }
72
73     public String getCellId() {
74        return cellId;
75     }
76
77     public void setCellId(String cellId) {
78        this.cellId = cellId;
79     }
80
81     public List<Neighbours> getNeighbours() {
82        return neighbours;
83     }
84
85     public void setNeighbours(List<Neighbours> neighbours) {
86        this.neighbours=neighbours;
87     }
88
89     @Override
90     public String toString() {
91         return "PolicyData [pnfName=" + pnfName + ", plmnId=" + plmnId + ", cellId=" + cellId + ", neighbours="
92         + neighbours + "]";
93     }
94
95
96     
97
98 }
99