Initial OpenECOMP MSO commit
[so.git] / adapters / mso-adapters-rest-interface / src / main / java / org / openecomp / mso / adapters / vnfrest / UpdateVolumeGroupRequest.java
1 /*-
2  * ============LICENSE_START=======================================================
3  * OPENECOMP - MSO
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.codehaus.jackson.map.annotate.JsonRootName;
30 import org.jboss.resteasy.annotations.providers.NoJackson;
31
32 import org.openecomp.mso.entity.MsoRequest;
33
34 @JsonRootName("updateVolumeGroupRequest")
35 @XmlRootElement(name = "updateVolumeGroupRequest")
36 @NoJackson
37 public class UpdateVolumeGroupRequest extends VfRequestCommon {
38         private String cloudSiteId;
39         private String tenantId;
40         private String volumeGroupId;
41         private String volumeGroupStackId;
42         private String vnfType;
43         private String vnfVersion;
44         private String vfModuleType;
45         private Map<String,String> volumeGroupParams = new HashMap<String, String>();
46         private MsoRequest msoRequest = new MsoRequest();
47
48         public UpdateVolumeGroupRequest() {
49                 super();
50         }
51
52         public String getCloudSiteId() {
53                 return cloudSiteId;
54         }
55
56         public void setCloudSiteId(String cloudSiteId) {
57                 this.cloudSiteId = cloudSiteId;
58         }
59
60         public String getTenantId() {
61                 return tenantId;
62         }
63
64         public void setTenantId(String tenantId) {
65                 this.tenantId = tenantId;
66         }
67
68         public String getVolumeGroupId() {
69                 return volumeGroupId;
70         }
71
72         public void setVolumeGroupId(String volumeGroupId) {
73                 this.volumeGroupId = volumeGroupId;
74         }
75
76         public String getVolumeGroupStackId() {
77                 return volumeGroupStackId;
78         }
79
80         public void setVolumeGroupStackId(String volumeGroupStackId) {
81                 this.volumeGroupStackId = volumeGroupStackId;
82         }
83
84         public String getVnfType() {
85                 return vnfType;
86         }
87
88         public void setVnfType(String vnfType) {
89                 this.vnfType = vnfType;
90         }
91
92         public String getVnfVersion() {
93                 return vnfVersion;
94         }
95
96         public void setVnfVersion(String vnfVersion) {
97                 this.vnfVersion = vnfVersion;
98         }
99
100         public String getVfModuleType() {
101                 return vfModuleType;
102         }
103
104         public void setVfModuleType(String vfModuleType) {
105                 this.vfModuleType = vfModuleType;
106         }
107
108         public Map<String, String> getVolumeGroupParams() {
109                 return volumeGroupParams;
110         }
111
112         public void setVolumeGroupParams(Map<String, String> volumeGroupParams) {
113                 this.volumeGroupParams = volumeGroupParams;
114         }
115
116         public MsoRequest getMsoRequest() {
117                 return msoRequest;
118         }
119
120         public void setMsoRequest(MsoRequest msoRequest) {
121                 this.msoRequest = msoRequest;
122         }
123 }