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;
29 import com.fasterxml.jackson.annotation.JsonInclude;
30 import com.fasterxml.jackson.annotation.JsonInclude.Include;
31 import com.fasterxml.jackson.annotation.JsonProperty;
32 import com.fasterxml.jackson.annotation.JsonRootName;
34 @JsonRootName(value = "requestDetails")
35 @JsonInclude(Include.NON_DEFAULT)
36 public class RequestDetails implements Serializable {
38 private static final long serialVersionUID = -73080684945860609L;
39 @JsonProperty("modelInfo")
40 protected ModelInfo modelInfo;
41 @JsonProperty("requestInfo")
42 protected RequestInfo requestInfo;
43 @JsonProperty("relatedInstanceList")
44 protected RelatedInstanceList[] relatedInstanceList;
45 @JsonProperty("subscriberInfo")
46 protected SubscriberInfo subscriberInfo;
47 @JsonProperty("cloudConfiguration")
48 protected CloudConfiguration cloudConfiguration;
49 @JsonProperty("requestParameters")
50 protected RequestParameters requestParameters;
51 @JsonProperty("project")
52 protected Project project;
53 @JsonProperty("owningEntity")
54 protected OwningEntity owningEntity;
55 @JsonProperty("platform")
56 protected Platform platform;
57 @JsonProperty("lineOfBusiness")
58 protected LineOfBusiness lineOfBusiness;
59 @JsonProperty("instanceName")
60 private List<Map<String, String>> instanceName = new ArrayList<>();
61 @JsonProperty("configurationParameters")
62 protected List<Map<String, String>> configurationParameters = new ArrayList<>();
66 * Gets the value of the serviceInfo property.
73 public ModelInfo getModelInfo() {
78 * Sets the value of the serviceInfo property.
85 public void setModelInfo(ModelInfo value) {
86 this.modelInfo = value;
90 * Gets the value of the requestInfo property.
94 * {@link RequestInfo }
97 public RequestInfo getRequestInfo() {
102 * Sets the value of the requestInfo property.
106 * {@link RequestInfo }
109 public void setRequestInfo(RequestInfo value) {
110 this.requestInfo = value;
114 * Gets the value of the subscriberInfo property.
118 * {@link SubscriberInfo }
121 public SubscriberInfo getSubscriberInfo() {
122 return subscriberInfo;
126 * Sets the value of the subscriberInfo property.
130 * {@link SubscriberInfo }
133 public void setSubscriberInfo(SubscriberInfo value) {
134 this.subscriberInfo = value;
138 * Gets the value of the cloudConfiguration property.
142 * {@link CloudConfiguration }
145 public CloudConfiguration getCloudConfiguration() {
146 return cloudConfiguration;
150 * Sets the value of the cloudConfiguration property.
154 * {@link CloudConfiguration }
157 public void setCloudConfiguration(CloudConfiguration value) {
158 this.cloudConfiguration = value;
162 * Gets the value of the requestParameters property.
166 * {@link RequestParameters }
169 public RequestParameters getRequestParameters() {
170 return requestParameters;
174 * Sets the value of the requestParameters property.
178 * {@link RequestParameters }
181 public void setRequestParameters(RequestParameters value) {
182 this.requestParameters = value;
185 public RelatedInstanceList[] getRelatedInstanceList() {
186 return relatedInstanceList;
189 public void setRelatedInstanceList(RelatedInstanceList[] relatedInstanceList) {
190 this.relatedInstanceList = relatedInstanceList;
193 * Gets the value of the project property.
200 public Project getProject(){
204 * Sets the value of the project property.
211 public void setProject(Project value){
212 this.project = value;
215 * Gets the value of the owningEntity property.
219 * {@link OwningEntity }
222 public OwningEntity getOwningEntity(){
226 * Sets the value of the owningEntity property.
230 * {@link OwningEntity }
233 public void setOwningEntity(OwningEntity value){
234 this.owningEntity = value;
237 * Gets the value of the platform property.
244 public Platform getPlatform(){
248 * Sets the value of the platform property.
255 public void setPlatform(Platform value){
256 this.platform = value;
259 * Gets the value of the lineOfBusiness property.
263 * {@link LineOfBusiness }
266 public LineOfBusiness getLineOfBusiness(){
267 return lineOfBusiness;
270 * Sets the value of the lineOfBusiness property.
274 * {@link LineOfBusiness }
277 public void setLineOfBusiness(LineOfBusiness value){
278 this.lineOfBusiness = value;
281 * Gets the value of the instanceName property.
283 public List<Map<String, String>> getInstanceName() {
287 * Sets the value of the instanceName property.
292 public void setInstanceName(List<Map<String, String>> instanceName) {
293 this.instanceName = instanceName;
295 public List<Map<String, String>> getConfigurationParameters() {
296 return configurationParameters;
299 public void setConfigurationParameters(List<Map<String, String>> configurationParameters) {
300 this.configurationParameters = configurationParameters;
304 public String toString() {
305 return "RequestDetails [modelInfo=" + modelInfo + ", requestInfo=" + requestInfo + ", relatedInstanceList="
306 + Arrays.toString(relatedInstanceList) + ", subscriberInfo=" + subscriberInfo + ", cloudConfiguration="
307 + cloudConfiguration + ", requestParameters=" + requestParameters + ", project=" + project
308 + ", owningEntity=" + owningEntity + ", platform=" + platform + ", lineOfBusiness=" + lineOfBusiness
309 + ", instanceName=" + instanceName + ", configurationParameters=" + configurationParameters + "]";