aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/java/org/onap/dcaegen2/services/sonhms/model/A1Payload.java
diff options
context:
space:
mode:
authormalar <malarvizhi.44@wipro.com>2022-11-09 11:21:02 +0000
committerVijay Venkatesh Kumar <vv770d@att.com>2022-11-28 14:40:43 +0000
commitd9f2a362ba952bb28e8356b341a176a3a1d696f9 (patch)
tree9394910bb0e43a23e2cd82a80806a3c468d1b429 /src/main/java/org/onap/dcaegen2/services/sonhms/model/A1Payload.java
parent8445ea3ebf3d9cafdd280ee5eed225069d9b2c1b (diff)
Modify ANR Payload aligned to A1 schema in SDNRkohn
Issue-ID: DCAEGEN2-3311 Signed-off-by: Malarvizhi Paramasivam <malarvizhi.44@wipro.com> Change-Id: I809f59972b207b1a9e68f0a2339514b6c7761bb7 (cherry picked from commit 4949855dff35b340038bffc489b1e68f340cf5ce)
Diffstat (limited to 'src/main/java/org/onap/dcaegen2/services/sonhms/model/A1Payload.java')
-rw-r--r--src/main/java/org/onap/dcaegen2/services/sonhms/model/A1Payload.java56
1 files changed, 56 insertions, 0 deletions
diff --git a/src/main/java/org/onap/dcaegen2/services/sonhms/model/A1Payload.java b/src/main/java/org/onap/dcaegen2/services/sonhms/model/A1Payload.java
new file mode 100644
index 0000000..51764ae
--- /dev/null
+++ b/src/main/java/org/onap/dcaegen2/services/sonhms/model/A1Payload.java
@@ -0,0 +1,56 @@
+/*******************************************************************************
+ * ============LICENSE_START=======================================================
+ * son-handler
+ * ================================================================================
+ * Copyright (C) 2022 Wipro Limited.
+ * ==============================================================================
+ * 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.
+ * ============LICENSE_END=========================================================
+ *
+ *******************************************************************************/
+
+package org.onap.dcaegen2.services.sonhms.model;
+
+import com.fasterxml.jackson.annotation.JsonProperty;
+
+import java.util.List;
+
+public class A1Payload {
+
+ @JsonProperty("input")
+ private Input input;
+
+ public A1Payload() {
+
+ }
+
+ public A1Payload(Input input) {
+ super();
+ this.input = input;
+ }
+
+ public Input getInput() {
+ return input;
+ }
+
+ public void setInput(Input input) {
+ this.input = input;
+ }
+
+ @Override
+ public String toString() {
+ return "Payload [input=" + input + "]";
+
+ }
+
+}