2 * ============LICENSE_START=======================================================
4 * ================================================================================
5 * Copyright (C) 2017-2019, 2021 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;
31 import lombok.NoArgsConstructor;
33 import lombok.ToString;
40 public class SoRequestDetails implements Serializable {
42 private static final long serialVersionUID = -3283942659786236032L;
44 private SoModelInfo modelInfo;
45 private SoCloudConfiguration cloudConfiguration;
46 private SoRequestInfo requestInfo;
47 private SoSubscriberInfo subscriberInfo;
48 private List<SoRelatedInstanceListElement> relatedInstanceList = new LinkedList<>();
49 private SoRequestParameters requestParameters;
50 private List<Map<String, String>> configurationParameters = new LinkedList<>();
55 * @param soRequestDetails copy object
57 public SoRequestDetails(SoRequestDetails soRequestDetails) {
58 this.modelInfo = soRequestDetails.modelInfo;
59 this.cloudConfiguration = soRequestDetails.cloudConfiguration;
60 this.requestInfo = soRequestDetails.requestInfo;
61 this.relatedInstanceList = soRequestDetails.relatedInstanceList;
62 this.requestParameters = soRequestDetails.requestParameters;
63 this.subscriberInfo = soRequestDetails.subscriberInfo;