2 * ============LICENSE_START=======================================================
4 * ================================================================================
5 * Copyright (C) 2017-2019 AT&T Intellectual Property. All rights reserved.
6 * Modifications Copyright (C) 2019 Nordix Foundation.
7 * Modifications Copyright (C) 2020 AT&T Intellectual Property. All rights reserved.
8 * ================================================================================
9 * Licensed under the Apache License, Version 2.0 (the "License");
10 * you may not use this file except in compliance with the License.
11 * You may obtain a copy of the License at
13 * http://www.apache.org/licenses/LICENSE-2.0
15 * Unless required by applicable law or agreed to in writing, software
16 * distributed under the License is distributed on an "AS IS" BASIS,
17 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
18 * See the License for the specific language governing permissions and
19 * limitations under the License.
20 * ============LICENSE_END=========================================================
23 package org.onap.policy.so;
25 import java.io.Serializable;
26 import java.util.LinkedList;
27 import java.util.List;
29 import lombok.EqualsAndHashCode;
36 public class SoRequestDetails implements Serializable {
38 private static final long serialVersionUID = -3283942659786236032L;
40 private SoModelInfo modelInfo;
41 private SoCloudConfiguration cloudConfiguration;
42 private SoRequestInfo requestInfo;
43 private SoSubscriberInfo subscriberInfo;
44 private List<SoRelatedInstanceListElement> relatedInstanceList = new LinkedList<>();
45 private SoRequestParameters requestParameters;
46 private List<Map<String, String>> configurationParameters = new LinkedList<>();
48 public SoRequestDetails() {
54 * @param soRequestDetails copy object
56 public SoRequestDetails(SoRequestDetails soRequestDetails) {
57 this.modelInfo = soRequestDetails.modelInfo;
58 this.cloudConfiguration = soRequestDetails.cloudConfiguration;
59 this.requestInfo = soRequestDetails.requestInfo;
60 this.relatedInstanceList = soRequestDetails.relatedInstanceList;
61 this.requestParameters = soRequestDetails.requestParameters;
62 this.subscriberInfo = soRequestDetails.subscriberInfo;
66 public String toString() {
67 return "SORequestDetails [modelInfo=" + modelInfo + ", cloudConfiguration=" + cloudConfiguration
68 + ", requestInfo=" + requestInfo + ", subscriberInfo=" + subscriberInfo
69 + ", relatedInstanceList=" + relatedInstanceList + ", requestParameters=" + requestParameters
70 + ", configurationParameters=" + configurationParameters + "]";