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.*;
25 import java.util.HashMap;
28 @JsonInclude(JsonInclude.Include.NON_NULL)
29 @JsonIgnoreProperties(ignoreUnknown = true)
38 public class PnfProperties {
40 public String pnfName;
41 public String equipType;
42 public String equipVendor;
43 public String equipModel;
44 public Boolean inMaint;
45 public String resourceVersion;
48 private Map<String, Object> additionalProperties = new HashMap<>();
51 public Map<String, Object> getAdditionalProperties() {
52 return this.additionalProperties;
56 public void setAdditionalProperty(String name, Object value) {
57 this.additionalProperties.put(name, value);
60 @JsonProperty("pnf-name")
61 public void setJsonPnfName(String pnfName) {
62 this.pnfName = pnfName;
65 @JsonProperty("equip-type")
66 public void setJsonEquipType(String equipType) {
67 this.equipType = equipType;
70 @JsonProperty("equip-vendor")
71 public void setJsonEquipVendor(String equipVendor) {
72 this.equipVendor = equipVendor;
75 @JsonProperty("equip-model")
76 public void setJsonEquipModel(String equipModel) {
77 this.equipModel = equipModel;
80 @JsonProperty("in-maint")
81 public void setJsonInMaint(Boolean inMaint) {
82 this.inMaint = inMaint;
85 @JsonProperty("resource-version")
86 public void setJsonResourceVersion(String resourceVersion) {
87 this.resourceVersion = resourceVersion;