2 * ============LICENSE_START=======================================================
4 * ================================================================================
5 * Copyright (C) 2017 - 2019 AT&T Intellectual Property. All rights reserved.
6 * ================================================================================
7 * Licensed under the Apache License, Version 2.0 (the "License");
8 * you may not use this file except in compliance with the License.
9 * You may obtain a copy of the License at
11 * http://www.apache.org/licenses/LICENSE-2.0
13 * Unless required by applicable law or agreed to in writing, software
14 * distributed under the License is distributed on an "AS IS" BASIS,
15 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 * See the License for the specific language governing permissions and
17 * limitations under the License.
18 * ============LICENSE_END=========================================================
21 package org.onap.vid.aai.model;
23 import com.fasterxml.jackson.annotation.JsonAnyGetter;
24 import com.fasterxml.jackson.annotation.JsonAnySetter;
25 import com.fasterxml.jackson.annotation.JsonProperty;
26 import java.util.HashMap;
29 public class Properties {
31 //properties for l-interface node-type
32 @JsonProperty("interface-name")
33 private String interfaceName;
35 @JsonProperty("interface-id")
36 private String interfaceId;
38 @JsonProperty("is-port-mirrored")
39 private Boolean isPortMirrored;
41 //properties for tenant node-type
42 @JsonProperty("tenant-id")
43 private String tenantId;
45 @JsonProperty("tenant-name")
46 private String tenantName;
48 //properties for cloud-region node-type
49 @JsonProperty("cloud-region-id")
50 private String cloudRegionId;
52 private Map<String, String> additionalProperties = new HashMap<>();
56 public String getInterfaceName() {
60 public void setInterfaceName(String interfaceName) {
61 this.interfaceName = interfaceName;
64 public String getInterfaceId() {
68 public void setInterfaceId(String interfaceId) {
69 this.interfaceId = interfaceId;
72 public Boolean getIsPortMirrored() {
73 return isPortMirrored;
76 public void setPortMirrored(Boolean portMirrored) {
77 isPortMirrored = portMirrored;
80 public String getTenantId() {
84 public void setTenantId(String tenantId) {
85 this.tenantId = tenantId;
88 public String getTenantName() {
92 public void setTenantName(String tenantName) {
93 this.tenantName = tenantName;
96 public String getCloudRegionId() {
100 public void setCloudRegionId(String cloudRegionId) {
101 this.cloudRegionId = cloudRegionId;
105 public Map<String, String> getAdditionalProperties() {
106 return additionalProperties;
110 public void setAdditionalProperties(String name, String value) {
111 additionalProperties.put(name, value);