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<>();
64 * Gets the value of the serviceInfo property.
71 public ModelInfo getModelInfo() {
76 * Sets the value of the serviceInfo property.
83 public void setModelInfo(ModelInfo value) {
84 this.modelInfo = value;
88 * Gets the value of the requestInfo property.
92 * {@link RequestInfo }
95 public RequestInfo getRequestInfo() {
100 * Sets the value of the requestInfo property.
104 * {@link RequestInfo }
107 public void setRequestInfo(RequestInfo value) {
108 this.requestInfo = value;
112 * Gets the value of the subscriberInfo property.
116 * {@link SubscriberInfo }
119 public SubscriberInfo getSubscriberInfo() {
120 return subscriberInfo;
124 * Sets the value of the subscriberInfo property.
128 * {@link SubscriberInfo }
131 public void setSubscriberInfo(SubscriberInfo value) {
132 this.subscriberInfo = value;
136 * Gets the value of the cloudConfiguration property.
140 * {@link CloudConfiguration }
143 public CloudConfiguration getCloudConfiguration() {
144 return cloudConfiguration;
148 * Sets the value of the cloudConfiguration property.
152 * {@link CloudConfiguration }
155 public void setCloudConfiguration(CloudConfiguration value) {
156 this.cloudConfiguration = value;
160 * Gets the value of the requestParameters property.
164 * {@link RequestParameters }
167 public RequestParameters getRequestParameters() {
168 return requestParameters;
172 * Sets the value of the requestParameters property.
176 * {@link RequestParameters }
179 public void setRequestParameters(RequestParameters value) {
180 this.requestParameters = value;
183 public RelatedInstanceList[] getRelatedInstanceList() {
184 return relatedInstanceList;
187 public void setRelatedInstanceList(RelatedInstanceList[] relatedInstanceList) {
188 this.relatedInstanceList = relatedInstanceList;
191 * Gets the value of the project property.
198 public Project getProject(){
202 * Sets the value of the project property.
209 public void setProject(Project value){
210 this.project = value;
213 * Gets the value of the owningEntity property.
217 * {@link OwningEntity }
220 public OwningEntity getOwningEntity(){
224 * Sets the value of the owningEntity property.
228 * {@link OwningEntity }
231 public void setOwningEntity(OwningEntity value){
232 this.owningEntity = value;
235 * Gets the value of the platform property.
242 public Platform getPlatform(){
246 * Sets the value of the platform property.
253 public void setPlatform(Platform value){
254 this.platform = value;
257 * Gets the value of the lineOfBusiness property.
261 * {@link LineOfBusiness }
264 public LineOfBusiness getLineOfBusiness(){
265 return lineOfBusiness;
268 * Sets the value of the lineOfBusiness property.
272 * {@link LineOfBusiness }
275 public void setLineOfBusiness(LineOfBusiness value){
276 this.lineOfBusiness = value;
279 * Gets the value of the instanceName property.
281 public List<Map<String, String>> getInstanceName() {
285 * Sets the value of the instanceName property.
290 public void setInstanceName(List<Map<String, String>> instanceName) {
291 this.instanceName = instanceName;
294 public String toString() {
295 return "RequestDetails [modelInfo=" + modelInfo + ", requestInfo="
296 + requestInfo + ", relatedInstanceList="
297 + Arrays.toString(relatedInstanceList) + ", subscriberInfo="
298 + subscriberInfo + ", cloudConfiguration=" + cloudConfiguration
299 + ", requestParameters=" + requestParameters + ", platform=" + platform
300 + ", lineOfBusiness=" + ", project=" + project + ", owningEntity=" + owningEntity
301 + ", instanceName" + instanceName + "]";