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
10 * http://www.apache.org/licenses/LICENSE-2.0
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=========================================================
21 package org.onap.dcae.analytics.tca.model.policy;
24 import lombok.EqualsAndHashCode;
26 import java.util.List;
29 * TCA Metrics that need to applied to each Event Name
31 * @author Rajiv Singla
34 @EqualsAndHashCode(callSuper = true)
35 public class MetricsPerEventName extends BaseTcaPolicyModel {
38 private static final long serialVersionUID = 1L;
41 * Event Name to which TCA Policy needs to applied.
43 private String eventName;
46 * Control Loop Schema Type
48 private ControlLoopSchemaType controlLoopSchemaType;
53 private String policyScope;
58 private String policyName;
63 private String policyVersion;
68 private List<Threshold> thresholds;
70 public MetricsPerEventName() { }