Replaced all tabs with spaces in java and pom.xml
[so.git] / common / src / main / java / org / onap / so / serviceinstancebeans / RequestDetails.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.serviceinstancebeans;
22
23 import java.io.Serializable;
24 import java.util.ArrayList;
25 import java.util.Arrays;
26 import java.util.List;
27 import java.util.Map;
28 import com.fasterxml.jackson.annotation.JsonInclude;
29 import com.fasterxml.jackson.annotation.JsonInclude.Include;
30 import com.fasterxml.jackson.annotation.JsonProperty;
31 import com.fasterxml.jackson.annotation.JsonRootName;
32
33 @JsonRootName(value = "requestDetails")
34 @JsonInclude(Include.NON_DEFAULT)
35 public class RequestDetails implements Serializable {
36
37     private static final long serialVersionUID = -73080684945860609L;
38     @JsonProperty("modelInfo")
39     protected ModelInfo modelInfo;
40     @JsonProperty("requestInfo")
41     protected RequestInfo requestInfo;
42     @JsonProperty("relatedInstanceList")
43     protected RelatedInstanceList[] relatedInstanceList;
44     @JsonProperty("subscriberInfo")
45     protected SubscriberInfo subscriberInfo;
46     @JsonProperty("cloudConfiguration")
47     protected CloudConfiguration cloudConfiguration;
48     @JsonProperty("requestParameters")
49     protected RequestParameters requestParameters;
50     @JsonProperty("project")
51     protected Project project;
52     @JsonProperty("owningEntity")
53     protected OwningEntity owningEntity;
54     @JsonProperty("platform")
55     protected Platform platform;
56     @JsonProperty("lineOfBusiness")
57     protected LineOfBusiness lineOfBusiness;
58     @JsonProperty("instanceName")
59     private List<Map<String, String>> instanceName = new ArrayList<>();
60     @JsonProperty("configurationParameters")
61     protected List<Map<String, String>> configurationParameters = new ArrayList<>();
62
63
64     /**
65      * Gets the value of the serviceInfo property.
66      *
67      * @return possible object is {@link ModelInfo }
68      *
69      */
70     public ModelInfo getModelInfo() {
71         return modelInfo;
72     }
73
74     /**
75      * Sets the value of the serviceInfo property.
76      *
77      * @param value allowed object is {@link ModelInfo }
78      *
79      */
80     public void setModelInfo(ModelInfo value) {
81         this.modelInfo = value;
82     }
83
84     /**
85      * Gets the value of the requestInfo property.
86      *
87      * @return possible object is {@link RequestInfo }
88      *
89      */
90     public RequestInfo getRequestInfo() {
91         return requestInfo;
92     }
93
94     /**
95      * Sets the value of the requestInfo property.
96      *
97      * @param value allowed object is {@link RequestInfo }
98      *
99      */
100     public void setRequestInfo(RequestInfo value) {
101         this.requestInfo = value;
102     }
103
104     /**
105      * Gets the value of the subscriberInfo property.
106      *
107      * @return possible object is {@link SubscriberInfo }
108      *
109      */
110     public SubscriberInfo getSubscriberInfo() {
111         return subscriberInfo;
112     }
113
114     /**
115      * Sets the value of the subscriberInfo property.
116      *
117      * @param value allowed object is {@link SubscriberInfo }
118      *
119      */
120     public void setSubscriberInfo(SubscriberInfo value) {
121         this.subscriberInfo = value;
122     }
123
124     /**
125      * Gets the value of the cloudConfiguration property.
126      *
127      * @return possible object is {@link CloudConfiguration }
128      *
129      */
130     public CloudConfiguration getCloudConfiguration() {
131         return cloudConfiguration;
132     }
133
134     /**
135      * Sets the value of the cloudConfiguration property.
136      *
137      * @param value allowed object is {@link CloudConfiguration }
138      *
139      */
140     public void setCloudConfiguration(CloudConfiguration value) {
141         this.cloudConfiguration = value;
142     }
143
144     /**
145      * Gets the value of the requestParameters property.
146      *
147      * @return possible object is {@link RequestParameters }
148      *
149      */
150     public RequestParameters getRequestParameters() {
151         return requestParameters;
152     }
153
154     /**
155      * Sets the value of the requestParameters property.
156      *
157      * @param value allowed object is {@link RequestParameters }
158      *
159      */
160     public void setRequestParameters(RequestParameters value) {
161         this.requestParameters = value;
162     }
163
164     public RelatedInstanceList[] getRelatedInstanceList() {
165         return relatedInstanceList;
166     }
167
168     public void setRelatedInstanceList(RelatedInstanceList[] relatedInstanceList) {
169         this.relatedInstanceList = relatedInstanceList;
170     }
171
172     /**
173      * Gets the value of the project property.
174      *
175      * @return possible object is {@link Project }
176      *
177      */
178     public Project getProject() {
179         return project;
180     }
181
182     /**
183      * Sets the value of the project property.
184      *
185      * @param value allowed object is {@link Project }
186      *
187      */
188     public void setProject(Project value) {
189         this.project = value;
190     }
191
192     /**
193      * Gets the value of the owningEntity property.
194      *
195      * @return possible object is {@link OwningEntity }
196      *
197      */
198     public OwningEntity getOwningEntity() {
199         return owningEntity;
200     }
201
202     /**
203      * Sets the value of the owningEntity property.
204      *
205      * @param value allowed object is {@link OwningEntity }
206      *
207      */
208     public void setOwningEntity(OwningEntity value) {
209         this.owningEntity = value;
210     }
211
212     /**
213      * Gets the value of the platform property.
214      *
215      * @return possible object is {@link Platform }
216      *
217      */
218     public Platform getPlatform() {
219         return platform;
220     }
221
222     /**
223      * Sets the value of the platform property.
224      *
225      * @param value allowed object is {@link Platform }
226      *
227      */
228     public void setPlatform(Platform value) {
229         this.platform = value;
230     }
231
232     /**
233      * Gets the value of the lineOfBusiness property.
234      *
235      * @return possible object is {@link LineOfBusiness }
236      *
237      */
238     public LineOfBusiness getLineOfBusiness() {
239         return lineOfBusiness;
240     }
241
242     /**
243      * Sets the value of the lineOfBusiness property.
244      *
245      * @param value allowed object is {@link LineOfBusiness }
246      *
247      */
248     public void setLineOfBusiness(LineOfBusiness value) {
249         this.lineOfBusiness = value;
250     }
251
252     /**
253      * Gets the value of the instanceName property.
254      */
255     public List<Map<String, String>> getInstanceName() {
256         return instanceName;
257     }
258
259     /**
260      * Sets the value of the instanceName property.
261      *
262      * @param value
263      *
264      */
265     public void setInstanceName(List<Map<String, String>> instanceName) {
266         this.instanceName = instanceName;
267     }
268
269     public List<Map<String, String>> getConfigurationParameters() {
270         return configurationParameters;
271     }
272
273     public void setConfigurationParameters(List<Map<String, String>> configurationParameters) {
274         this.configurationParameters = configurationParameters;
275     }
276
277     @Override
278     public String toString() {
279         return "RequestDetails [modelInfo=" + modelInfo + ", requestInfo=" + requestInfo + ", relatedInstanceList="
280                 + Arrays.toString(relatedInstanceList) + ", subscriberInfo=" + subscriberInfo + ", cloudConfiguration="
281                 + cloudConfiguration + ", requestParameters=" + requestParameters + ", project=" + project
282                 + ", owningEntity=" + owningEntity + ", platform=" + platform + ", lineOfBusiness=" + lineOfBusiness
283                 + ", instanceName=" + instanceName + ", configurationParameters=" + configurationParameters + "]";
284     }
285 }