Clean up license text in appc-sequence-generator
[appc.git] / appc-sequence-generator / appc-sequence-generator-bundle / src / main / java / org / onap / appc / seqgen / objects / SequenceGeneratorInput.java
1 /*-
2  * ============LICENSE_START=======================================================
3  * ONAP : APPC
4  * ================================================================================
5  * Copyright (C) 2017 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
12  *
13  *      http://www.apache.org/licenses/LICENSE-2.0
14  *
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.
20  *
21  * ECOMP is a trademark and service mark of AT&T Intellectual Property.
22  * ============LICENSE_END=========================================================
23  */
24
25 package org.onap.appc.seqgen.objects;
26
27 import com.fasterxml.jackson.annotation.JsonIgnore;
28 import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
29 import com.fasterxml.jackson.annotation.JsonProperty;
30 import com.fasterxml.jackson.databind.annotation.JsonSerialize;
31 import org.onap.appc.dg.objects.InventoryModel;
32 import org.onap.appc.dg.objects.VnfcDependencyModel;
33
34 import javax.validation.constraints.NotNull;
35 import java.util.List;
36 import java.util.Map;
37
38 @JsonSerialize(include = JsonSerialize.Inclusion.NON_NULL)
39 @JsonIgnoreProperties(ignoreUnknown = true)
40 public class SequenceGeneratorInput {
41
42     @NotNull
43     @JsonProperty("request-info")
44     private RequestInfo requestInfo;
45
46     @JsonIgnore
47     private InventoryModel inventoryModel;
48
49     @JsonIgnore
50     private VnfcDependencyModel dependencyModel;
51
52     @JsonProperty("tunable-parameters")
53     private Map<String,String> tunableParams;
54
55     @JsonProperty("capabilities")
56     private Map<String,List<String>> capability;
57
58     public RequestInfo getRequestInfo() {
59         return requestInfo;
60     }
61
62     public void setRequestInfo(RequestInfo requestInfo) {
63         this.requestInfo = requestInfo;
64     }
65
66     public InventoryModel getInventoryModel() {
67         return inventoryModel;
68     }
69
70     public void setInventoryModel(InventoryModel inventoryModel) {
71         this.inventoryModel = inventoryModel;
72     }
73
74     public VnfcDependencyModel getDependencyModel() {
75         return dependencyModel;
76     }
77
78     public void setDependencyModel(VnfcDependencyModel dependencyModel) {
79         this.dependencyModel = dependencyModel;
80     }
81
82     public Map<String, String> getTunableParams() {
83         return tunableParams;
84     }
85
86     public void setTunableParams(Map<String, String> tunableParams) {
87         this.tunableParams = tunableParams;
88     }
89
90     public Map<String, List<String>> getCapability() {
91         return capability;
92     }
93
94     public void setCapability(Map<String, List<String>> capability) {
95         this.capability = capability;
96     }
97 }