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.onap.so.adapters.vnfrest;
24 import java.util.HashMap;
27 import javax.xml.bind.annotation.XmlAccessType;
28 import javax.xml.bind.annotation.XmlAccessorType;
29 import javax.xml.bind.annotation.XmlRootElement;
30 import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
32 import org.onap.so.entity.MsoRequest;
33 import org.onap.so.openstack.mappers.MapAdapter;
35 import com.fasterxml.jackson.annotation.JsonRootName;
37 @JsonRootName("updateVolumeGroupRequest")
38 @XmlRootElement(name = "updateVolumeGroupRequest")
39 @XmlAccessorType(XmlAccessType.FIELD)
40 public class UpdateVolumeGroupRequest extends VfRequestCommon {
41 private String cloudSiteId;
42 private String cloudOwner;
43 private String tenantId;
44 private String volumeGroupId;
45 private String volumeGroupStackId;
46 private String vnfType;
47 private String vnfVersion;
48 private String vfModuleType;
49 private String modelCustomizationUuid;
50 @XmlJavaTypeAdapter(MapAdapter.class)
51 private Map<String,Object> volumeGroupParams = new HashMap<>();
52 private MsoRequest msoRequest = new MsoRequest();
54 public UpdateVolumeGroupRequest() {
58 public String getCloudSiteId() {
62 public void setCloudSiteId(String cloudSiteId) {
63 this.cloudSiteId = cloudSiteId;
66 public String getCloudOwner() {
70 public void setCloudOwner(String cloudOwner) {
71 this.cloudOwner = cloudOwner;
74 public String getTenantId() {
78 public void setTenantId(String tenantId) {
79 this.tenantId = tenantId;
82 public String getVolumeGroupId() {
86 public void setVolumeGroupId(String volumeGroupId) {
87 this.volumeGroupId = volumeGroupId;
90 public String getVolumeGroupStackId() {
91 return volumeGroupStackId;
94 public void setVolumeGroupStackId(String volumeGroupStackId) {
95 this.volumeGroupStackId = volumeGroupStackId;
98 public String getVnfType() {
102 public void setVnfType(String vnfType) {
103 this.vnfType = vnfType;
106 public String getVnfVersion() {
110 public void setVnfVersion(String vnfVersion) {
111 this.vnfVersion = vnfVersion;
114 public String getVfModuleType() {
118 public void setVfModuleType(String vfModuleType) {
119 this.vfModuleType = vfModuleType;
122 public String getModelCustomizationUuid() {
123 return this.modelCustomizationUuid;
126 public void setModelCustomizationUuid(String modelCustomizationUuid) {
127 this.modelCustomizationUuid = modelCustomizationUuid;
130 public Map<String, Object> getVolumeGroupParams() {
131 return volumeGroupParams;
134 public void setVolumeGroupParams(Map<String, Object> volumeGroupParams) {
135 this.volumeGroupParams = volumeGroupParams;
138 public MsoRequest getMsoRequest() {
142 public void setMsoRequest(MsoRequest msoRequest) {
143 this.msoRequest = msoRequest;