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;
36 @JsonSerialize(include = JsonSerialize.Inclusion.NON_NULL)
37 @JsonIgnoreProperties(ignoreUnknown = true)
38 public class SequenceGeneratorInput {
41 @JsonProperty("request-info")
42 private RequestInfo requestInfo;
44 private InventoryModel inventoryModel;
46 private VnfcDependencyModel dependencyModel;
48 @JsonProperty("tunable-parameters")
49 private Map<String,String> tunableParams;
51 private CapabilityModel capabilityModel;
53 public RequestInfo getRequestInfo() {
57 public void setRequestInfo(RequestInfo requestInfo) {
58 this.requestInfo = requestInfo;
61 public InventoryModel getInventoryModel() {
62 return inventoryModel;
65 public void setInventoryModel(InventoryModel inventoryModel) {
66 this.inventoryModel = inventoryModel;
69 public VnfcDependencyModel getDependencyModel() {
70 return dependencyModel;
73 public void setDependencyModel(VnfcDependencyModel dependencyModel) {
74 this.dependencyModel = dependencyModel;
77 public Map<String, String> getTunableParams() {
81 public void setTunableParams(Map<String, String> tunableParams) {
82 this.tunableParams = tunableParams;
85 public CapabilityModel getCapability() {
86 return capabilityModel;
89 public void setCapabilityModel(CapabilityModel capabilityModel) {
90 this.capabilityModel = capabilityModel;