Create seed code of svnfm vnfmdriver
[vfc/nfvo/driver/vnfm/svnfm.git] / nokia / vnfmdriver / vfcadaptorservice / vfcadaptor / src / main / java / com / nokia / vfcadaptor / cbam / bo / entity / VnfInfo.java
1
2 /*
3  * Copyright 2016-2017, Nokia Corporation
4  *
5  * Licensed under the Apache License, Version 2.0 (the "License");
6  * you may not use this file except in compliance with the License.
7  * You may obtain a copy of the License at
8  *
9  *     http://www.apache.org/licenses/LICENSE-2.0
10  *
11  * Unless required by applicable law or agreed to in writing, software
12  * distributed under the License is distributed on an "AS IS" BASIS,
13  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14  * See the License for the specific language governing permissions and
15  * limitations under the License.
16  */
17
18 package com.nokia.vfcadaptor.cbam.bo.entity;
19
20 import java.util.ArrayList;
21 import java.util.List;
22
23 import com.fasterxml.jackson.annotation.JsonProperty;
24 import com.nokia.vfcadaptor.constant.CommonEnum;
25
26 public class VnfInfo {
27         
28         @JsonProperty("id")
29         private String id;
30         
31         @JsonProperty("name")
32         private String name;
33         
34         @JsonProperty("description")
35         private String description;
36         
37         @JsonProperty("vnfdId")
38         private String vnfdId;
39         
40         @JsonProperty("vnfProvider")
41         private String vnfProvider;
42         
43         @JsonProperty("vnfProductName")
44         private String vnfProductName;
45         
46         @JsonProperty("vnfSoftwareVersion")
47         private String vnfSoftwareVersion;
48         
49         @JsonProperty("vnfdVersion")
50         private String vnfdVersion;
51         
52         @JsonProperty("onboardedVnfPkgInfoId")
53         private String onboardedVnfPkgInfoId;
54         
55         @JsonProperty("instantiationState")
56         private CommonEnum.InstantiationState instantiationState;
57         
58         @JsonProperty("operationExecution")
59         private List<OperationExecution> operationExecution=new ArrayList<OperationExecution>();
60         
61         @JsonProperty("instantiatedVnfInfo")
62         private InstantiatedVnfInfo instantiatedVnfInfo;
63         
64         @JsonProperty("vnfConfigurableProperties")
65         private List<VnfProperty> vnfConfigurableProperties=new ArrayList<VnfProperty>();
66         
67         @JsonProperty("extensions")
68         private List<VnfProperty> extensions=new ArrayList<VnfProperty>();
69         
70         @JsonProperty("metadata")
71         private Object metadata;
72         
73         @JsonProperty("link")
74         private _links link;//todo
75         
76
77         public String getId() {
78                 return id;
79         }
80
81         public void setId(String id) {
82                 this.id = id;
83         }
84
85         public String getName() {
86                 return name;
87         }
88
89         public void setName(String name) {
90                 this.name = name;
91         }
92
93         public String getDescription() {
94                 return description;
95         }
96
97         public void setDescription(String description) {
98                 this.description = description;
99         }
100
101         public String getVnfdId() {
102                 return vnfdId;
103         }
104
105         public void setVnfdId(String vnfdId) {
106                 this.vnfdId = vnfdId;
107         }
108
109         public String getVnfProvider() {
110                 return vnfProvider;
111         }
112
113         public void setVnfProvider(String vnfProvider) {
114                 this.vnfProvider = vnfProvider;
115         }
116
117         public String getVnfProductName() {
118                 return vnfProductName;
119         }
120
121         public void setVnfProductName(String vnfProductName) {
122                 this.vnfProductName = vnfProductName;
123         }
124
125         public String getVnfSoftwareVersion() {
126                 return vnfSoftwareVersion;
127         }
128
129         public void setVnfSoftwareVersion(String vnfSoftwareVersion) {
130                 this.vnfSoftwareVersion = vnfSoftwareVersion;
131         }
132
133         public String getVnfdVersion() {
134                 return vnfdVersion;
135         }
136
137         public void setVnfdVersion(String vnfdVersion) {
138                 this.vnfdVersion = vnfdVersion;
139         }
140
141         public String getOnboardedVnfPkgInfoId() {
142                 return onboardedVnfPkgInfoId;
143         }
144
145         public void setOnboardedVnfPkgInfoId(String onboardedVnfPkgInfoId) {
146                 this.onboardedVnfPkgInfoId = onboardedVnfPkgInfoId;
147         }
148
149
150
151         public CommonEnum.InstantiationState getInstantiationState() {
152                 return instantiationState;
153         }
154
155         public void setInstantiationState(CommonEnum.InstantiationState instantiationState) {
156                 this.instantiationState = instantiationState;
157         }
158
159         public List<OperationExecution> getOperationExecution() {
160                 return operationExecution;
161         }
162
163         public void setOperationExecution(List<OperationExecution> operationExecution) {
164                 this.operationExecution = operationExecution;
165         }
166
167         public InstantiatedVnfInfo getInstantiatedVnfInfo() {
168                 return instantiatedVnfInfo;
169         }
170
171         public void setInstantiatedVnfInfo(InstantiatedVnfInfo instantiatedVnfInfo) {
172                 this.instantiatedVnfInfo = instantiatedVnfInfo;
173         }
174
175         public List<VnfProperty> getVnfConfigurableProperties() {
176                 return vnfConfigurableProperties;
177         }
178
179         public void setVnfConfigurableProperties(List<VnfProperty> vnfConfigurableProperties) {
180                 this.vnfConfigurableProperties = vnfConfigurableProperties;
181         }
182
183         public List<VnfProperty> getExtensions() {
184                 return extensions;
185         }
186
187         public void setExtensions(List<VnfProperty> extensions) {
188                 this.extensions = extensions;
189         }
190
191         public Object getMetadata() {
192                 return metadata;
193         }
194
195         public void setMetadata(Object metadata) {
196                 this.metadata = metadata;
197         }
198
199         public _links getLink() {
200                 return link;
201         }
202
203         public void setLink(_links link) {
204                 this.link = link;
205         }
206
207         
208 }