AT&T 1712 and 1802 release code
[so.git] / mso-api-handlers / mso-api-handler-infra / src / main / java / org / openecomp / mso / apihandlerinfra / tenantisolationbeans / 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.tenantisolationbeans;\r
22 \r
23 import java.io.Serializable;\r
24 import java.util.Arrays;\r
25 \r
26 import com.fasterxml.jackson.annotation.JsonInclude;\r
27 import com.fasterxml.jackson.annotation.JsonInclude.Include;\r
28 import com.fasterxml.jackson.annotation.JsonProperty;\r
29 import com.fasterxml.jackson.annotation.JsonRootName;\r
30 \r
31 @JsonRootName(value = "requestDetails")\r
32 @JsonInclude(Include.NON_DEFAULT)\r
33 public class RequestDetails implements Serializable {\r
34 \r
35         private static final long serialVersionUID = -73080684945860609L;\r
36         @JsonProperty("requestInfo")\r
37     protected RequestInfo requestInfo;\r
38         @JsonProperty("relatedInstanceList")\r
39     protected RelatedInstanceList[] relatedInstanceList;\r
40         @JsonProperty("requestParameters")\r
41     protected RequestParameters requestParameters;\r
42 \r
43     /**\r
44      * Gets the value of the requestInfo property.\r
45      *\r
46      * @return\r
47      *     possible object is\r
48      *     {@link RequestInfo }\r
49      *\r
50      */\r
51     public RequestInfo getRequestInfo() {\r
52         return requestInfo;\r
53     }\r
54 \r
55     /**\r
56      * Sets the value of the requestInfo property.\r
57      *\r
58      * @param value\r
59      *     allowed object is\r
60      *     {@link RequestInfo }\r
61      *\r
62      */\r
63     public void setRequestInfo(RequestInfo value) {\r
64         this.requestInfo = value;\r
65     }\r
66 \r
67     /**\r
68      * Gets the value of the requestParameters property.\r
69      *\r
70      * @return\r
71      *     possible object is\r
72      *     {@link RequestParameters }\r
73      *\r
74      */\r
75     public RequestParameters getRequestParameters() {\r
76         return requestParameters;\r
77     }\r
78 \r
79     /**\r
80      * Sets the value of the requestParameters property.\r
81      *\r
82      * @param value\r
83      *     allowed object is\r
84      *     {@link RequestParameters }\r
85      *\r
86      */\r
87     public void setRequestParameters(RequestParameters value) {\r
88         this.requestParameters = value;\r
89     }\r
90 \r
91         public RelatedInstanceList[] getRelatedInstanceList() {\r
92                 return relatedInstanceList;\r
93         }\r
94 \r
95         public void setRelatedInstanceList(RelatedInstanceList[] relatedInstanceList) {\r
96                 this.relatedInstanceList = relatedInstanceList;\r
97         }\r
98         @Override\r
99         public String toString() {\r
100                 return "RequestDetails [requestInfo=" + requestInfo + \r
101                                             ", relatedInstanceList=" + Arrays.toString(relatedInstanceList) + \r
102                                             ", requestParameters=" + requestParameters + "]";\r
103         }\r
104 }\r