Containerization feature of SO
[so.git] / mso-api-handlers / mso-api-handler-infra / src / main / java / org / onap / so / apihandlerinfra / tenantisolationbeans / 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.apihandlerinfra.tenantisolationbeans;
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("requestInfo")
37     protected RequestInfo requestInfo;
38         @JsonProperty("relatedInstanceList")
39     protected RelatedInstanceList[] relatedInstanceList;
40         @JsonProperty("requestParameters")
41     protected RequestParameters requestParameters;
42
43     /**
44      * Gets the value of the requestInfo property.
45      *
46      * @return
47      *     possible object is
48      *     {@link RequestInfo }
49      *
50      */
51     public RequestInfo getRequestInfo() {
52         return requestInfo;
53     }
54
55     /**
56      * Sets the value of the requestInfo property.
57      *
58      * @param value
59      *     allowed object is
60      *     {@link RequestInfo }
61      *
62      */
63     public void setRequestInfo(RequestInfo value) {
64         this.requestInfo = value;
65     }
66
67     /**
68      * Gets the value of the requestParameters property.
69      *
70      * @return
71      *     possible object is
72      *     {@link RequestParameters }
73      *
74      */
75     public RequestParameters getRequestParameters() {
76         return requestParameters;
77     }
78
79     /**
80      * Sets the value of the requestParameters property.
81      *
82      * @param value
83      *     allowed object is
84      *     {@link RequestParameters }
85      *
86      */
87     public void setRequestParameters(RequestParameters value) {
88         this.requestParameters = value;
89     }
90
91         public RelatedInstanceList[] getRelatedInstanceList() {
92                 return relatedInstanceList;
93         }
94
95         public void setRelatedInstanceList(RelatedInstanceList[] relatedInstanceList) {
96                 this.relatedInstanceList = relatedInstanceList;
97         }
98         @Override
99         public String toString() {
100                 return "RequestDetails [requestInfo=" + requestInfo + 
101                                             ", relatedInstanceList=" + Arrays.toString(relatedInstanceList) + 
102                                             ", requestParameters=" + requestParameters + "]";
103         }
104 }