2 * ============LICENSE_START=======================================================
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
11 * http://www.apache.org/licenses/LICENSE-2.0
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=========================================================
21 package org.openecomp.mso.adapters.vnfrest;
24 import java.util.HashMap;
27 import javax.xml.bind.annotation.XmlRootElement;
29 import org.codehaus.jackson.map.annotate.JsonRootName;
30 import org.jboss.resteasy.annotations.providers.NoJackson;
32 import org.openecomp.mso.entity.MsoRequest;
34 @JsonRootName("createVolumeGroupRequest")
35 @XmlRootElement(name = "createVolumeGroupRequest")
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();
51 public CreateVolumeGroupRequest() {
55 public String getCloudSiteId() {
59 public void setCloudSiteId(String cloudSiteId) {
60 this.cloudSiteId = cloudSiteId;
63 public String getTenantId() {
67 public void setTenantId(String tenantId) {
68 this.tenantId = tenantId;
71 public String getVnfType() {
75 public void setVnfType(String vnfType) {
76 this.vnfType = vnfType;
79 public String getVnfVersion() {
83 public void setVnfVersion(String vnfVersion) {
84 this.vnfVersion = vnfVersion;
87 public String getVfModuleType() {
91 public void setVfModuleType(String vfModuleType) {
92 this.vfModuleType = vfModuleType;
95 public Map<String, String> getVolumeGroupParams() {
96 return volumeGroupParams;
99 public void setVolumeGroupParams(Map<String, String> volumeGroupParams) {
100 this.volumeGroupParams = volumeGroupParams;
103 public String getVolumeGroupName() {
104 return volumeGroupName;
107 public void setVolumeGroupName(String volumeGroupName) {
108 this.volumeGroupName = volumeGroupName;
111 public String getVolumeGroupId() {
112 return volumeGroupId;
115 public String getModelCustomizationUuid() {
116 return this.modelCustomizationUuid;
119 public void setModelCustomizationUuid(String modelCustomizationUuid) {
120 this.modelCustomizationUuid = modelCustomizationUuid;
123 public void setVolumeGroupId(String volumeGroupId) {
124 this.volumeGroupId = volumeGroupId;
127 public Boolean getFailIfExists() {
131 public void setFailIfExists(Boolean failIfExists) {
132 this.failIfExists = failIfExists;
135 public Boolean getSuppressBackout() {
136 return suppressBackout;
139 public void setSuppressBackout(Boolean suppressBackout) {
140 this.suppressBackout = suppressBackout;
143 public MsoRequest getMsoRequest() {
147 public void setMsoRequest(MsoRequest msoRequest) {
148 this.msoRequest = msoRequest;