[MSO-8] Update the maven dependency
[so.git] / mso-api-handlers / mso-api-handler-infra / src / main / java / org / openecomp / mso / apihandlerinfra / serviceinstancebeans / RequestDetails.java
1 /*-
2  * ============LICENSE_START=======================================================
3  * OPENECOMP - MSO
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.apihandlerinfra.serviceinstancebeans;
22
23 import java.util.Arrays;
24
25 import org.codehaus.jackson.map.annotate.JsonRootName;
26 import org.codehaus.jackson.map.annotate.JsonSerialize;
27
28 @JsonRootName(value = "requestDetails")
29 @JsonSerialize(include=JsonSerialize.Inclusion.NON_DEFAULT)
30 public class RequestDetails {
31
32     protected ModelInfo modelInfo;
33     protected RequestInfo requestInfo;
34     protected RelatedInstanceList[] relatedInstanceList;
35     protected SubscriberInfo subscriberInfo;
36     protected CloudConfiguration cloudConfiguration;
37     protected RequestParameters requestParameters;
38
39     /**
40      * Gets the value of the serviceInfo property.
41      *
42      * @return
43      *     possible object is
44      *     {@link ModelInfo }
45      *
46      */
47     public ModelInfo getModelInfo() {
48         return modelInfo;
49     }
50
51     /**
52      * Sets the value of the serviceInfo property.
53      *
54      * @param value
55      *     allowed object is
56      *     {@link ModelInfo }
57      *
58      */
59     public void setModelInfo(ModelInfo value) {
60         this.modelInfo = value;
61     }
62
63     /**
64      * Gets the value of the requestInfo property.
65      *
66      * @return
67      *     possible object is
68      *     {@link RequestInfo }
69      *
70      */
71     public RequestInfo getRequestInfo() {
72         return requestInfo;
73     }
74
75     /**
76      * Sets the value of the requestInfo property.
77      *
78      * @param value
79      *     allowed object is
80      *     {@link RequestInfo }
81      *
82      */
83     public void setRequestInfo(RequestInfo value) {
84         this.requestInfo = value;
85     }
86
87     /**
88      * Gets the value of the subscriberInfo property.
89      *
90      * @return
91      *     possible object is
92      *     {@link SubscriberInfo }
93      *
94      */
95     public SubscriberInfo getSubscriberInfo() {
96         return subscriberInfo;
97     }
98
99     /**
100      * Sets the value of the subscriberInfo property.
101      *
102      * @param value
103      *     allowed object is
104      *     {@link SubscriberInfo }
105      *
106      */
107     public void setSubscriberInfo(SubscriberInfo value) {
108         this.subscriberInfo = value;
109     }
110
111     /**
112      * Gets the value of the cloudConfiguration property.
113      *
114      * @return
115      *     possible object is
116      *     {@link CloudConfiguration }
117      *
118      */
119     public CloudConfiguration getCloudConfiguration() {
120         return cloudConfiguration;
121     }
122
123     /**
124      * Sets the value of the cloudConfiguration property.
125      *
126      * @param value
127      *     allowed object is
128      *     {@link CloudConfiguration }
129      *
130      */
131     public void setCloudConfiguration(CloudConfiguration value) {
132         this.cloudConfiguration = value;
133     }
134
135     /**
136      * Gets the value of the requestParameters property.
137      *
138      * @return
139      *     possible object is
140      *     {@link RequestParameters }
141      *
142      */
143     public RequestParameters getRequestParameters() {
144         return requestParameters;
145     }
146
147     /**
148      * Sets the value of the requestParameters property.
149      *
150      * @param value
151      *     allowed object is
152      *     {@link RequestParameters }
153      *
154      */
155     public void setRequestParameters(RequestParameters value) {
156         this.requestParameters = value;
157     }
158
159         public RelatedInstanceList[] getRelatedInstanceList() {
160                 return relatedInstanceList;
161         }
162
163         public void setRelatedInstanceList(RelatedInstanceList[] relatedInstanceList) {
164                 this.relatedInstanceList = relatedInstanceList;
165         }
166
167         @Override
168         public String toString() {
169                 return "RequestDetails [modelInfo=" + modelInfo + ", requestInfo="
170                                 + requestInfo + ", relatedInstanceList="
171                                 + Arrays.toString(relatedInstanceList) + ", subscriberInfo="
172                                 + subscriberInfo + ", cloudConfiguration=" + cloudConfiguration
173                                 + ", requestParameters=" + requestParameters + "]";
174         }
175
176 }