Replaced all tabs with spaces in java and pom.xml
[so.git] / adapters / mso-adapters-rest-interface / src / main / java / org / onap / so / adapters / vnfrest / UpdateVolumeGroupResponse.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 java.util.HashMap;
25 import java.util.Map;
26 import javax.xml.bind.annotation.XmlRootElement;
27 import com.fasterxml.jackson.annotation.JsonRootName;
28
29
30 @JsonRootName("updateVolumeGroupResponse")
31 @XmlRootElement(name = "updateVolumeGroupResponse")
32 public class UpdateVolumeGroupResponse extends VfResponseCommon {
33     private String volumeGroupId;
34     private String volumeGroupStackId;
35     private Map<String, String> volumeGroupOutputs;
36
37     public UpdateVolumeGroupResponse() {
38         super();
39         this.volumeGroupOutputs = new HashMap<>();
40     }
41
42     public UpdateVolumeGroupResponse(String volumeGroupId, String volumeGroupStackId,
43             Map<String, String> volumeGroupOutputs, String messageId) {
44         super(messageId);
45         this.volumeGroupId = volumeGroupId;
46         this.volumeGroupStackId = volumeGroupStackId;
47         this.volumeGroupOutputs = volumeGroupOutputs;
48     }
49
50     public String getVolumeGroupId() {
51         return volumeGroupId;
52     }
53
54     public void setVolumeGroupId(String volumeGroupId) {
55         this.volumeGroupId = volumeGroupId;
56     }
57
58     public String getVolumeGroupStackId() {
59         return volumeGroupStackId;
60     }
61
62     public void setVolumeGroupStackId(String volumeGroupStackId) {
63         this.volumeGroupStackId = volumeGroupStackId;
64     }
65
66     public Map<String, String> getVolumeGroupOutputs() {
67         return volumeGroupOutputs;
68     }
69
70     public void setVolumeGroupOutputs(Map<String, String> volumeGroupOutputs) {
71         this.volumeGroupOutputs = volumeGroupOutputs;
72     }
73 }