1 /*******************************************************************************
2 * ============LICENSE_START=======================================================
4 * ================================================================================
5 * Copyright (C) 2020 Wipro Limited.
6 * ==============================================================================
7 * Licensed under the Apache License, Version 2.0 (the "License");
8 * you may not use this file except in compliance with the License.
9 * You may obtain a copy of the License at
11 * http://www.apache.org/licenses/LICENSE-2.0
13 * Unless required by applicable law or agreed to in writing, software
14 * distributed under the License is distributed on an "AS IS" BASIS,
15 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 * See the License for the specific language governing permissions and
17 * limitations under the License.
18 * ============LICENSE_END=========================================================
20 *******************************************************************************/
22 package org.onap.slice.analysis.ms.models.policy;
24 import com.fasterxml.jackson.annotation.JsonProperty;
27 * Model class for the OnsetMessage Object
29 public class OnsetMessage {
31 private String closedLoopControlName;
32 private Long closedLoopAlarmStart;
33 private String closedLoopEventClient;
34 private String closedLoopEventStatus;
35 private String requestID;
37 @JsonProperty("target_type")
38 private String targetType;
43 private String target;
44 private Payload payload;
46 private String version;
48 public String getClosedLoopControlName() {
49 return closedLoopControlName;
52 public void setClosedLoopControlName(String closedLoopControlName) {
53 this.closedLoopControlName = closedLoopControlName;
56 public Long getClosedLoopAlarmStart() {
57 return closedLoopAlarmStart;
60 public void setClosedLoopAlarmStart(Long closedLoopAlarmStart) {
61 this.closedLoopAlarmStart = closedLoopAlarmStart;
64 public String getClosedLoopEventClient() {
65 return closedLoopEventClient;
68 public void setClosedLoopEventClient(String closedLoopEventClient) {
69 this.closedLoopEventClient = closedLoopEventClient;
72 public String getClosedLoopEventStatus() {
73 return closedLoopEventStatus;
76 public void setClosedLoopEventStatus(String closedLoopEventStatus) {
77 this.closedLoopEventStatus = closedLoopEventStatus;
80 public String getRequestID() {
84 public void setRequestID(String requestID) {
85 this.requestID = requestID;
88 public String getTargetType() {
92 public void setTargetType(String targetType) {
93 this.targetType = targetType;
96 public String getTarget() {
100 public void setTarget(String target) {
101 this.target = target;
104 public AAI getAai() {
108 public void setAai(AAI aAI) {
112 public Payload getPayload() {
116 public void setPayload(Payload payload) {
117 this.payload = payload;
120 public String getFrom() {
124 public void setFrom(String from) {
128 public String getVersion() {
132 public void setVersion(String version) {
133 this.version = version;