840edf7fbc6102739ab491cbdc55c2f2393648eb
[so.git] / adapters / mso-adapters-rest-interface / src / main / java / org / openecomp / mso / adapters / vnfrest / CreateVolumeGroupRequest.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("createVolumeGroupRequest")
35 @XmlRootElement(name = "createVolumeGroupRequest")
36 @NoJackson
37 public class CreateVolumeGroupRequest extends VfRequestCommon {
38         private String cloudSiteId;
39         private String tenantId;
40         private String volumeGroupName;
41         private String volumeGroupId;
42         private String vnfType;
43         private String vnfVersion;
44         private String vfModuleType;
45         private String modelCustomizationUuid;
46         private Map<String,String> volumeGroupParams = new HashMap<String, String>();
47         private Boolean failIfExists;
48         private Boolean suppressBackout;
49         private MsoRequest msoRequest = new MsoRequest();
50
51         public CreateVolumeGroupRequest() {
52                 super();
53         }
54
55         public String getCloudSiteId() {
56                 return cloudSiteId;
57         }
58
59         public void setCloudSiteId(String cloudSiteId) {
60                 this.cloudSiteId = cloudSiteId;
61         }
62
63         public String getTenantId() {
64                 return tenantId;
65         }
66
67         public void setTenantId(String tenantId) {
68                 this.tenantId = tenantId;
69         }
70
71         public String getVnfType() {
72                 return vnfType;
73         }
74
75         public void setVnfType(String vnfType) {
76                 this.vnfType = vnfType;
77         }
78
79         public String getVnfVersion() {
80                 return vnfVersion;
81         }
82
83         public void setVnfVersion(String vnfVersion) {
84                 this.vnfVersion = vnfVersion;
85         }
86
87         public String getVfModuleType() {
88                 return vfModuleType;
89         }
90
91         public void setVfModuleType(String vfModuleType) {
92                 this.vfModuleType = vfModuleType;
93         }
94
95         public Map<String, String> getVolumeGroupParams() {
96                 return volumeGroupParams;
97         }
98
99         public void setVolumeGroupParams(Map<String, String> volumeGroupParams) {
100                 this.volumeGroupParams = volumeGroupParams;
101         }
102
103         public String getVolumeGroupName() {
104                 return volumeGroupName;
105         }
106
107         public void setVolumeGroupName(String volumeGroupName) {
108                 this.volumeGroupName = volumeGroupName;
109         }
110
111         public String getVolumeGroupId() {
112                 return volumeGroupId;
113         }
114
115         public String getModelCustomizationUuid() {
116                 return this.modelCustomizationUuid;
117         }
118
119         public void setModelCustomizationUuid(String modelCustomizationUuid) {
120                 this.modelCustomizationUuid = modelCustomizationUuid;
121         }
122
123         public void setVolumeGroupId(String volumeGroupId) {
124                 this.volumeGroupId = volumeGroupId;
125         }
126
127         public Boolean getFailIfExists() {
128                 return failIfExists;
129         }
130
131         public void setFailIfExists(Boolean failIfExists) {
132                 this.failIfExists = failIfExists;
133         }
134
135         public Boolean getSuppressBackout() {
136                 return suppressBackout;
137         }
138
139         public void setSuppressBackout(Boolean suppressBackout) {
140                 this.suppressBackout = suppressBackout;
141         }
142
143         public MsoRequest getMsoRequest() {
144                 return msoRequest;
145         }
146
147         public void setMsoRequest(MsoRequest msoRequest) {
148                 this.msoRequest = msoRequest;
149         }
150 }