68b2a78a852543ba0b62861eacf02aa466237d37
[so.git] /
1 /*-
2  * ============LICENSE_START=======================================================
3  * ONAP - SO
4  * ================================================================================
5  * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
6  * Copyright (C) 2017 Huawei Technologies Co., Ltd. All rights reserved.
7  * ================================================================================
8  * Licensed under the Apache License, Version 2.0 (the "License");
9  * you may not use this file except in compliance with the License.
10  * You may obtain a copy of the License at
11  * 
12  *      http://www.apache.org/licenses/LICENSE-2.0
13  * 
14  * Unless required by applicable law or agreed to in writing, software
15  * distributed under the License is distributed on an "AS IS" BASIS,
16  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17  * See the License for the specific language governing permissions and
18  * limitations under the License.
19  * ============LICENSE_END=========================================================
20  */
21
22 package org.onap.so.apihandlerinfra.validation;
23
24 import java.util.HashMap;
25 import org.onap.so.apihandlerinfra.Actions;
26 import org.onap.so.serviceinstancebeans.LineOfBusiness;
27 import org.onap.so.serviceinstancebeans.OwningEntity;
28 import org.onap.so.serviceinstancebeans.Platform;
29 import org.onap.so.serviceinstancebeans.Project;
30 import org.onap.so.serviceinstancebeans.RequestInfo;
31 import org.onap.so.serviceinstancebeans.RequestParameters;
32 import org.onap.so.serviceinstancebeans.Service;
33 import org.onap.so.serviceinstancebeans.ServiceInstancesRequest;
34
35 public class ValidationInformation {
36     ServiceInstancesRequest sir;
37     HashMap<String, String> instanceIdMap;
38     Actions action;
39     int reqVersion;
40     String requestScope;
41     Boolean aLaCarteFlag;
42     RequestParameters requestParameters;
43     RequestInfo requestInfo;
44     String serviceInstanceType;
45     String vfModuleModelName;
46     String vnfType;
47     String asdcServiceModelVersion;
48     String vfModuleType;
49     String networkType;
50     Platform platform;
51     LineOfBusiness lob;
52     Project project;
53     OwningEntity owningEntity;
54     Service userParams;
55
56     public ValidationInformation(ServiceInstancesRequest sir, HashMap<String, String> instanceIdMap, Actions action,
57             int reqVersion, Boolean aLaCarteFlag, RequestParameters requestParameters) {
58         this.sir = sir;
59         this.instanceIdMap = instanceIdMap;
60         this.action = action;
61         this.reqVersion = reqVersion;
62         this.aLaCarteFlag = aLaCarteFlag;
63         this.requestParameters = requestParameters;
64     }
65
66     public ServiceInstancesRequest getSir() {
67         return this.sir;
68     }
69
70     public void setSir(ServiceInstancesRequest value) {
71         this.sir = value;
72     }
73
74     public HashMap<String, String> getInstanceIdMap() {
75         return this.instanceIdMap;
76     }
77
78     public void setInstanceIdMap(HashMap<String, String> value) {
79         this.instanceIdMap = value;
80     }
81
82     public Actions getAction() {
83         return this.action;
84     }
85
86     public void setAction(Actions value) {
87         this.action = value;
88     }
89
90     public RequestInfo getRequestInfo() {
91         return this.requestInfo;
92     }
93
94     public void setRequestInfo(RequestInfo value) {
95         this.requestInfo = value;
96     }
97
98     public int getReqVersion() {
99         return this.reqVersion;
100     }
101
102     public void setReqVersion(int value) {
103         this.reqVersion = value;
104     }
105
106     public String getRequestScope() {
107         return this.requestScope;
108     }
109
110     public void setRequestScope(String value) {
111         this.requestScope = value;
112     }
113
114     public Boolean getALaCarteFlag() {
115         return this.aLaCarteFlag;
116     }
117
118     public void setALaCarteFlag(Boolean value) {
119         this.aLaCarteFlag = value;
120     }
121
122     public RequestParameters getReqParameters() {
123         return this.requestParameters;
124     }
125
126     public void setReqParameters(RequestParameters value) {
127         this.requestParameters = value;
128     }
129
130     public String getServiceInstanceType() {
131         return this.serviceInstanceType;
132     }
133
134     public void setServiceInstanceType(String value) {
135         this.serviceInstanceType = value;
136     }
137
138     public String getVfModuleModelName() {
139         return this.vfModuleModelName;
140     }
141
142     public void setVfModuleModelName(String value) {
143         this.vfModuleModelName = value;
144     }
145
146     public String getVnfType() {
147         return this.vnfType;
148     }
149
150     public void setVnfType(String value) {
151         this.vnfType = value;
152     }
153
154     public String getAsdcServiceModelVersion() {
155         return this.asdcServiceModelVersion;
156     }
157
158     public void setAsdcServiceModelVersion(String value) {
159         this.asdcServiceModelVersion = value;
160     }
161
162     public String getVfModuleType() {
163         return this.vfModuleType;
164     }
165
166     public void setVfModuleType(String value) {
167         this.vfModuleType = value;
168     }
169
170     public String getNetworkType() {
171         return this.networkType;
172     }
173
174     public void setNetworkType(String value) {
175         this.networkType = value;
176     }
177
178     public Platform getPlatform() {
179         return this.platform;
180     }
181
182     public void setPlatform(Platform value) {
183         this.platform = value;
184     }
185
186     public LineOfBusiness getLOB() {
187         return this.lob;
188     }
189
190     public void setLOB(LineOfBusiness value) {
191         this.lob = value;
192     }
193
194     public Project getProject() {
195         return this.project;
196     }
197
198     public void setProject(Project value) {
199         this.project = value;
200     }
201
202     public OwningEntity getOE() {
203         return this.owningEntity;
204     }
205
206     public void setOE(OwningEntity value) {
207         this.owningEntity = value;
208     }
209
210     public Service getUserParams() {
211         return this.userParams;
212     }
213
214     public void setUserParams(Service value) {
215         this.userParams = value;
216     }
217 }