2 * ============LICENSE_START=======================================================
4 * ================================================================================
5 * Copyright (C) 2017-2018 AT&T Intellectual Property. All rights reserved.
6 * ================================================================================
7 * Copyright (C) 2017 Amdocs
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.
21 * ============LICENSE_END=========================================================
24 package org.onap.appc.seqgen.objects;
26 import com.fasterxml.jackson.annotation.JsonIgnore;
27 import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
28 import com.fasterxml.jackson.annotation.JsonProperty;
29 import com.fasterxml.jackson.databind.annotation.JsonSerialize;
30 import org.onap.appc.dg.objects.InventoryModel;
31 import org.onap.appc.dg.objects.VnfcDependencyModel;
33 import javax.validation.constraints.NotNull;
34 import java.util.List;
37 @JsonSerialize(include = JsonSerialize.Inclusion.NON_NULL)
38 @JsonIgnoreProperties(ignoreUnknown = true)
39 public class SequenceGeneratorInput {
42 @JsonProperty("request-info")
43 private RequestInfo requestInfo;
46 private InventoryModel inventoryModel;
49 private VnfcDependencyModel dependencyModel;
51 @JsonProperty("tunable-parameters")
52 private Map<String,String> tunableParams;
54 @JsonProperty("capabilities")
55 private Map<String,List<String>> capability;
57 public RequestInfo getRequestInfo() {
61 public void setRequestInfo(RequestInfo requestInfo) {
62 this.requestInfo = requestInfo;
65 public InventoryModel getInventoryModel() {
66 return inventoryModel;
69 public void setInventoryModel(InventoryModel inventoryModel) {
70 this.inventoryModel = inventoryModel;
73 public VnfcDependencyModel getDependencyModel() {
74 return dependencyModel;
77 public void setDependencyModel(VnfcDependencyModel dependencyModel) {
78 this.dependencyModel = dependencyModel;
81 public Map<String, String> getTunableParams() {
85 public void setTunableParams(Map<String, String> tunableParams) {
86 this.tunableParams = tunableParams;
89 public Map<String, List<String>> getCapability() {
93 public void setCapability(Map<String, List<String>> capability) {
94 this.capability = capability;