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("updateVolumeGroupRequest")
35 @XmlRootElement(name = "updateVolumeGroupRequest")
37 public class UpdateVolumeGroupRequest extends VfRequestCommon {
38 private String cloudSiteId;
39 private String tenantId;
40 private String volumeGroupId;
41 private String volumeGroupStackId;
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 MsoRequest msoRequest = new MsoRequest();
49 public UpdateVolumeGroupRequest() {
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 getVolumeGroupId() {
73 public void setVolumeGroupId(String volumeGroupId) {
74 this.volumeGroupId = volumeGroupId;
77 public String getVolumeGroupStackId() {
78 return volumeGroupStackId;
81 public void setVolumeGroupStackId(String volumeGroupStackId) {
82 this.volumeGroupStackId = volumeGroupStackId;
85 public String getVnfType() {
89 public void setVnfType(String vnfType) {
90 this.vnfType = vnfType;
93 public String getVnfVersion() {
97 public void setVnfVersion(String vnfVersion) {
98 this.vnfVersion = vnfVersion;
101 public String getVfModuleType() {
105 public void setVfModuleType(String vfModuleType) {
106 this.vfModuleType = vfModuleType;
109 public String getModelCustomizationUuid() {
110 return this.modelCustomizationUuid;
113 public void setModelCustomizationUuid(String modelCustomizationUuid) {
114 this.modelCustomizationUuid = modelCustomizationUuid;
117 public Map<String, String> getVolumeGroupParams() {
118 return volumeGroupParams;
121 public void setVolumeGroupParams(Map<String, String> volumeGroupParams) {
122 this.volumeGroupParams = volumeGroupParams;
125 public MsoRequest getMsoRequest() {
129 public void setMsoRequest(MsoRequest msoRequest) {
130 this.msoRequest = msoRequest;