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 AaiNqVfModule implements Serializable {
28 private static final long serialVersionUID = 8019133081429638232L;
30 @SerializedName("vf-module-id")
31 private String vfModuleId;
33 @SerializedName("vf-module-name")
34 private String vfModuleName;
36 @SerializedName("heat-stack-id")
37 private String heatStackId;
39 @SerializedName("orchestration-status")
40 private String orchestrationStatus;
42 @SerializedName("is-base-vf-module")
43 private Boolean isBaseVfModule;
45 @SerializedName("resource-version")
46 private String resourceVersion;
48 @SerializedName("persona-model-id")
49 private String personaModelId;
51 @SerializedName("persona-model-version")
52 private String personaModelVersion;
54 @SerializedName("widget-model-id")
55 private String widgetModelId;
57 @SerializedName("widget-model-version")
58 private String widgetModelVersion;
60 @SerializedName("contrail-service-instance-fqdn")
61 private String contrailServiceInstanceFqdn;
63 @SerializedName("model-invariant-id")
64 private String modelInvariantId;
66 @SerializedName("model-version-id")
67 private String modelVersionId;
69 @SerializedName("model-customization-id")
70 private String modelCustomizationId = null;
72 public String getVfModuleId() {
76 public String getVfModuleName() {
80 public String getHeatStackId() {
84 public String getOrchestrationStatus() {
85 return orchestrationStatus;
88 public Boolean getIsBaseVfModule() {
89 return isBaseVfModule;
92 public String getResourceVersion() {
93 return resourceVersion;
96 public String getPersonaModelId() {
97 return personaModelId;
100 public String getPersonaModelVersion() {
101 return personaModelVersion;
104 public String getWidgetModelId() {
105 return widgetModelId;
108 public String getWidgetModelVersion() {
109 return widgetModelVersion;
112 public String getContrailServiceInstanceFqdn() {
113 return contrailServiceInstanceFqdn;
116 public String getModelInvariantId() {
117 return modelInvariantId;
120 public String getModelVersionId() {
121 return modelVersionId;
124 public String getModelCustomizationId() {
125 return modelCustomizationId;
128 public void setVfModuleId(String vfModuleId) {
129 this.vfModuleId = vfModuleId;
132 public void setVfModuleName(String vfModuleName) {
133 this.vfModuleName = vfModuleName;
136 public void setHeatStackId(String heatStackId) {
137 this.heatStackId = heatStackId;
140 public void setOrchestrationStatus(String orchestrationStatus) {
141 this.orchestrationStatus = orchestrationStatus;
144 public void setIsBaseVfModule(Boolean isBaseVfModule) {
145 this.isBaseVfModule = isBaseVfModule;
148 public void setResourceVersion(String resourceVersion) {
149 this.resourceVersion = resourceVersion;
152 public void setPersonaModelId(String personaModelId) {
153 this.personaModelId = personaModelId;
156 public void setPersonaModelVersion(String personaModelVersion) {
157 this.personaModelVersion = personaModelVersion;
160 public void setWidgetModelId(String widgetModelId) {
161 this.widgetModelId = widgetModelId;
164 public void setWidgetModelVersion(String widgetModelVersion) {
165 this.widgetModelVersion = widgetModelVersion;
168 public void setContrailServiceInstanceFqdn(String contrailServiceInstanceFqdn) {
169 this.contrailServiceInstanceFqdn = contrailServiceInstanceFqdn;
172 public void setModelInvariantId(String modelInvariantId) {
173 this.modelInvariantId = modelInvariantId;
176 public void setModelVersionId(String modelVersionId) {
177 this.modelVersionId = modelVersionId;
180 public void setModelCustomizationId(String modelCustomizationId) {
181 this.modelCustomizationId = modelCustomizationId;