diff options
author | Leigh, Phillip (pl876u) <phillip.leigh@amdocs.com> | 2019-01-29 14:29:19 -0500 |
---|---|---|
committer | Leigh, Phillip (pl876u) <phillip.leigh@amdocs.com> | 2019-01-29 14:29:39 -0500 |
commit | 38489a615b44918d87a895560877387e18ca142e (patch) | |
tree | 9037105361871d44466873256b8a579dd7c067b1 | |
parent | 45aba588d7ae2cdaaaf1d561c7120d851e0a1c84 (diff) |
Update Pomba-Audit-Common to align w Yellow Model
Issue-ID: LOG-763
Change-Id: I3c72e6ba43d74e4f4f5ac36545cbcf8a9c601009
Signed-off-by: Leigh, Phillip (pl876u) <phillip.leigh@amdocs.com>
-rw-r--r-- | src/main/java/org/onap/pomba/common/datatypes/PInterface.java | 12 | ||||
-rw-r--r-- | src/main/java/org/onap/pomba/common/datatypes/Pserver.java | 12 |
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; - } - - } |