2 * Copyright 2018 ZTE Corporation.
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
8 * http://www.apache.org/licenses/LICENSE-2.0
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
16 package org.onap.aai.esr.entity.aai;
18 import java.io.Serializable;
19 import com.google.gson.annotations.SerializedName;
21 public class Pnf implements Serializable{
23 public static final long serialVersionUID = 1L;
25 @SerializedName("pnf-name")
26 private String pnfName;
28 @SerializedName("pnf-name2")
29 private String pnfName2;
31 @SerializedName("pnf-id")
34 @SerializedName("equip-type")
35 private String equipType;
37 @SerializedName("equip-vendor")
38 private String equipVendor;
40 @SerializedName("equip-model")
41 private String equipModel;
43 @SerializedName("management-option")
44 private String managementOption;
46 @SerializedName("in-maint")
47 private boolean inMaint = false;
49 @SerializedName("frame-id")
50 private String frameId;
52 @SerializedName("resource-version")
53 private String resourceVersion;
55 public String getPnfName() {
59 public void setPnfName(String pnfName) {
60 this.pnfName = pnfName;
63 public String getPnfName2() {
67 public void setPnfName2(String pnfName2) {
68 this.pnfName2 = pnfName2;
71 public String getPnfId() {
75 public void setPnfId(String pnfId) {
79 public String getEquipType() {
83 public void setEquipType(String equipType) {
84 this.equipType = equipType;
87 public String getEquipVendor() {
91 public void setEquipVendor(String equipVendor) {
92 this.equipVendor = equipVendor;
95 public String getEquipModel() {
99 public void setEquipModel(String equipModel) {
100 this.equipModel = equipModel;
103 public String getManagementOption() {
104 return managementOption;
107 public void setManagementOption(String managementOption) {
108 this.managementOption = managementOption;
111 public boolean isInMaint() {
115 public void setInMaint(boolean inMaint) {
116 this.inMaint = inMaint;
119 public String getFrameId() {
123 public void setFrameId(String frameId) {
124 this.frameId = frameId;
127 public String getResourceVersion() {
128 return resourceVersion;
131 public void setResourceVersion(String resourceVersion) {
132 this.resourceVersion = resourceVersion;