Merge "Changes to Regex for Name and version Issue-ID: DCAEGEN2-1867"
[dcaegen2/platform.git] / mod / bpgenerator / common / src / main / java / org / onap / blueprintgenerator / model / base / Blueprint.java
1 /*
2  *
3  *  * ============LICENSE_START=======================================================
4  *  *  org.onap.dcae
5  *  *  ================================================================================
6  *  *  Copyright (c) 2020  AT&T Intellectual Property. All rights reserved.
7  *  *  ================================================================================
8  *  *  Licensed under the Apache License, Version 2.0 (the "License");
9  *  *  you may not use this file except in compliance with the License.
10  *  *  You may obtain a copy of the License at
11  *  *
12  *  *       http://www.apache.org/licenses/LICENSE-2.0
13  *  *
14  *  *  Unless required by applicable law or agreed to in writing, software
15  *  *  distributed under the License is distributed on an "AS IS" BASIS,
16  *  *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17  *  *  See the License for the specific language governing permissions and
18  *  *  limitations under the License.
19  *  *  ============LICENSE_END=========================================================
20  *
21  *
22  */
23
24 package org.onap.blueprintgenerator.model.base;
25
26 import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
27 import com.fasterxml.jackson.annotation.JsonInclude;
28 import lombok.Data;
29
30 import java.util.LinkedHashMap;
31 import java.util.List;
32 import java.util.Map;
33
34 /**
35  * @author : Ravi Mantena
36  * @date 10/16/2020
37  * Application: DCAE/ONAP - Blueprint Generator
38  * Common Module: Used by both ONAP and DCAE Blueprint Applications
39  * Base Model: For Blueprint
40  */
41
42 @Data
43 @JsonInclude(value = JsonInclude.Include.NON_NULL)
44 @JsonIgnoreProperties(ignoreUnknown = true)
45 public class Blueprint {
46
47         private String tosca_definitions_version;
48
49         private String description;
50
51         private List<String> imports;
52
53         private Map<String, LinkedHashMap<String, Object>> inputs;
54
55 }