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