Openstack adapter can't resolve HEAT parameter
[so.git] / adapters / mso-adapters-rest-interface / src / main / java / org / onap / so / adapters / vnfrest / UpdateVolumeGroupRequest.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.adapters.vnfrest;
22
23
24 import java.util.HashMap;
25 import java.util.Map;
26
27 import javax.xml.bind.annotation.XmlAccessType;
28 import javax.xml.bind.annotation.XmlAccessorType;
29 import javax.xml.bind.annotation.XmlRootElement;
30 import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
31
32 import org.onap.so.entity.MsoRequest;
33 import org.onap.so.openstack.mappers.MapAdapter;
34
35 import com.fasterxml.jackson.annotation.JsonRootName;
36
37 @JsonRootName("updateVolumeGroupRequest")
38 @XmlRootElement(name = "updateVolumeGroupRequest")
39 @XmlAccessorType(XmlAccessType.FIELD)
40 public class UpdateVolumeGroupRequest extends VfRequestCommon {
41         private String cloudSiteId;
42         private String tenantId;
43         private String volumeGroupId;
44         private String volumeGroupStackId;
45         private String vnfType;
46         private String vnfVersion;
47         private String vfModuleType;
48         private String modelCustomizationUuid;
49         @XmlJavaTypeAdapter(MapAdapter.class)
50         private Map<String,Object> volumeGroupParams = new HashMap<>();
51         private MsoRequest msoRequest = new MsoRequest();
52
53         public UpdateVolumeGroupRequest() {
54                 super();
55         }
56
57         public String getCloudSiteId() {
58                 return cloudSiteId;
59         }
60
61         public void setCloudSiteId(String cloudSiteId) {
62                 this.cloudSiteId = cloudSiteId;
63         }
64
65         public String getTenantId() {
66                 return tenantId;
67         }
68
69         public void setTenantId(String tenantId) {
70                 this.tenantId = tenantId;
71         }
72
73         public String getVolumeGroupId() {
74                 return volumeGroupId;
75         }
76
77         public void setVolumeGroupId(String volumeGroupId) {
78                 this.volumeGroupId = volumeGroupId;
79         }
80
81         public String getVolumeGroupStackId() {
82                 return volumeGroupStackId;
83         }
84
85         public void setVolumeGroupStackId(String volumeGroupStackId) {
86                 this.volumeGroupStackId = volumeGroupStackId;
87         }
88
89         public String getVnfType() {
90                 return vnfType;
91         }
92
93         public void setVnfType(String vnfType) {
94                 this.vnfType = vnfType;
95         }
96
97         public String getVnfVersion() {
98                 return vnfVersion;
99         }
100
101         public void setVnfVersion(String vnfVersion) {
102                 this.vnfVersion = vnfVersion;
103         }
104
105         public String getVfModuleType() {
106                 return vfModuleType;
107         }
108
109         public void setVfModuleType(String vfModuleType) {
110                 this.vfModuleType = vfModuleType;
111         }
112
113         public String getModelCustomizationUuid() {
114                 return this.modelCustomizationUuid;
115         }
116
117         public void setModelCustomizationUuid(String modelCustomizationUuid) {
118                 this.modelCustomizationUuid = modelCustomizationUuid;
119         }
120
121         public Map<String, Object> getVolumeGroupParams() {
122                 return volumeGroupParams;
123         }
124
125         public void setVolumeGroupParams(Map<String, Object> volumeGroupParams) {
126                 this.volumeGroupParams = volumeGroupParams;
127         }
128
129         public MsoRequest getMsoRequest() {
130                 return msoRequest;
131         }
132
133         public void setMsoRequest(MsoRequest msoRequest) {
134                 this.msoRequest = msoRequest;
135         }
136 }