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