Change the header to SO
[so.git] / adapters / mso-adapters-rest-interface / src / main / java / org / openecomp / mso / adapters / vnfrest / UpdateVfModuleRequest.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 org.openecomp.mso.entity.MsoRequest;
25
26 import java.util.Map;
27 import java.util.HashMap;
28 import javax.xml.bind.annotation.XmlRootElement;
29 import org.jboss.resteasy.annotations.providers.NoJackson;
30 import org.codehaus.jackson.map.annotate.JsonRootName;
31
32 @JsonRootName("updateVfModuleRequest")
33 @XmlRootElement(name = "updateVfModuleRequest")
34 @NoJackson
35 public class UpdateVfModuleRequest extends VfRequestCommon {
36
37         private String cloudSiteId;
38         private String tenantId;
39
40         private String vnfId;
41         private String vnfType;
42         private String vnfVersion;
43
44         private String vfModuleName;
45         private String vfModuleType;
46         private String vfModuleId;
47         private String vfModuleStackId;
48
49         private String volumeGroupId;
50         private String volumeGroupStackId;
51
52         private String baseVfModuleId;
53         private String baseVfModuleStackId;
54
55         private String modelCustomizationUuid;
56
57         private String requestType;
58         private Boolean failIfExists;
59         private Boolean backout;
60
61         private Map<String,String> vfModuleParams = new HashMap<String, String>();
62         private MsoRequest msoRequest = new MsoRequest();
63
64         public String getCloudSiteId() {
65                 return cloudSiteId;
66         }
67
68         public void setCloudSiteId(String cloudSiteId) {
69                 this.cloudSiteId = cloudSiteId;
70         }
71
72         public String getTenantId() {
73                 return tenantId;
74         }
75
76         public void setTenantId(String tenantId) {
77                 this.tenantId = tenantId;
78         }
79
80         public String getVnfId() {
81                 return vnfId;
82         }
83
84         public void setVnfId(String vnfId) {
85                 this.vnfId = vnfId;
86         }
87
88         public String getVfModuleName() {
89                 return vfModuleName;
90         }
91
92         public void setVfModuleName(String vfModuleName) {
93                 this.vfModuleName = vfModuleName;
94         }
95
96         public String getVnfType() {
97                 return vnfType;
98         }
99
100         public void setVnfType(String vnfType) {
101                 this.vnfType = vnfType;
102         }
103
104         public String getVnfVersion() {
105                 return vnfVersion;
106         }
107
108         public void setVnfVersion(String vnfVersion) {
109                 this.vnfVersion = vnfVersion;
110         }
111
112         public String getVfModuleId() {
113                 return vfModuleId;
114         }
115
116         public void setVfModuleId(String vfModuleId) {
117                 this.vfModuleId = vfModuleId;
118         }
119
120         public String getVfModuleType() {
121                 return vfModuleType;
122         }
123
124         public void setVfModuleType(String vfModuleType) {
125                 this.vfModuleType = vfModuleType;
126         }
127
128         public String getVfModuleStackId() {
129                 return vfModuleStackId;
130         }
131
132         public void setVfModuleStackId(String vfModuleStackId) {
133                 this.vfModuleStackId = vfModuleStackId;
134         }
135
136         public String getVolumeGroupId() {
137                 return volumeGroupId;
138         }
139
140         public void setVolumeGroupId(String volumeGroupId) {
141                 this.volumeGroupId = volumeGroupId;
142         }
143
144         public String getVolumeGroupStackId() {
145                 return volumeGroupStackId;
146         }
147
148         public void setVolumeGroupStackId(String volumeGroupStackId) {
149                 this.volumeGroupStackId = volumeGroupStackId;
150         }
151
152         public String getBaseVfModuleId() {
153                 return baseVfModuleId;
154         }
155
156         public String getModelCustomizationUuid() {
157                 return this.modelCustomizationUuid;
158         }
159
160         public void setModelCustomizationUuid(String modelCustomizationUuid) {
161                 this.modelCustomizationUuid = modelCustomizationUuid;
162         }
163
164         public void setBaseVfModuleId(String baseVfModuleId) {
165                 this.baseVfModuleId = baseVfModuleId;
166         }
167
168         public String getBaseVfModuleStackId() {
169                 return baseVfModuleStackId;
170         }
171
172         public void setBaseVfModuleStackId(String baseVfModuleStackId) {
173                 this.baseVfModuleStackId = baseVfModuleStackId;
174         }
175
176         public String getRequestType() {
177                 return requestType;
178         }
179
180         public void setRequestType(String requestType) {
181                 this.requestType = requestType;
182         }
183
184         public Boolean getFailIfExists() {
185                 return failIfExists;
186         }
187
188         public void setFailIfExists(Boolean failIfExists) {
189                 this.failIfExists = failIfExists;
190         }
191
192         public Boolean getBackout() {
193                 return backout;
194         }
195
196         public void setBackout(Boolean backout) {
197                 this.backout = backout;
198         }
199
200         public Map<String, String> getVfModuleParams() {
201                 return vfModuleParams;
202         }
203
204         public void setVfModuleParams(Map<String, String> vfModuleParams) {
205                 this.vfModuleParams = vfModuleParams;
206         }
207
208         public MsoRequest getMsoRequest() {
209                 return msoRequest;
210         }
211
212         public void setMsoRequest(MsoRequest msoRequest) {
213                 this.msoRequest = msoRequest;
214         }
215 }