aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/main/java/org/onap/pomba/common/datatypes/PInterface.java12
-rw-r--r--src/main/java/org/onap/pomba/common/datatypes/Pserver.java12
2 files changed, 12 insertions, 12 deletions
diff --git a/src/main/java/org/onap/pomba/common/datatypes/PInterface.java b/src/main/java/org/onap/pomba/common/datatypes/PInterface.java
index 8b55aa5..99bc051 100644
--- a/src/main/java/org/onap/pomba/common/datatypes/PInterface.java
+++ b/src/main/java/org/onap/pomba/common/datatypes/PInterface.java
@@ -40,6 +40,9 @@ public class PInterface {
@SerializedName("physicalLinkList")
private List<PhysicalLink> physicalLinkList = new ArrayList<>();
@Expose
+ @SerializedName("logicalLinkList")
+ private List<LogicalLink> logicalLinkList = new ArrayList<>();
+ @Expose
@SerializedName("port")
private Port port;
@@ -79,6 +82,15 @@ public class PInterface {
this.physicalLinkList = physicalLinkList;
}
+ public List<LogicalLink> getLogicalLinkList() {
+ return logicalLinkList;
+ }
+
+ public void setLogicalLinkList(List<LogicalLink> logicalLinkList) {
+ this.logicalLinkList = logicalLinkList;
+ }
+
+
public Port getPort() {
return port;
}
diff --git a/src/main/java/org/onap/pomba/common/datatypes/Pserver.java b/src/main/java/org/onap/pomba/common/datatypes/Pserver.java
index ad04bad..6690444 100644
--- a/src/main/java/org/onap/pomba/common/datatypes/Pserver.java
+++ b/src/main/java/org/onap/pomba/common/datatypes/Pserver.java
@@ -39,9 +39,6 @@ public class Pserver {
@Expose
@SerializedName("pInterfaceList")
private List<PInterface> pInterfaceList = new ArrayList<>();
- @Expose
- @SerializedName("logicalLinkList")
- private List<LogicalLink> logicalLinkList = new ArrayList<>();
public String getName() {
return name;
@@ -77,13 +74,4 @@ public class Pserver {
this.pInterfaceList = pInterfaceList;
}
- public List<LogicalLink> getLogicalLinkList() {
- return logicalLinkList;
- }
-
- public void setLogicalLinkList(List<LogicalLink> logicalLinkList) {
- this.logicalLinkList = logicalLinkList;
- }
-
-
}