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.serviceinstancebeans;
23 import java.io.Serializable;
24 import java.util.ArrayList;
25 import java.util.Arrays;
26 import java.util.List;
28 import com.fasterxml.jackson.annotation.JsonInclude;
29 import com.fasterxml.jackson.annotation.JsonInclude.Include;
30 import com.fasterxml.jackson.annotation.JsonProperty;
31 import com.fasterxml.jackson.annotation.JsonRootName;
33 @JsonRootName(value = "requestDetails")
34 @JsonInclude(Include.NON_DEFAULT)
35 public class RequestDetails implements Serializable {
37 private static final long serialVersionUID = -73080684945860609L;
38 @JsonProperty("modelInfo")
39 protected ModelInfo modelInfo;
40 @JsonProperty("requestInfo")
41 protected RequestInfo requestInfo;
42 @JsonProperty("relatedInstanceList")
43 protected RelatedInstanceList[] relatedInstanceList;
44 @JsonProperty("subscriberInfo")
45 protected SubscriberInfo subscriberInfo;
46 @JsonProperty("cloudConfiguration")
47 protected CloudConfiguration cloudConfiguration;
48 @JsonProperty("requestParameters")
49 protected RequestParameters requestParameters;
50 @JsonProperty("project")
51 protected Project project;
52 @JsonProperty("owningEntity")
53 protected OwningEntity owningEntity;
54 @JsonProperty("platform")
55 protected Platform platform;
56 @JsonProperty("lineOfBusiness")
57 protected LineOfBusiness lineOfBusiness;
58 @JsonProperty("instanceName")
59 private List<Map<String, String>> instanceName = new ArrayList<>();
60 @JsonProperty("configurationParameters")
61 protected List<Map<String, String>> configurationParameters = new ArrayList<>();
65 * Gets the value of the serviceInfo property.
67 * @return possible object is {@link ModelInfo }
70 public ModelInfo getModelInfo() {
75 * Sets the value of the serviceInfo property.
77 * @param value allowed object is {@link ModelInfo }
80 public void setModelInfo(ModelInfo value) {
81 this.modelInfo = value;
85 * Gets the value of the requestInfo property.
87 * @return possible object is {@link RequestInfo }
90 public RequestInfo getRequestInfo() {
95 * Sets the value of the requestInfo property.
97 * @param value allowed object is {@link RequestInfo }
100 public void setRequestInfo(RequestInfo value) {
101 this.requestInfo = value;
105 * Gets the value of the subscriberInfo property.
107 * @return possible object is {@link SubscriberInfo }
110 public SubscriberInfo getSubscriberInfo() {
111 return subscriberInfo;
115 * Sets the value of the subscriberInfo property.
117 * @param value allowed object is {@link SubscriberInfo }
120 public void setSubscriberInfo(SubscriberInfo value) {
121 this.subscriberInfo = value;
125 * Gets the value of the cloudConfiguration property.
127 * @return possible object is {@link CloudConfiguration }
130 public CloudConfiguration getCloudConfiguration() {
131 return cloudConfiguration;
135 * Sets the value of the cloudConfiguration property.
137 * @param value allowed object is {@link CloudConfiguration }
140 public void setCloudConfiguration(CloudConfiguration value) {
141 this.cloudConfiguration = value;
145 * Gets the value of the requestParameters property.
147 * @return possible object is {@link RequestParameters }
150 public RequestParameters getRequestParameters() {
151 return requestParameters;
155 * Sets the value of the requestParameters property.
157 * @param value allowed object is {@link RequestParameters }
160 public void setRequestParameters(RequestParameters value) {
161 this.requestParameters = value;
164 public RelatedInstanceList[] getRelatedInstanceList() {
165 return relatedInstanceList;
168 public void setRelatedInstanceList(RelatedInstanceList[] relatedInstanceList) {
169 this.relatedInstanceList = relatedInstanceList;
173 * Gets the value of the project property.
175 * @return possible object is {@link Project }
178 public Project getProject() {
183 * Sets the value of the project property.
185 * @param value allowed object is {@link Project }
188 public void setProject(Project value) {
189 this.project = value;
193 * Gets the value of the owningEntity property.
195 * @return possible object is {@link OwningEntity }
198 public OwningEntity getOwningEntity() {
203 * Sets the value of the owningEntity property.
205 * @param value allowed object is {@link OwningEntity }
208 public void setOwningEntity(OwningEntity value) {
209 this.owningEntity = value;
213 * Gets the value of the platform property.
215 * @return possible object is {@link Platform }
218 public Platform getPlatform() {
223 * Sets the value of the platform property.
225 * @param value allowed object is {@link Platform }
228 public void setPlatform(Platform value) {
229 this.platform = value;
233 * Gets the value of the lineOfBusiness property.
235 * @return possible object is {@link LineOfBusiness }
238 public LineOfBusiness getLineOfBusiness() {
239 return lineOfBusiness;
243 * Sets the value of the lineOfBusiness property.
245 * @param value allowed object is {@link LineOfBusiness }
248 public void setLineOfBusiness(LineOfBusiness value) {
249 this.lineOfBusiness = value;
253 * Gets the value of the instanceName property.
255 public List<Map<String, String>> getInstanceName() {
260 * Sets the value of the instanceName property.
265 public void setInstanceName(List<Map<String, String>> instanceName) {
266 this.instanceName = instanceName;
269 public List<Map<String, String>> getConfigurationParameters() {
270 return configurationParameters;
273 public void setConfigurationParameters(List<Map<String, String>> configurationParameters) {
274 this.configurationParameters = configurationParameters;
278 public String toString() {
279 return "RequestDetails [modelInfo=" + modelInfo + ", requestInfo=" + requestInfo + ", relatedInstanceList="
280 + Arrays.toString(relatedInstanceList) + ", subscriberInfo=" + subscriberInfo + ", cloudConfiguration="
281 + cloudConfiguration + ", requestParameters=" + requestParameters + ", project=" + project
282 + ", owningEntity=" + owningEntity + ", platform=" + platform + ", lineOfBusiness=" + lineOfBusiness
283 + ", instanceName=" + instanceName + ", configurationParameters=" + configurationParameters + "]";