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