unit test for sfc-driver
[vfc/nfvo/driver/sfc.git] / zte / sfc-driver / sfc-driver / src / main / java / org / onap / sfc / entity / MsbRegisterEntity.java
index 3bef7d4..2946576 100644 (file)
 package org.onap.sfc.entity;
 
 import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
+import lombok.Data;
 
-import java.util.ArrayList;
 import java.util.List;
 
 @JsonIgnoreProperties(ignoreUnknown = true)
+@Data
 public class MsbRegisterEntity {
     private String serviceName;
     private String version;
@@ -28,52 +29,4 @@ public class MsbRegisterEntity {
     private String protocol;
     private String visualRange;
     private List<NodeEntity> nodes;
-
-    public String getServiceName() {
-        return serviceName;
-    }
-
-    public void setServiceName(String serviceName) {
-        this.serviceName = serviceName;
-    }
-
-    public String getVersion() {
-        return version;
-    }
-
-    public void setVersion(String version) {
-        this.version = version;
-    }
-
-    public String getUrl() {
-        return url;
-    }
-
-    public void setUrl(String url) {
-        this.url = url;
-    }
-
-    public String getProtocol() {
-        return protocol;
-    }
-
-    public void setProtocol(String protocol) {
-        this.protocol = protocol;
-    }
-
-    public String getVisualRange() {
-        return visualRange;
-    }
-
-    public void setVisualRange(String visualRange) {
-        this.visualRange = visualRange;
-    }
-
-    public List<NodeEntity> getNodes() {
-        return nodes;
-    }
-
-    public void setNodes(List<NodeEntity> nodes) {
-        this.nodes = nodes;
-    }
 }