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 Map<String,String> volumeGroupParams = new HashMap<String, String>();
46 private MsoRequest msoRequest = new MsoRequest();
48 public UpdateVolumeGroupRequest() {
52 public String getCloudSiteId() {
56 public void setCloudSiteId(String cloudSiteId) {
57 this.cloudSiteId = cloudSiteId;
60 public String getTenantId() {
64 public void setTenantId(String tenantId) {
65 this.tenantId = tenantId;
68 public String getVolumeGroupId() {
72 public void setVolumeGroupId(String volumeGroupId) {
73 this.volumeGroupId = volumeGroupId;
76 public String getVolumeGroupStackId() {
77 return volumeGroupStackId;
80 public void setVolumeGroupStackId(String volumeGroupStackId) {
81 this.volumeGroupStackId = volumeGroupStackId;
84 public String getVnfType() {
88 public void setVnfType(String vnfType) {
89 this.vnfType = vnfType;
92 public String getVnfVersion() {
96 public void setVnfVersion(String vnfVersion) {
97 this.vnfVersion = vnfVersion;
100 public String getVfModuleType() {
104 public void setVfModuleType(String vfModuleType) {
105 this.vfModuleType = vfModuleType;
108 public Map<String, String> getVolumeGroupParams() {
109 return volumeGroupParams;
112 public void setVolumeGroupParams(Map<String, String> volumeGroupParams) {
113 this.volumeGroupParams = volumeGroupParams;
116 public MsoRequest getMsoRequest() {
120 public void setMsoRequest(MsoRequest msoRequest) {
121 this.msoRequest = msoRequest;