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.openecomp.mso.apihandlerinfra.serviceinstancebeans;
23 import java.util.Arrays;
25 import org.codehaus.jackson.map.annotate.JsonRootName;
26 import org.codehaus.jackson.map.annotate.JsonSerialize;
28 @JsonRootName(value = "requestDetails")
29 @JsonSerialize(include=JsonSerialize.Inclusion.NON_DEFAULT)
30 public class RequestDetails {
32 protected ModelInfo modelInfo;
33 protected RequestInfo requestInfo;
34 protected RelatedInstanceList[] relatedInstanceList;
35 protected SubscriberInfo subscriberInfo;
36 protected CloudConfiguration cloudConfiguration;
37 protected RequestParameters requestParameters;
40 * Gets the value of the serviceInfo property.
47 public ModelInfo getModelInfo() {
52 * Sets the value of the serviceInfo property.
59 public void setModelInfo(ModelInfo value) {
60 this.modelInfo = value;
64 * Gets the value of the requestInfo property.
68 * {@link RequestInfo }
71 public RequestInfo getRequestInfo() {
76 * Sets the value of the requestInfo property.
80 * {@link RequestInfo }
83 public void setRequestInfo(RequestInfo value) {
84 this.requestInfo = value;
88 * Gets the value of the subscriberInfo property.
92 * {@link SubscriberInfo }
95 public SubscriberInfo getSubscriberInfo() {
96 return subscriberInfo;
100 * Sets the value of the subscriberInfo property.
104 * {@link SubscriberInfo }
107 public void setSubscriberInfo(SubscriberInfo value) {
108 this.subscriberInfo = value;
112 * Gets the value of the cloudConfiguration property.
116 * {@link CloudConfiguration }
119 public CloudConfiguration getCloudConfiguration() {
120 return cloudConfiguration;
124 * Sets the value of the cloudConfiguration property.
128 * {@link CloudConfiguration }
131 public void setCloudConfiguration(CloudConfiguration value) {
132 this.cloudConfiguration = value;
136 * Gets the value of the requestParameters property.
140 * {@link RequestParameters }
143 public RequestParameters getRequestParameters() {
144 return requestParameters;
148 * Sets the value of the requestParameters property.
152 * {@link RequestParameters }
155 public void setRequestParameters(RequestParameters value) {
156 this.requestParameters = value;
159 public RelatedInstanceList[] getRelatedInstanceList() {
160 return relatedInstanceList;
163 public void setRelatedInstanceList(RelatedInstanceList[] relatedInstanceList) {
164 this.relatedInstanceList = relatedInstanceList;
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 + "]";