2 * ============LICENSE_START=======================================================
4 * ================================================================================
5 * Copyright (C) 2017-2019 AT&T Intellectual Property. All rights reserved.
6 * Modifications Copyright (C) 2019 Nordix Foundation.
7 * ================================================================================
8 * Licensed under the Apache License, Version 2.0 (the "License");
9 * you may not use this file except in compliance with the License.
10 * You may obtain a copy of the License at
12 * http://www.apache.org/licenses/LICENSE-2.0
14 * Unless required by applicable law or agreed to in writing, software
15 * distributed under the License is distributed on an "AS IS" BASIS,
16 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17 * See the License for the specific language governing permissions and
18 * limitations under the License.
19 * ============LICENSE_END=========================================================
22 package org.onap.policy.aai;
24 import com.google.gson.annotations.SerializedName;
25 import java.io.Serializable;
27 public class AaiNqGenericVnf implements Serializable {
29 private static final long serialVersionUID = 834322706248060560L;
31 @SerializedName("vnf-id")
34 @SerializedName("vnf-name")
35 private String vnfName;
37 @SerializedName("vnf-name2")
38 private String vnfName2;
40 @SerializedName("vnf-type")
41 private String vnfType;
43 @SerializedName("service-id")
44 private String serviceId;
46 @SerializedName("prov-status")
47 private String provStatus;
49 @SerializedName("operational-state")
50 private String operationalState;
52 @SerializedName("ipv4-oam-address")
53 private String ipv4OamAddress;
55 @SerializedName("ipv4-loopback0-address")
56 private String ipv4Loopback0Address;
58 @SerializedName("in-maint")
59 private Boolean inMaint;
61 @SerializedName("is-closed-loop-disabled")
62 private Boolean isClosedLoopDisabled;
64 @SerializedName("resource-version")
65 private String resourceVersion;
67 @SerializedName("encrypted-access-flag")
68 private Boolean encrypedAccessFlag;
70 @SerializedName("persona-model-id")
71 private String personaModelId;
73 @SerializedName("persona-model-version")
74 private String personaModelVersion;
76 @SerializedName("model-invariant-id")
77 private String modelInvariantId;
79 @SerializedName("model-version-id")
80 private String modelVersionId;
82 @SerializedName("model-customization-id")
83 private String modelCustomizationId = null;
85 public String getVnfId() {
89 public String getVnfName() {
93 public String getVnfName2() {
97 public String getVnfType() {
101 public String getServiceId() {
105 public String getProvStatus() {
109 public String getOperationalState() {
110 return operationalState;
113 public String getIpv4OamAddress() {
114 return ipv4OamAddress;
117 public String getIpv4Loopback0Address() {
118 return ipv4Loopback0Address;
121 public Boolean getInMaint() {
125 public Boolean getIsClosedLoopDisabled() {
126 return isClosedLoopDisabled;
129 public String getResourceVersion() {
130 return resourceVersion;
133 public Boolean getEncrypedAccessFlag() {
134 return encrypedAccessFlag;
137 public String getPersonaModelId() {
138 return personaModelId;
141 public String getPersonaModelVersion() {
142 return personaModelVersion;
145 public String getModelInvariantId() {
146 return modelInvariantId;
149 public String getModelVersionId() {
150 return modelVersionId;
153 public String getModelCustomizationId() {
154 return modelCustomizationId;
157 public void setVnfId(String vnfId) {
161 public void setVnfName(String vnfName) {
162 this.vnfName = vnfName;
165 public void setVnfName2(String vnfName2) {
166 this.vnfName2 = vnfName2;
169 public void setVnfType(String vnfType) {
170 this.vnfType = vnfType;
173 public void setServiceId(String serviceId) {
174 this.serviceId = serviceId;
177 public void setProvStatus(String provStatus) {
178 this.provStatus = provStatus;
181 public void setOperationalState(String operationalState) {
182 this.operationalState = operationalState;
185 public void setIpv4OamAddress(String ipv4OamAddress) {
186 this.ipv4OamAddress = ipv4OamAddress;
189 public void setIpv4Loopback0Address(String ipv4Loopback0Address) {
190 this.ipv4Loopback0Address = ipv4Loopback0Address;
193 public void setInMaint(Boolean inMaint) {
194 this.inMaint = inMaint;
197 public void setIsClosedLoopDisabled(Boolean isClosedLoopDisabled) {
198 this.isClosedLoopDisabled = isClosedLoopDisabled;
201 public void setResourceVersion(String resourceVersion) {
202 this.resourceVersion = resourceVersion;
205 public void setEncrypedAccessFlag(Boolean encrypedAccessFlag) {
206 this.encrypedAccessFlag = encrypedAccessFlag;
209 public void setPersonaModelId(String personaModelId) {
210 this.personaModelId = personaModelId;
213 public void setPersonaModelVersion(String personaModelVersion) {
214 this.personaModelVersion = personaModelVersion;
217 public void setModelInvariantId(String modelInvariantId) {
218 this.modelInvariantId = modelInvariantId;
221 public void setModelVersionId(String modelVersionId) {
222 this.modelVersionId = modelVersionId;
225 public void setModelCustomizationId(String modelCustomizationId) {
226 this.modelCustomizationId = modelCustomizationId;