1 package org.onap.vid.aai.model;
3 import com.fasterxml.jackson.annotation.JsonAnyGetter;
4 import com.fasterxml.jackson.annotation.JsonAnySetter;
5 import com.fasterxml.jackson.annotation.JsonProperty;
7 import java.util.HashMap;
10 public class Properties {
12 //properties for l-interface node-type
13 @JsonProperty("interface-name")
14 private String interfaceName;
16 @JsonProperty("interface-id")
17 private String interfaceId;
19 @JsonProperty("is-port-mirrored")
20 private Boolean isPortMirrored;
22 //properties for tenant node-type
23 @JsonProperty("tenant-id")
24 private String tenantId;
26 @JsonProperty("tenant-name")
27 private String tenantName;
29 //properties for cloud-region node-type
30 @JsonProperty("cloud-region-id")
31 private String cloudRegionId;
33 private Map<String, String> additionalProperties = new HashMap<>();
37 public String getInterfaceName() {
41 public String getInterfaceId() {
45 public Boolean getIsPortMirrored() {
46 return isPortMirrored;
49 public String getTenantId() {
53 public void setTenantId(String tenantId) {
54 this.tenantId = tenantId;
57 public String getTenantName() {
61 public void setTenantName(String tenantName) {
62 this.tenantName = tenantName;
65 public String getCloudRegionId() {
69 public void setCloudRegionId(String cloudRegionId) {
70 this.cloudRegionId = cloudRegionId;
74 public Map<String, String> getAdditionalProperties() {
75 return additionalProperties;
79 public void setAdditionalProperties(String name, String value) {
80 additionalProperties.put(name, value);