diff options
Diffstat (limited to 'zte/sfc-driver/sfc-driver/src/main/java/org/onap/sfc/entity/PortChainReq4S.java')
-rw-r--r-- | zte/sfc-driver/sfc-driver/src/main/java/org/onap/sfc/entity/PortChainReq4S.java | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/zte/sfc-driver/sfc-driver/src/main/java/org/onap/sfc/entity/PortChainReq4S.java b/zte/sfc-driver/sfc-driver/src/main/java/org/onap/sfc/entity/PortChainReq4S.java index 8b40b27..fe880dc 100644 --- a/zte/sfc-driver/sfc-driver/src/main/java/org/onap/sfc/entity/PortChainReq4S.java +++ b/zte/sfc-driver/sfc-driver/src/main/java/org/onap/sfc/entity/PortChainReq4S.java @@ -17,18 +17,19 @@ package org.onap.sfc.entity; import com.google.gson.annotations.SerializedName; -import java.util.ArrayList; +import java.util.List; public class PortChainReq4S { - public ArrayList<PortChainReq> getPortChainReqs() { + @SerializedName("port-chain") + List<PortChainReq> portChainReqs; + + public List<PortChainReq> getPortChainReqs() { return portChainReqs; } - public void setPortChainReqs(ArrayList<PortChainReq> portChainReqs) { + public void setPortChainReqs(List<PortChainReq> portChainReqs) { this.portChainReqs = portChainReqs; } - @SerializedName("port-chain") - ArrayList<PortChainReq> portChainReqs; } |