Initial OpenECOMP MSO commit
[so.git] / adapters / mso-adapters-rest-interface / src / main / java / org / openecomp / mso / adapters / vnfrest / UpdateVfModuleRequest.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 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 requestType;
56         private Boolean failIfExists;
57         private Boolean backout;
58
59         private Map<String,String> vfModuleParams = new HashMap<String, String>();
60         private MsoRequest msoRequest = new MsoRequest();
61
62         public String getCloudSiteId() {
63                 return cloudSiteId;
64         }
65
66         public void setCloudSiteId(String cloudSiteId) {
67                 this.cloudSiteId = cloudSiteId;
68         }
69
70         public String getTenantId() {
71                 return tenantId;
72         }
73
74         public void setTenantId(String tenantId) {
75                 this.tenantId = tenantId;
76         }
77
78         public String getVnfId() {
79                 return vnfId;
80         }
81
82         public void setVnfId(String vnfId) {
83                 this.vnfId = vnfId;
84         }
85
86         public String getVfModuleName() {
87                 return vfModuleName;
88         }
89
90         public void setVfModuleName(String vfModuleName) {
91                 this.vfModuleName = vfModuleName;
92         }
93
94         public String getVnfType() {
95                 return vnfType;
96         }
97
98         public void setVnfType(String vnfType) {
99                 this.vnfType = vnfType;
100         }
101
102         public String getVnfVersion() {
103                 return vnfVersion;
104         }
105
106         public void setVnfVersion(String vnfVersion) {
107                 this.vnfVersion = vnfVersion;
108         }
109
110         public String getVfModuleId() {
111                 return vfModuleId;
112         }
113
114         public void setVfModuleId(String vfModuleId) {
115                 this.vfModuleId = vfModuleId;
116         }
117
118         public String getVfModuleType() {
119                 return vfModuleType;
120         }
121
122         public void setVfModuleType(String vfModuleType) {
123                 this.vfModuleType = vfModuleType;
124         }
125
126         public String getVfModuleStackId() {
127                 return vfModuleStackId;
128         }
129
130         public void setVfModuleStackId(String vfModuleStackId) {
131                 this.vfModuleStackId = vfModuleStackId;
132         }
133
134         public String getVolumeGroupId() {
135                 return volumeGroupId;
136         }
137
138         public void setVolumeGroupId(String volumeGroupId) {
139                 this.volumeGroupId = volumeGroupId;
140         }
141
142         public String getVolumeGroupStackId() {
143                 return volumeGroupStackId;
144         }
145
146         public void setVolumeGroupStackId(String volumeGroupStackId) {
147                 this.volumeGroupStackId = volumeGroupStackId;
148         }
149
150         public String getBaseVfModuleId() {
151                 return baseVfModuleId;
152         }
153
154         public void setBaseVfModuleId(String baseVfModuleId) {
155                 this.baseVfModuleId = baseVfModuleId;
156         }
157
158         public String getBaseVfModuleStackId() {
159                 return baseVfModuleStackId;
160         }
161
162         public void setBaseVfModuleStackId(String baseVfModuleStackId) {
163                 this.baseVfModuleStackId = baseVfModuleStackId;
164         }
165
166         public String getRequestType() {
167                 return requestType;
168         }
169
170         public void setRequestType(String requestType) {
171                 this.requestType = requestType;
172         }
173
174         public Boolean getFailIfExists() {
175                 return failIfExists;
176         }
177
178         public void setFailIfExists(Boolean failIfExists) {
179                 this.failIfExists = failIfExists;
180         }
181
182         public Boolean getBackout() {
183                 return backout;
184         }
185
186         public void setBackout(Boolean backout) {
187                 this.backout = backout;
188         }
189
190         public Map<String, String> getVfModuleParams() {
191                 return vfModuleParams;
192         }
193
194         public void setVfModuleParams(Map<String, String> vfModuleParams) {
195                 this.vfModuleParams = vfModuleParams;
196         }
197
198         public MsoRequest getMsoRequest() {
199                 return msoRequest;
200         }
201
202         public void setMsoRequest(MsoRequest msoRequest) {
203                 this.msoRequest = msoRequest;
204         }
205 }