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.appc.seqgen.objects;
23 import com.fasterxml.jackson.annotation.JsonIgnore;
24 import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
25 import com.fasterxml.jackson.annotation.JsonProperty;
26 import com.fasterxml.jackson.databind.annotation.JsonSerialize;
27 import org.onap.appc.dg.objects.InventoryModel;
28 import org.onap.appc.dg.objects.VnfcDependencyModel;
30 import javax.validation.constraints.NotNull;
31 import java.util.List;
34 @JsonSerialize(include = JsonSerialize.Inclusion.NON_NULL)
35 @JsonIgnoreProperties(ignoreUnknown = true)
36 public class SequenceGeneratorInput {
39 @JsonProperty("request-info")
40 private RequestInfo requestInfo;
43 private InventoryModel inventoryModel;
46 private VnfcDependencyModel dependencyModel;
48 @JsonProperty("tunable-parameters")
49 private Map<String,String> tunableParams;
51 @JsonProperty("capabilities")
52 private Map<String,List<String>> capability;
54 public RequestInfo getRequestInfo() {
58 public void setRequestInfo(RequestInfo requestInfo) {
59 this.requestInfo = requestInfo;
62 public InventoryModel getInventoryModel() {
63 return inventoryModel;
66 public void setInventoryModel(InventoryModel inventoryModel) {
67 this.inventoryModel = inventoryModel;
70 public VnfcDependencyModel getDependencyModel() {
71 return dependencyModel;
74 public void setDependencyModel(VnfcDependencyModel dependencyModel) {
75 this.dependencyModel = dependencyModel;
78 public Map<String, String> getTunableParams() {
82 public void setTunableParams(Map<String, String> tunableParams) {
83 this.tunableParams = tunableParams;
86 public Map<String, List<String>> getCapability() {
90 public void setCapability(Map<String, List<String>> capability) {
91 this.capability = capability;