2 * ============LICENSE_START=======================================================
4 * ================================================================================
5 * Copyright (C) 2017 Huawei Technologies Co., Ltd. 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.openecomp.mso.apihandlerinfra.e2eserviceinstancebeans;
23 import org.codehaus.jackson.annotate.JsonIgnore;
24 import org.codehaus.jackson.annotate.JsonIgnoreProperties;
25 import org.codehaus.jackson.annotate.JsonProperty;
27 import java.util.HashMap;
28 import java.util.List;
31 @JsonIgnoreProperties({ "additionalProperties" })
32 public class E2EParameters {
34 @JsonProperty("locationConstraints")
35 List<LocationConstraint> locationConstraints;
37 @JsonProperty("resources")
38 private List<ResourceRequest> resources;
40 @JsonProperty("requestInputs")
41 private HashMap<String, ?> requestInputs;
44 private Map<String, Object> additionalProperties = new HashMap<>();
46 public Map<String, Object> getAdditionalProperties() {
47 return additionalProperties;
50 public void setAdditionalProperties(Map<String, Object> additionalProperties) {
51 this.additionalProperties = additionalProperties;
55 * @return Returns the resources.
57 public List<ResourceRequest> getResources() {
62 * @param resources The resources to set.
64 public void setResources(List<ResourceRequest> resources) {
65 this.resources = resources;
68 public List<LocationConstraint> getLocationConstraints() {
69 return locationConstraints;
72 public void setLocationConstraints(List<LocationConstraint> locationConstraints) {
73 this.locationConstraints = locationConstraints;
76 public HashMap<String, ?> getRequestInputs() {
80 public void setRequestInputs(HashMap<String, ?> requestInputs) {
81 this.requestInputs = requestInputs;