summaryrefslogtreecommitdiffstats
path: root/ANR-App/src/main/java/org/onap/ranapp/kafka/model/appmodels/Payload.java
diff options
context:
space:
mode:
Diffstat (limited to 'ANR-App/src/main/java/org/onap/ranapp/kafka/model/appmodels/Payload.java')
-rw-r--r--ANR-App/src/main/java/org/onap/ranapp/kafka/model/appmodels/Payload.java145
1 files changed, 75 insertions, 70 deletions
diff --git a/ANR-App/src/main/java/org/onap/ranapp/kafka/model/appmodels/Payload.java b/ANR-App/src/main/java/org/onap/ranapp/kafka/model/appmodels/Payload.java
index c3c7f90..6388617 100644
--- a/ANR-App/src/main/java/org/onap/ranapp/kafka/model/appmodels/Payload.java
+++ b/ANR-App/src/main/java/org/onap/ranapp/kafka/model/appmodels/Payload.java
@@ -1,5 +1,21 @@
+/*
+ * Copyright (C) 2022 CAPGEMINI ENGINEERING.
+ *
+ * Licensed 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
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License 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.
+ */
package org.onap.ranapp.kafka.model.appmodels;
import java.util.HashMap;
+import java.util.List;
import java.util.Map;
import javax.annotation.Generated;
import com.fasterxml.jackson.annotation.JsonAnyGetter;
@@ -10,77 +26,66 @@ import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonPropertyOrder;
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonPropertyOrder({
-"action",
-"policy_id",
-"policy_type_id",
-"ric_id",
-"policy_data"
+"PNFName",
+"PLMNID",
+"CellID",
+"neighbours"
})
@Generated("jsonschema2pojo")
public class Payload {
-@JsonProperty("action")
-private String action;
-@JsonProperty("policy_id")
-private Integer policyId;
-@JsonProperty("policy_type_id")
-private Integer policyTypeId;
-@JsonProperty("ric_id")
-private String ricId;
-@JsonProperty("policy_data")
-private PolicyData policyData;
-@JsonIgnore
-private Map<String, Object> additionalProperties = new HashMap<String, Object>();
-@JsonProperty("action")
-public String getAction() {
-return action;
-}
-@JsonProperty("action")
-public void setAction(String action) {
-this.action = action;
-}
-@JsonProperty("policy_id")
-public Integer getPolicyId() {
-return policyId;
-}
-@JsonProperty("policy_id")
-public void setPolicyId(Integer policyId) {
-this.policyId = policyId;
-}
-@JsonProperty("policy_type_id")
-public Integer getPolicyTypeId() {
-return policyTypeId;
-}
-@JsonProperty("policy_type_id")
-public void setPolicyTypeId(Integer policyTypeId) {
-this.policyTypeId = policyTypeId;
-}
-@JsonProperty("ric_id")
-public String getRicId() {
-return ricId;
-}
-@JsonProperty("ric_id")
-public void setRicId(String ricId) {
-this.ricId = ricId;
-}
-@JsonProperty("policy_data")
-public PolicyData getPolicyData() {
-return policyData;
-}
-@JsonProperty("policy_data")
-public void setPolicyData(PolicyData policyData) {
-this.policyData = policyData;
-}
-@JsonAnyGetter
-public Map<String, Object> getAdditionalProperties() {
-return this.additionalProperties;
-}
-@JsonAnySetter
-public void setAdditionalProperty(String name, Object value) {
-this.additionalProperties.put(name, value);
-}
-@Override
-public String toString() {
- return "Payload [action=" + action + ", policyId=" + policyId + ", policyTypeId=" + policyTypeId + ", ricId="
- + ricId + ", policyData=" + policyData + "]";
-}
+ @JsonProperty("PNFName")
+ private String pNFName;
+ @JsonProperty("PLMNID")
+ private String plmnid;
+ @JsonProperty("CellID")
+ private String cellID;
+ @JsonProperty("neighbours")
+ private List<Neighbour> neighbours = null;
+ @JsonIgnore
+ private Map<String, Object> additionalProperties = new HashMap<String, Object>();
+ @JsonProperty("PNFName")
+ public String getPNFName() {
+ return pNFName;
+ }
+ @JsonProperty("PNFName")
+ public void setPNFName(String pNFName) {
+ this.pNFName = pNFName;
+ }
+ @JsonProperty("PLMNID")
+ public String getPlmnid() {
+ return plmnid;
+ }
+ @JsonProperty("PLMNID")
+ public void setPlmnid(String plmnid) {
+ this.plmnid = plmnid;
+ }
+ @JsonProperty("CellID")
+ public String getCellID() {
+ return cellID;
+ }
+ @JsonProperty("CellID")
+ public void setCellID(String cellID) {
+ this.cellID = cellID;
+ }
+ @JsonProperty("neighbours")
+ public List<Neighbour> getNeighbours() {
+ return neighbours;
+ }
+ @JsonProperty("neighbours")
+ public void setNeighbours(List<Neighbour> neighbours) {
+ this.neighbours = neighbours;
+ }
+ @JsonAnyGetter
+ public Map<String, Object> getAdditionalProperties() {
+ return this.additionalProperties;
+ }
+ @JsonAnySetter
+ public void setAdditionalProperty(String name, Object value) {
+ this.additionalProperties.put(name, value);
+ }
+ @Override
+ public String toString() {
+ return "Payload [pNFName=" + pNFName + ", plmnid=" + plmnid + ", cellID=" + cellID + ", neighbours=" + neighbours
+ + "]";
+ }
} \ No newline at end of file