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.openecomp.mso.entity.MsoRequest;
31 import com.fasterxml.jackson.annotation.JsonRootName;
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,String> volumeGroupParams = new HashMap<>();
45 private Boolean failIfExists;
46 private Boolean suppressBackout;
47 private MsoRequest msoRequest = new MsoRequest();
49 public CreateVolumeGroupRequest() {
53 public String getCloudSiteId() {
57 public void setCloudSiteId(String cloudSiteId) {
58 this.cloudSiteId = cloudSiteId;
61 public String getTenantId() {
65 public void setTenantId(String tenantId) {
66 this.tenantId = tenantId;
69 public String getVnfType() {
73 public void setVnfType(String vnfType) {
74 this.vnfType = vnfType;
77 public String getVnfVersion() {
81 public void setVnfVersion(String vnfVersion) {
82 this.vnfVersion = vnfVersion;
85 public String getVfModuleType() {
89 public void setVfModuleType(String vfModuleType) {
90 this.vfModuleType = vfModuleType;
93 public Map<String, String> getVolumeGroupParams() {
94 return volumeGroupParams;
97 public void setVolumeGroupParams(Map<String, String> volumeGroupParams) {
98 this.volumeGroupParams = volumeGroupParams;
101 public String getVolumeGroupName() {
102 return volumeGroupName;
105 public void setVolumeGroupName(String volumeGroupName) {
106 this.volumeGroupName = volumeGroupName;
109 public String getVolumeGroupId() {
110 return volumeGroupId;
113 public String getModelCustomizationUuid() {
114 return this.modelCustomizationUuid;
117 public void setModelCustomizationUuid(String modelCustomizationUuid) {
118 this.modelCustomizationUuid = modelCustomizationUuid;
121 public void setVolumeGroupId(String volumeGroupId) {
122 this.volumeGroupId = volumeGroupId;
125 public Boolean getFailIfExists() {
129 public void setFailIfExists(Boolean failIfExists) {
130 this.failIfExists = failIfExists;
133 public Boolean getSuppressBackout() {
134 return suppressBackout;
137 public void setSuppressBackout(Boolean suppressBackout) {
138 this.suppressBackout = suppressBackout;
141 public MsoRequest getMsoRequest() {
145 public void setMsoRequest(MsoRequest msoRequest) {
146 this.msoRequest = msoRequest;