From 9b3c49e5f21c7957d91b4e303be61e418934d82d Mon Sep 17 00:00:00 2001 From: "Benjamin, Max (mb388a)" Date: Thu, 22 Mar 2018 09:41:55 -0400 Subject: added openpojo tests for sdno beans Change-Id: I185fb4262347120ae94c6d41e0a8de4d47d1ea0f Issue-ID: SO-517 Signed-off-by: Benjamin, Max (mb388a) --- common/src/main/java/org/openecomp/mso/client/sdno/beans/Body.java | 3 +++ common/src/main/java/org/openecomp/mso/client/sdno/beans/Input.java | 4 ++++ .../org/openecomp/mso/client/sdno/beans/RequestHealthDiagnostic.java | 4 ++++ .../src/main/java/org/openecomp/mso/client/sdno/beans/ResultInfo.java | 3 +++ common/src/main/java/org/openecomp/mso/client/sdno/beans/SDNO.java | 4 ++++ 5 files changed, 18 insertions(+) (limited to 'common/src/main/java/org/openecomp') diff --git a/common/src/main/java/org/openecomp/mso/client/sdno/beans/Body.java b/common/src/main/java/org/openecomp/mso/client/sdno/beans/Body.java index 26c74b0615..0898f3ca36 100644 --- a/common/src/main/java/org/openecomp/mso/client/sdno/beans/Body.java +++ b/common/src/main/java/org/openecomp/mso/client/sdno/beans/Body.java @@ -68,6 +68,9 @@ public class Body implements Serializable public void setAdditionalProperty(String name, Object value) { this.additionalProperties.put(name, value); } + public void setAdditionalProperties(Map map) { + this.additionalProperties = map; + } public Body withAdditionalProperty(String name, Object value) { this.additionalProperties.put(name, value); diff --git a/common/src/main/java/org/openecomp/mso/client/sdno/beans/Input.java b/common/src/main/java/org/openecomp/mso/client/sdno/beans/Input.java index 157330a280..9626ff06b4 100644 --- a/common/src/main/java/org/openecomp/mso/client/sdno/beans/Input.java +++ b/common/src/main/java/org/openecomp/mso/client/sdno/beans/Input.java @@ -82,6 +82,10 @@ public class Input implements Serializable public void setAdditionalProperty(String name, Object value) { this.additionalProperties.put(name, value); } + + public void setAdditionalProperties(Map map) { + this.additionalProperties = map; + } public Input withAdditionalProperty(String name, Object value) { this.additionalProperties.put(name, value); diff --git a/common/src/main/java/org/openecomp/mso/client/sdno/beans/RequestHealthDiagnostic.java b/common/src/main/java/org/openecomp/mso/client/sdno/beans/RequestHealthDiagnostic.java index 2cddd0331e..5ff47fa4be 100644 --- a/common/src/main/java/org/openecomp/mso/client/sdno/beans/RequestHealthDiagnostic.java +++ b/common/src/main/java/org/openecomp/mso/client/sdno/beans/RequestHealthDiagnostic.java @@ -176,6 +176,10 @@ public class RequestHealthDiagnostic implements Serializable public void setAdditionalProperty(String name, Object value) { this.additionalProperties.put(name, value); } + + public void setAdditionalProperties(Map map) { + this.additionalProperties = map; + } public RequestHealthDiagnostic withAdditionalProperty(String name, Object value) { this.additionalProperties.put(name, value); diff --git a/common/src/main/java/org/openecomp/mso/client/sdno/beans/ResultInfo.java b/common/src/main/java/org/openecomp/mso/client/sdno/beans/ResultInfo.java index 976f5b9a33..1fdc9b2484 100644 --- a/common/src/main/java/org/openecomp/mso/client/sdno/beans/ResultInfo.java +++ b/common/src/main/java/org/openecomp/mso/client/sdno/beans/ResultInfo.java @@ -113,4 +113,7 @@ public void setAdditionalProperty(String name, Object value) { this.additionalProperties.put(name, value); } +public void setAdditionalProperties(Map map) { +this.additionalProperties = map; +} } diff --git a/common/src/main/java/org/openecomp/mso/client/sdno/beans/SDNO.java b/common/src/main/java/org/openecomp/mso/client/sdno/beans/SDNO.java index 8505ec9a74..fa3a26a9ef 100644 --- a/common/src/main/java/org/openecomp/mso/client/sdno/beans/SDNO.java +++ b/common/src/main/java/org/openecomp/mso/client/sdno/beans/SDNO.java @@ -123,6 +123,10 @@ public class SDNO implements Serializable this.additionalProperties.put(name, value); } + public void setAdditionalProperties(Map map) { + this.additionalProperties = map; + } + public SDNO SDNO (String name, Object value) { this.additionalProperties.put(name, value); return this; -- cgit 1.2.3-korg