aboutsummaryrefslogtreecommitdiffstats
path: root/vid-app-common/src/main/java/org/onap/vid/model/Service.java
diff options
context:
space:
mode:
Diffstat (limited to 'vid-app-common/src/main/java/org/onap/vid/model/Service.java')
-rw-r--r--vid-app-common/src/main/java/org/onap/vid/model/Service.java14
1 files changed, 13 insertions, 1 deletions
diff --git a/vid-app-common/src/main/java/org/onap/vid/model/Service.java b/vid-app-common/src/main/java/org/onap/vid/model/Service.java
index d00f58f04..27a52e6fb 100644
--- a/vid-app-common/src/main/java/org/onap/vid/model/Service.java
+++ b/vid-app-common/src/main/java/org/onap/vid/model/Service.java
@@ -20,6 +20,7 @@
package org.onap.vid.model;
+import com.fasterxml.jackson.annotation.JsonInclude;
import org.onap.vid.asdc.beans.tosca.Input;
import java.util.Map;
@@ -65,7 +66,9 @@ public class Service {
/** The inputs. */
private Map<String, Input> inputs;
-
+
+ private VidNotions vidNotions;
+
/**
* Gets the uuid.
*
@@ -265,4 +268,13 @@ public class Service {
public void setServiceRole(String serviceRole) {
this.serviceRole = serviceRole;
}
+
+ @JsonInclude(JsonInclude.Include.NON_NULL)
+ public VidNotions getVidNotions() {
+ return vidNotions;
+ }
+
+ public void setVidNotions(VidNotions vidNotions) {
+ this.vidNotions = vidNotions;
+ }
}