2 * ============LICENSE_START=======================================================
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
11 * http://www.apache.org/licenses/LICENSE-2.0
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=========================================================
21 package org.onap.so.apihandlerinfra.tenantisolationbeans;
23 import java.io.Serializable;
24 import java.util.Arrays;
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;
31 @JsonRootName(value = "requestDetails")
32 @JsonInclude(Include.NON_DEFAULT)
33 public class RequestDetails implements Serializable {
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;
44 * Gets the value of the requestInfo property.
48 * {@link RequestInfo }
51 public RequestInfo getRequestInfo() {
56 * Sets the value of the requestInfo property.
60 * {@link RequestInfo }
63 public void setRequestInfo(RequestInfo value) {
64 this.requestInfo = value;
68 * Gets the value of the requestParameters property.
72 * {@link RequestParameters }
75 public RequestParameters getRequestParameters() {
76 return requestParameters;
80 * Sets the value of the requestParameters property.
84 * {@link RequestParameters }
87 public void setRequestParameters(RequestParameters value) {
88 this.requestParameters = value;
91 public RelatedInstanceList[] getRelatedInstanceList() {
92 return relatedInstanceList;
95 public void setRelatedInstanceList(RelatedInstanceList[] relatedInstanceList) {
96 this.relatedInstanceList = relatedInstanceList;
99 public String toString() {
100 return "RequestDetails [requestInfo=" + requestInfo +
101 ", relatedInstanceList=" + Arrays.toString(relatedInstanceList) +
102 ", requestParameters=" + requestParameters + "]";