2 * ============LICENSE_START=======================================================
4 * ================================================================================
5 * Copyright (C) 2017-2018 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.policy.aai;
23 import com.google.gson.annotations.SerializedName;
24 import java.io.Serializable;
26 public class AaiNqGenericVnf implements Serializable {
28 private static final long serialVersionUID = 834322706248060560L;
30 @SerializedName("vnf-id")
33 @SerializedName("vnf-name")
34 private String vnfName;
36 @SerializedName("vnf-name2")
37 private String vnfName2;
39 @SerializedName("vnf-type")
40 private String vnfType;
42 @SerializedName("service-id")
43 private String serviceId;
45 @SerializedName("prov-status")
46 private String provStatus;
48 @SerializedName("operational-state")
49 private String operationalState;
51 @SerializedName("ipv4-oam-address")
52 private String ipv4OamAddress;
54 @SerializedName("ipv4-loopback0-address")
55 private String ipv4Loopback0Address;
57 @SerializedName("in-maint")
58 private Boolean inMaint;
60 @SerializedName("is-closed-loop-disabled")
61 private Boolean isClosedLoopDisabled;
63 @SerializedName("resource-version")
64 private String resourceVersion;
66 @SerializedName("encrypted-access-flag")
67 private Boolean encrypedAccessFlag;
69 @SerializedName("persona-model-id")
70 private String personaModelId;
72 @SerializedName("persona-model-version")
73 private String personaModelVersion;
75 @SerializedName("model-invariant-id")
76 private String modelInvariantId;
78 @SerializedName("model-version-id")
79 private String modelVersionId;
81 @SerializedName("model-customization-id")
82 private String modelCustomizationId = null;
84 public String getVnfId() {
88 public String getVnfName() {
92 public String getVnfName2() {
96 public String getVnfType() {
100 public String getServiceId() {
104 public String getProvStatus() {
108 public String getOperationalState() {
109 return operationalState;
112 public String getIpv4OamAddress() {
113 return ipv4OamAddress;
116 public String getIpv4Loopback0Address() {
117 return ipv4Loopback0Address;
120 public Boolean getInMaint() {
124 public Boolean getIsClosedLoopDisabled() {
125 return isClosedLoopDisabled;
128 public String getResourceVersion() {
129 return resourceVersion;
132 public Boolean getEncrypedAccessFlag() {
133 return encrypedAccessFlag;
136 public String getPersonaModelId() {
137 return personaModelId;
140 public String getPersonaModelVersion() {
141 return personaModelVersion;
144 public String getModelInvariantId() {
145 return modelInvariantId;
148 public String getModelVersionId() {
149 return modelVersionId;
152 public String getModelCustomizationId() {
153 return modelCustomizationId;
156 public void setVnfId(String vnfId) {
160 public void setVnfName(String vnfName) {
161 this.vnfName = vnfName;
164 public void setVnfName2(String vnfName2) {
165 this.vnfName2 = vnfName2;
168 public void setVnfType(String vnfType) {
169 this.vnfType = vnfType;
172 public void setServiceId(String serviceId) {
173 this.serviceId = serviceId;
176 public void setProvStatus(String provStatus) {
177 this.provStatus = provStatus;
180 public void setOperationalState(String operationalState) {
181 this.operationalState = operationalState;
184 public void setIpv4OamAddress(String ipv4OamAddress) {
185 this.ipv4OamAddress = ipv4OamAddress;
188 public void setIpv4Loopback0Address(String ipv4Loopback0Address) {
189 this.ipv4Loopback0Address = ipv4Loopback0Address;
192 public void setInMaint(Boolean inMaint) {
193 this.inMaint = inMaint;
196 public void setIsClosedLoopDisabled(Boolean isClosedLoopDisabled) {
197 this.isClosedLoopDisabled = isClosedLoopDisabled;
200 public void setResourceVersion(String resourceVersion) {
201 this.resourceVersion = resourceVersion;
204 public void setEncrypedAccessFlag(Boolean encrypedAccessFlag) {
205 this.encrypedAccessFlag = encrypedAccessFlag;
208 public void setPersonaModelId(String personaModelId) {
209 this.personaModelId = personaModelId;
212 public void setPersonaModelVersion(String personaModelVersion) {
213 this.personaModelVersion = personaModelVersion;
216 public void setModelInvariantId(String modelInvariantId) {
217 this.modelInvariantId = modelInvariantId;
220 public void setModelVersionId(String modelVersionId) {
221 this.modelVersionId = modelVersionId;
224 public void setModelCustomizationId(String modelCustomizationId) {
225 this.modelCustomizationId = modelCustomizationId;