Support 7.2.1 VES in TCAGEN2
[dcaegen2/analytics/tca-gen2.git] / dcae-analytics / dcae-analytics-tca-model / src / main / java / org / onap / dcae / analytics / tca / model / policy / MetricsPerEventName.java
1 /*
2  * ===========LICENSE_START========================================================
3  * Copyright (c) 2018 AT&T Intellectual Property. All rights reserved.
4  * Copyright (c) 2022 Wipro Limited Intellectual Property. All rights reserved.
5  * ================================================================================
6  * Licensed under the Apache License, Version 2.0 (the "License");
7  * you may not use this file except in compliance with the License.
8  * You may obtain a copy of the License at
9  *
10  *      http://www.apache.org/licenses/LICENSE-2.0
11  *
12  * Unless required by applicable law or agreed to in writing, software
13  * distributed under the License is distributed on an "AS IS" BASIS,
14  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15  * See the License for the specific language governing permissions and
16  * limitations under the License.
17  * ============LICENSE_END=========================================================
18  *
19  */
20
21 package org.onap.dcae.analytics.tca.model.policy;
22
23 import lombok.Data;
24 import lombok.EqualsAndHashCode;
25
26 import java.util.List;
27
28 /**
29  * TCA Metrics that need to applied to each Event Name
30  *
31  * @author Rajiv Singla
32  */
33 @Data
34 @EqualsAndHashCode(callSuper = true)
35 public class MetricsPerEventName extends BaseTcaPolicyModel {
36
37
38     private static final long serialVersionUID = 1L;
39
40     /**
41      * Event Name to which TCA Policy needs to applied.
42      */
43     private String eventName;
44
45     /**
46      * Control Loop Schema Type
47      */
48     private ControlLoopSchemaType controlLoopSchemaType;
49
50     /**
51      * Policy Scope
52      */
53     private String policyScope;
54
55     /**
56      * Policy Name
57      */
58     private String policyName;
59
60     /**
61      * Policy Version
62      */
63     private String policyVersion;
64
65     /**
66      * Policy Thresholds
67      */
68     private List<Threshold> thresholds;
69     
70     public MetricsPerEventName() { }
71
72 }