Merge "Initial commit of validation framework to APIH"
[so.git] / mso-catalog-db / src / main / java / org / onap / so / rest / catalog / beans / Vnf.java
1 /*-
2  * ============LICENSE_START=======================================================
3  * ONAP - SO
4  * ================================================================================
5  * Copyright (C) 2017 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
10  * 
11  *      http://www.apache.org/licenses/LICENSE-2.0
12  * 
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=========================================================
19  */
20
21 package org.onap.so.rest.catalog.beans;
22
23 import java.io.Serializable;
24 import java.util.ArrayList;
25 import java.util.List;
26 import com.fasterxml.jackson.annotation.JsonInclude;
27 import com.fasterxml.jackson.annotation.JsonInclude.Include;
28
29 @JsonInclude(Include.NON_DEFAULT)
30 public class Vnf implements Serializable {
31
32     /**
33      * 
34      */
35     private static final long serialVersionUID = 2956199674955504834L;
36
37     private String modelName;
38     private String modelVersionId;
39     private String modelInvariantId;
40     private String modelVersion;
41     private String modelCustomizationId;
42     private String modelInstanceName;
43     private Integer minInstances;
44     private Integer maxInstances;
45     private Integer availabilityZoneMaxCount;
46     private String toscaNodeType;
47     private String nfFunction;
48     private String nfRole;
49     private String nfNamingCode;
50     private String nfType;
51     private String multiStageDesign;
52     private String orchestrationMode;
53     private String cloudVersionMin;
54     private String cloudVersionMax;
55     private String category;
56     private String subCategory;
57     private Boolean nfDataValid;
58     private List<VfModule> vfModule = new ArrayList<>();
59
60     public List<VfModule> getVfModule() {
61         return vfModule;
62     }
63
64     public void setVfModule(List<VfModule> vfModule) {
65         this.vfModule = vfModule;
66     }
67
68     public Integer getAvailabilityZoneMaxCount() {
69         return availabilityZoneMaxCount;
70     }
71
72     public void setAvailabilityZoneMaxCount(Integer availabilityZoneMaxCount) {
73         this.availabilityZoneMaxCount = availabilityZoneMaxCount;
74     }
75
76     public Integer getMinInstances() {
77         return minInstances;
78     }
79
80     public void setMinInstances(Integer minInstances) {
81         this.minInstances = minInstances;
82     }
83
84     public Integer getMaxInstances() {
85         return maxInstances;
86     }
87
88     public void setMaxInstances(Integer maxInstances) {
89         this.maxInstances = maxInstances;
90     }
91
92     public String getCloudVersionMin() {
93         return cloudVersionMin;
94     }
95
96     public void setCloudVersionMin(String cloudVersionMin) {
97         this.cloudVersionMin = cloudVersionMin;
98     }
99
100     public String getCloudVersionMax() {
101         return cloudVersionMax;
102     }
103
104     public void setCloudVersionMax(String cloudVersionMax) {
105         this.cloudVersionMax = cloudVersionMax;
106     }
107
108     public String getModelVersionId() {
109         return modelVersionId;
110     }
111
112     public void setModelVersionId(String modelVersionId) {
113         this.modelVersionId = modelVersionId;
114     }
115
116     public String getModelInvariantId() {
117         return modelInvariantId;
118     }
119
120     public void setModelInvariantId(String modelInvariantId) {
121         this.modelInvariantId = modelInvariantId;
122     }
123
124     public String getModelCustomizationId() {
125         return modelCustomizationId;
126     }
127
128     public void setModelCustomizationId(String modelCustomizationId) {
129         this.modelCustomizationId = modelCustomizationId;
130     }
131
132     public String getCategory() {
133         return category;
134     }
135
136     public void setCategory(String category) {
137         this.category = category;
138     }
139
140     public String getSubCategory() {
141         return subCategory;
142     }
143
144     public void setSubCategory(String subCategory) {
145         this.subCategory = subCategory;
146     }
147
148     public String getOrchestrationMode() {
149         return orchestrationMode;
150     }
151
152     public void setOrchestrationMode(String orchestrationMode) {
153         this.orchestrationMode = orchestrationMode;
154     }
155
156     public String getModelName() {
157         return modelName;
158     }
159
160     public void setModelName(String modelName) {
161         this.modelName = modelName;
162     }
163
164     public String getModelVersion() {
165         return modelVersion;
166     }
167
168     public void setModelVersion(String modelVersion) {
169         this.modelVersion = modelVersion;
170     }
171
172
173     public String getModelInstanceName() {
174         return modelInstanceName;
175     }
176
177     public void setModelInstanceName(String modelInstanceName) {
178         this.modelInstanceName = modelInstanceName;
179     }
180
181     public String getToscaNodeType() {
182         return toscaNodeType;
183     }
184
185     public void setToscaNodeType(String toscaNodeType) {
186         this.toscaNodeType = toscaNodeType;
187     }
188
189     public String getNfFunction() {
190         return nfFunction;
191     }
192
193     public void setNfFunction(String nfFunction) {
194         this.nfFunction = nfFunction;
195     }
196
197     public String getNfRole() {
198         return nfRole;
199     }
200
201     public void setNfRole(String nfRole) {
202         this.nfRole = nfRole;
203     }
204
205     public String getNfNamingCode() {
206         return nfNamingCode;
207     }
208
209     public void setNfNamingCode(String nfNamingCode) {
210         this.nfNamingCode = nfNamingCode;
211     }
212
213     public String getMultiStageDesign() {
214         return multiStageDesign;
215     }
216
217     public void setMultiStageDesign(String multiStepDesign) {
218         this.multiStageDesign = multiStepDesign;
219     }
220
221     public String getNfType() {
222         return nfType;
223     }
224
225     public void setNfType(String nfType) {
226         this.nfType = nfType;
227     }
228
229     public Boolean getNfDataValid() {
230         return nfDataValid;
231     }
232
233     public void setNfDataValid(Boolean nfDataValid) {
234         this.nfDataValid = nfDataValid;
235     }
236
237 }