6fecbed53f082b82d6b77cb20bf191968dac5c27
[vid.git] / vid-app-common / src / main / java / org / onap / vid / aai / model / Properties.java
1 package org.onap.vid.aai.model;
2
3 import org.codehaus.jackson.annotate.JsonIgnoreProperties;
4 import org.codehaus.jackson.annotate.JsonProperty;
5
6 @JsonIgnoreProperties(ignoreUnknown = true)
7 public class Properties {
8
9     private final String interfaceName;
10     private final String interfaceId;
11     private final Boolean isPortMirrored;
12
13     public Properties(
14             @JsonProperty("interface-name") String interfaceName,
15             @JsonProperty("interface-id") String interfaceId,
16             @JsonProperty("is-port-mirrored") Boolean isPortMirrored) {
17         this.interfaceName = interfaceName;
18         this.interfaceId = interfaceId;
19         this.isPortMirrored = isPortMirrored;
20     }
21
22     public String getInterfaceName() {
23         return interfaceName;
24     }
25
26     public String getInterfaceId() {
27         return interfaceId;
28     }
29
30     public Boolean getIsPortMirrored() {
31         return isPortMirrored;
32     }
33 }