aboutsummaryrefslogtreecommitdiffstats
path: root/vid-app-common/src/main/java/org/onap/vid/aai/model/AaiGetNetworkCollectionDetails/Vlan.java
diff options
context:
space:
mode:
Diffstat (limited to 'vid-app-common/src/main/java/org/onap/vid/aai/model/AaiGetNetworkCollectionDetails/Vlan.java')
-rw-r--r--vid-app-common/src/main/java/org/onap/vid/aai/model/AaiGetNetworkCollectionDetails/Vlan.java41
1 files changed, 41 insertions, 0 deletions
diff --git a/vid-app-common/src/main/java/org/onap/vid/aai/model/AaiGetNetworkCollectionDetails/Vlan.java b/vid-app-common/src/main/java/org/onap/vid/aai/model/AaiGetNetworkCollectionDetails/Vlan.java
new file mode 100644
index 000000000..a18464850
--- /dev/null
+++ b/vid-app-common/src/main/java/org/onap/vid/aai/model/AaiGetNetworkCollectionDetails/Vlan.java
@@ -0,0 +1,41 @@
+package org.onap.vid.aai.model.AaiGetNetworkCollectionDetails;
+
+import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
+import com.fasterxml.jackson.annotation.JsonProperty;
+import org.onap.vid.aai.model.interfaces.AaiModelWithRelationships;
+
+@JsonIgnoreProperties(ignoreUnknown = true)
+public class Vlan implements AaiModelWithRelationships {
+
+ public Vlan(
+ @JsonProperty("vlan-interface") String vlanInterface,
+ @JsonProperty("vlan-id-inner") String vlanIdInner,
+ @JsonProperty("relationship-list") RelationshipList relationshipList) {
+ this.vlanInterface = vlanInterface;
+ this.vlanIdInner = vlanIdInner;
+ this.relationshipList = relationshipList;
+ }
+
+ @JsonProperty("vlan-interface")
+ private final String vlanInterface;
+
+ @JsonProperty("vlan-id-inner")
+ private final String vlanIdInner;
+
+ @JsonProperty("relationship-list")
+ public final RelationshipList relationshipList;
+
+ public String getVlanInterface() {
+ return vlanInterface;
+ }
+
+ public String getVlanIdInner() {
+ return vlanIdInner;
+ }
+
+ @Override
+ public RelationshipList getRelationshipList() {
+ return relationshipList;
+ }
+
+}