aba53a4dd312457b8324f70aea21ea3083aaa944
[so.git] / adapters / mso-adapters-rest-interface / src / main / java / org / onap / so / adapters / vnfrest / DeleteVolumeGroupRequest.java
1 /*-
2  * ============LICENSE_START=======================================================
3  * ONAP - SO
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
10  *
11  *      http://www.apache.org/licenses/LICENSE-2.0
12  *
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=========================================================
19  */
20
21 package org.onap.so.adapters.vnfrest;
22
23
24 import javax.xml.bind.annotation.XmlRootElement;
25
26 import org.onap.so.entity.MsoRequest;
27
28 import com.fasterxml.jackson.annotation.JsonRootName;
29 import org.apache.commons.lang3.builder.ToStringBuilder;
30
31 @JsonRootName("deleteVolumeGroupRequest")
32 @XmlRootElement(name = "deleteVolumeGroupRequest")
33 public class DeleteVolumeGroupRequest extends VfRequestCommon {
34         private String cloudSiteId;
35         private String cloudOwner;
36         private String tenantId;
37         private String volumeGroupId;
38         private String volumeGroupStackId;
39         private MsoRequest msoRequest = new MsoRequest();
40
41         public DeleteVolumeGroupRequest() {
42                 super();
43         }
44
45         public String getCloudSiteId() {
46                 return cloudSiteId;
47         }
48
49         public void setCloudSiteId(String cloudSiteId) {
50                 this.cloudSiteId = cloudSiteId;
51         }
52
53     public String getCloudOwner() {
54         return cloudOwner;
55     }
56
57     public void setCloudOwner(String cloudOwner) {
58         this.cloudOwner = cloudOwner;
59     }
60
61         public String getTenantId() {
62                 return tenantId;
63         }
64
65         public void setTenantId(String tenantId) {
66                 this.tenantId = tenantId;
67         }
68
69         public String getVolumeGroupId() {
70                 return volumeGroupId;
71         }
72
73         public void setVolumeGroupId(String volumeGroupId) {
74                 this.volumeGroupId = volumeGroupId;
75         }
76
77         public String getVolumeGroupStackId() {
78                 return volumeGroupStackId;
79         }
80
81         public void setVolumeGroupStackId(String volumeGroupStackId) {
82                 this.volumeGroupStackId = volumeGroupStackId;
83         }
84
85         public MsoRequest getMsoRequest() {
86                 return msoRequest;
87         }
88
89         public void setMsoRequest(MsoRequest msoRequest) {
90                 this.msoRequest = msoRequest;
91         }
92
93         @Override
94         public String toString() {
95                 return new ToStringBuilder(this).appendSuper(super.toString()).append("cloudSiteId", cloudSiteId)
96                                 .append("tenantId", tenantId).append("volumeGroupId", volumeGroupId)
97                                 .append("volumeGroupStackId", volumeGroupStackId).append("msoRequest", msoRequest).toString();
98         }
99 }