Implement serviceType handling for E2E network slicing
[externalapi/nbi.git] / src / main / java / org / onap / nbi / apis / serviceorder / model / Service.java
index 6ecb77a..31802f2 100755 (executable)
@@ -57,6 +57,9 @@ import java.util.Objects;
 public class Service {
     @JsonProperty("id")
     private String id = null;
+    
+    @JsonProperty("serviceType")
+    private String servicetype = null;
 
     @JsonProperty("href")
     private String href = null;
@@ -104,6 +107,16 @@ public class Service {
     public void setId(String id) {
         this.id = id;
     }
+    
+    @JsonProperty("serviceType")
+    @ApiModelProperty(value = "Business type of the service") 
+    public String getServicetype() {
+               return servicetype;
+       }
+
+       public void setServicetype(String servicetype) {
+               this.servicetype = servicetype;
+       }
 
     public Service href(String href) {
         this.href = href;