Change the header to SO
[so.git] / mso-api-handlers / mso-api-handler-infra / src / main / java / org / openecomp / mso / apihandlerinfra / serviceinstancebeans / RequestDetails.java
1 /*-\r
2  * ============LICENSE_START=======================================================\r
3  * ONAP - SO\r
4  * ================================================================================\r
5  * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.\r
6  * ================================================================================\r
7  * Licensed under the Apache License, Version 2.0 (the "License");\r
8  * you may not use this file except in compliance with the License.\r
9  * You may obtain a copy of the License at\r
10  *\r
11  *      http://www.apache.org/licenses/LICENSE-2.0\r
12  *\r
13  * Unless required by applicable law or agreed to in writing, software\r
14  * distributed under the License is distributed on an "AS IS" BASIS,\r
15  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
16  * See the License for the specific language governing permissions and\r
17  * limitations under the License.\r
18  * ============LICENSE_END=========================================================\r
19  */\r
20 \r
21 package org.openecomp.mso.apihandlerinfra.serviceinstancebeans;\r
22 \r
23 import java.util.Arrays;\r
24 \r
25 import org.codehaus.jackson.map.annotate.JsonRootName;\r
26 import org.codehaus.jackson.map.annotate.JsonSerialize;\r
27 \r
28 @JsonRootName(value = "requestDetails")\r
29 @JsonSerialize(include=JsonSerialize.Inclusion.NON_DEFAULT)\r
30 public class RequestDetails {\r
31 \r
32     protected ModelInfo modelInfo;\r
33     protected RequestInfo requestInfo;\r
34     protected RelatedInstanceList[] relatedInstanceList;\r
35     protected SubscriberInfo subscriberInfo;\r
36     protected CloudConfiguration cloudConfiguration;\r
37     protected RequestParameters requestParameters;\r
38 \r
39     /**\r
40      * Gets the value of the serviceInfo property.\r
41      *\r
42      * @return\r
43      *     possible object is\r
44      *     {@link ModelInfo }\r
45      *\r
46      */\r
47     public ModelInfo getModelInfo() {\r
48         return modelInfo;\r
49     }\r
50 \r
51     /**\r
52      * Sets the value of the serviceInfo property.\r
53      *\r
54      * @param value\r
55      *     allowed object is\r
56      *     {@link ModelInfo }\r
57      *\r
58      */\r
59     public void setModelInfo(ModelInfo value) {\r
60         this.modelInfo = value;\r
61     }\r
62 \r
63     /**\r
64      * Gets the value of the requestInfo property.\r
65      *\r
66      * @return\r
67      *     possible object is\r
68      *     {@link RequestInfo }\r
69      *\r
70      */\r
71     public RequestInfo getRequestInfo() {\r
72         return requestInfo;\r
73     }\r
74 \r
75     /**\r
76      * Sets the value of the requestInfo property.\r
77      *\r
78      * @param value\r
79      *     allowed object is\r
80      *     {@link RequestInfo }\r
81      *\r
82      */\r
83     public void setRequestInfo(RequestInfo value) {\r
84         this.requestInfo = value;\r
85     }\r
86 \r
87     /**\r
88      * Gets the value of the subscriberInfo property.\r
89      *\r
90      * @return\r
91      *     possible object is\r
92      *     {@link SubscriberInfo }\r
93      *\r
94      */\r
95     public SubscriberInfo getSubscriberInfo() {\r
96         return subscriberInfo;\r
97     }\r
98 \r
99     /**\r
100      * Sets the value of the subscriberInfo property.\r
101      *\r
102      * @param value\r
103      *     allowed object is\r
104      *     {@link SubscriberInfo }\r
105      *\r
106      */\r
107     public void setSubscriberInfo(SubscriberInfo value) {\r
108         this.subscriberInfo = value;\r
109     }\r
110 \r
111     /**\r
112      * Gets the value of the cloudConfiguration property.\r
113      *\r
114      * @return\r
115      *     possible object is\r
116      *     {@link CloudConfiguration }\r
117      *\r
118      */\r
119     public CloudConfiguration getCloudConfiguration() {\r
120         return cloudConfiguration;\r
121     }\r
122 \r
123     /**\r
124      * Sets the value of the cloudConfiguration property.\r
125      *\r
126      * @param value\r
127      *     allowed object is\r
128      *     {@link CloudConfiguration }\r
129      *\r
130      */\r
131     public void setCloudConfiguration(CloudConfiguration value) {\r
132         this.cloudConfiguration = value;\r
133     }\r
134 \r
135     /**\r
136      * Gets the value of the requestParameters property.\r
137      *\r
138      * @return\r
139      *     possible object is\r
140      *     {@link RequestParameters }\r
141      *\r
142      */\r
143     public RequestParameters getRequestParameters() {\r
144         return requestParameters;\r
145     }\r
146 \r
147     /**\r
148      * Sets the value of the requestParameters property.\r
149      *\r
150      * @param value\r
151      *     allowed object is\r
152      *     {@link RequestParameters }\r
153      *\r
154      */\r
155     public void setRequestParameters(RequestParameters value) {\r
156         this.requestParameters = value;\r
157     }\r
158 \r
159         public RelatedInstanceList[] getRelatedInstanceList() {\r
160                 return relatedInstanceList;\r
161         }\r
162 \r
163         public void setRelatedInstanceList(RelatedInstanceList[] relatedInstanceList) {\r
164                 this.relatedInstanceList = relatedInstanceList;\r
165         }\r
166 \r
167         @Override\r
168         public String toString() {\r
169                 return "RequestDetails [modelInfo=" + modelInfo + ", requestInfo="\r
170                                 + requestInfo + ", relatedInstanceList="\r
171                                 + Arrays.toString(relatedInstanceList) + ", subscriberInfo="\r
172                                 + subscriberInfo + ", cloudConfiguration=" + cloudConfiguration\r
173                                 + ", requestParameters=" + requestParameters + "]";\r
174         }\r
175 \r
176 }\r