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 javax.xml.bind.annotation.XmlRootElement;
26 import org.onap.so.entity.MsoRequest;
28 import com.fasterxml.jackson.annotation.JsonRootName;
29 import org.apache.commons.lang3.builder.ToStringBuilder;
31 @JsonRootName("deleteVolumeGroupRequest")
32 @XmlRootElement(name = "deleteVolumeGroupRequest")
33 public class DeleteVolumeGroupRequest extends VfRequestCommon {
34 private String cloudSiteId;
35 private String tenantId;
36 private String volumeGroupId;
37 private String volumeGroupStackId;
38 private MsoRequest msoRequest = new MsoRequest();
40 public DeleteVolumeGroupRequest() {
44 public String getCloudSiteId() {
48 public void setCloudSiteId(String cloudSiteId) {
49 this.cloudSiteId = cloudSiteId;
52 public String getTenantId() {
56 public void setTenantId(String tenantId) {
57 this.tenantId = tenantId;
60 public String getVolumeGroupId() {
64 public void setVolumeGroupId(String volumeGroupId) {
65 this.volumeGroupId = volumeGroupId;
68 public String getVolumeGroupStackId() {
69 return volumeGroupStackId;
72 public void setVolumeGroupStackId(String volumeGroupStackId) {
73 this.volumeGroupStackId = volumeGroupStackId;
76 public MsoRequest getMsoRequest() {
80 public void setMsoRequest(MsoRequest msoRequest) {
81 this.msoRequest = msoRequest;
85 public String toString() {
86 return new ToStringBuilder(this).appendSuper(super.toString()).append("cloudSiteId", cloudSiteId)
87 .append("tenantId", tenantId).append("volumeGroupId", volumeGroupId)
88 .append("volumeGroupStackId", volumeGroupStackId).append("msoRequest", msoRequest).toString();