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 / UpdateVolumeGroupRequest.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.XmlAccessType;
27 import javax.xml.bind.annotation.XmlAccessorType;
28 import javax.xml.bind.annotation.XmlRootElement;
29 import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
30 import org.onap.so.entity.MsoRequest;
31 import org.onap.so.openstack.mappers.MapAdapter;
32 import com.fasterxml.jackson.annotation.JsonRootName;
33
34 @JsonRootName("updateVolumeGroupRequest")
35 @XmlRootElement(name = "updateVolumeGroupRequest")
36 @XmlAccessorType(XmlAccessType.FIELD)
37 public class UpdateVolumeGroupRequest extends VfRequestCommon {
38     private String cloudSiteId;
39     private String cloudOwner;
40     private String tenantId;
41     private String volumeGroupId;
42     private String volumeGroupStackId;
43     private String vnfType;
44     private String vnfVersion;
45     private String vfModuleType;
46     private String modelCustomizationUuid;
47     @XmlJavaTypeAdapter(MapAdapter.class)
48     private Map<String, Object> volumeGroupParams = new HashMap<>();
49     private MsoRequest msoRequest = new MsoRequest();
50
51     public UpdateVolumeGroupRequest() {
52         super();
53     }
54
55     public String getCloudSiteId() {
56         return cloudSiteId;
57     }
58
59     public void setCloudSiteId(String cloudSiteId) {
60         this.cloudSiteId = cloudSiteId;
61     }
62
63     public String getCloudOwner() {
64         return cloudOwner;
65     }
66
67     public void setCloudOwner(String cloudOwner) {
68         this.cloudOwner = cloudOwner;
69     }
70
71     public String getTenantId() {
72         return tenantId;
73     }
74
75     public void setTenantId(String tenantId) {
76         this.tenantId = tenantId;
77     }
78
79     public String getVolumeGroupId() {
80         return volumeGroupId;
81     }
82
83     public void setVolumeGroupId(String volumeGroupId) {
84         this.volumeGroupId = volumeGroupId;
85     }
86
87     public String getVolumeGroupStackId() {
88         return volumeGroupStackId;
89     }
90
91     public void setVolumeGroupStackId(String volumeGroupStackId) {
92         this.volumeGroupStackId = volumeGroupStackId;
93     }
94
95     public String getVnfType() {
96         return vnfType;
97     }
98
99     public void setVnfType(String vnfType) {
100         this.vnfType = vnfType;
101     }
102
103     public String getVnfVersion() {
104         return vnfVersion;
105     }
106
107     public void setVnfVersion(String vnfVersion) {
108         this.vnfVersion = vnfVersion;
109     }
110
111     public String getVfModuleType() {
112         return vfModuleType;
113     }
114
115     public void setVfModuleType(String vfModuleType) {
116         this.vfModuleType = vfModuleType;
117     }
118
119     public String getModelCustomizationUuid() {
120         return this.modelCustomizationUuid;
121     }
122
123     public void setModelCustomizationUuid(String modelCustomizationUuid) {
124         this.modelCustomizationUuid = modelCustomizationUuid;
125     }
126
127     public Map<String, Object> getVolumeGroupParams() {
128         return volumeGroupParams;
129     }
130
131     public void setVolumeGroupParams(Map<String, Object> volumeGroupParams) {
132         this.volumeGroupParams = volumeGroupParams;
133     }
134
135     public MsoRequest getMsoRequest() {
136         return msoRequest;
137     }
138
139     public void setMsoRequest(MsoRequest msoRequest) {
140         this.msoRequest = msoRequest;
141     }
142 }