Second part of onap rename
[appc.git] / appc-sequence-generator / appc-sequence-generator-bundle / src / main / java / org / openecomp / appc / seqgen / objects / SequenceGeneratorInput.java
1 /*-
2  * ============LICENSE_START=======================================================
3  * ONAP : APP-C
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
10  * 
11  *      http://www.apache.org/licenses/LICENSE-2.0
12  * 
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=========================================================
19  */
20
21 package org.onap.appc.seqgen.objects;
22
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;
29
30 import javax.validation.constraints.NotNull;
31 import java.util.List;
32 import java.util.Map;
33
34 @JsonSerialize(include = JsonSerialize.Inclusion.NON_NULL)
35 @JsonIgnoreProperties(ignoreUnknown = true)
36 public class SequenceGeneratorInput {
37
38     @NotNull
39     @JsonProperty("request-info")
40     private RequestInfo requestInfo;
41
42     @JsonIgnore
43     private InventoryModel inventoryModel;
44
45     @JsonIgnore
46     private VnfcDependencyModel dependencyModel;
47
48     @JsonProperty("tunable-parameters")
49     private Map<String,String> tunableParams;
50
51     @JsonProperty("capabilities")
52     private Map<String,List<String>> capability;
53
54     public RequestInfo getRequestInfo() {
55         return requestInfo;
56     }
57
58     public void setRequestInfo(RequestInfo requestInfo) {
59         this.requestInfo = requestInfo;
60     }
61
62     public InventoryModel getInventoryModel() {
63         return inventoryModel;
64     }
65
66     public void setInventoryModel(InventoryModel inventoryModel) {
67         this.inventoryModel = inventoryModel;
68     }
69
70     public VnfcDependencyModel getDependencyModel() {
71         return dependencyModel;
72     }
73
74     public void setDependencyModel(VnfcDependencyModel dependencyModel) {
75         this.dependencyModel = dependencyModel;
76     }
77
78     public Map<String, String> getTunableParams() {
79         return tunableParams;
80     }
81
82     public void setTunableParams(Map<String, String> tunableParams) {
83         this.tunableParams = tunableParams;
84     }
85
86     public Map<String, List<String>> getCapability() {
87         return capability;
88     }
89
90     public void setCapability(Map<String, List<String>> capability) {
91         this.capability = capability;
92     }
93 }