cd8230ef9af25cacfdb8da5bc25edece2c452771
[dcaegen2/platform.git] / mod / bpgenerator / common / src / main / java / org / onap / blueprintgenerator / model / componentspec / common / Publishes.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.componentspec.common;
25
26 import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
27 import com.fasterxml.jackson.annotation.JsonInclude;
28 import lombok.Data;
29 import lombok.EqualsAndHashCode;
30
31 /**
32  * @author : Ravi Mantena
33  * @date 10/16/2020
34  * Application: DCAE/ONAP - Blueprint Generator
35  * Common Module: Used by both ONAP and DCAE Blueprint Applications
36  * Component Spec Model: For Publishes
37  */
38
39 @Data
40 @JsonInclude(value = JsonInclude.Include.NON_NULL)
41 @JsonIgnoreProperties(ignoreUnknown = true)
42 @EqualsAndHashCode
43 public class Publishes {
44
45         private String config_key;
46
47         private String format;
48
49         private String type;
50
51         private String version;
52
53         //Used in ONAP
54         private String route;
55
56 }