diff options
author | Benjamin, Max (mb388a) <mb388a@us.att.com> | 2018-03-22 09:41:55 -0400 |
---|---|---|
committer | Benjamin, Max (mb388a) <mb388a@us.att.com> | 2018-03-22 10:11:41 -0400 |
commit | 9b3c49e5f21c7957d91b4e303be61e418934d82d (patch) | |
tree | 9413f2acd15e3fbbff60ced7dfa0ff625e7931d3 /common/src/main/java | |
parent | 1aa30a4e9b698f51b89dcc16d3ed108f096ee327 (diff) |
added openpojo tests for sdno beans
Change-Id: I185fb4262347120ae94c6d41e0a8de4d47d1ea0f
Issue-ID: SO-517
Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
Diffstat (limited to 'common/src/main/java')
5 files changed, 18 insertions, 0 deletions
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<String, Object> 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<String, Object> 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<String, Object> 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<String, Object> 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<String, Object> map) { + this.additionalProperties = map; + } + public SDNO SDNO (String name, Object value) { this.additionalProperties.put(name, value); return this; |