88c283da1636aa78d07379885a33f552fa119a85
[so.git] /
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 import org.onap.so.entity.MsoRequest;
26 import com.fasterxml.jackson.annotation.JsonRootName;
27 import org.apache.commons.lang3.builder.ToStringBuilder;
28
29 @JsonRootName("deleteVolumeGroupRequest")
30 @XmlRootElement(name = "deleteVolumeGroupRequest")
31 public class DeleteVolumeGroupRequest extends VfRequestCommon {
32     private String cloudSiteId;
33     private String cloudOwner;
34     private String tenantId;
35     private String volumeGroupId;
36     private String volumeGroupStackId;
37     private MsoRequest msoRequest = new MsoRequest();
38
39     public DeleteVolumeGroupRequest() {
40         super();
41     }
42
43     public String getCloudSiteId() {
44         return cloudSiteId;
45     }
46
47     public void setCloudSiteId(String cloudSiteId) {
48         this.cloudSiteId = cloudSiteId;
49     }
50
51     public String getCloudOwner() {
52         return cloudOwner;
53     }
54
55     public void setCloudOwner(String cloudOwner) {
56         this.cloudOwner = cloudOwner;
57     }
58
59     public String getTenantId() {
60         return tenantId;
61     }
62
63     public void setTenantId(String tenantId) {
64         this.tenantId = tenantId;
65     }
66
67     public String getVolumeGroupId() {
68         return volumeGroupId;
69     }
70
71     public void setVolumeGroupId(String volumeGroupId) {
72         this.volumeGroupId = volumeGroupId;
73     }
74
75     public String getVolumeGroupStackId() {
76         return volumeGroupStackId;
77     }
78
79     public void setVolumeGroupStackId(String volumeGroupStackId) {
80         this.volumeGroupStackId = volumeGroupStackId;
81     }
82
83     public MsoRequest getMsoRequest() {
84         return msoRequest;
85     }
86
87     public void setMsoRequest(MsoRequest msoRequest) {
88         this.msoRequest = msoRequest;
89     }
90
91     @Override
92     public String toString() {
93         return new ToStringBuilder(this).appendSuper(super.toString()).append("cloudSiteId", cloudSiteId)
94                 .append("tenantId", tenantId).append("volumeGroupId", volumeGroupId)
95                 .append("volumeGroupStackId", volumeGroupStackId).append("msoRequest", msoRequest).toString();
96     }
97 }