671a956177f0123452f9778f3a020a912042ce43
[dcaegen2/services.git] /
1 /*******************************************************************************
2  *  ============LICENSE_START=======================================================
3  *  slice-analysis-ms
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
10  *
11  *          http://www.apache.org/licenses/LICENSE-2.0
12  *
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=========================================================
19  *
20  *******************************************************************************/
21
22 package org.onap.slice.analysis.ms.models.policy;
23
24 import com.fasterxml.jackson.annotation.JsonProperty;
25
26 /** 
27  * Model class for the OnsetMessage Object 
28  */
29 public class OnsetMessage {
30
31         private String closedLoopControlName;
32         private Long closedLoopAlarmStart;
33         private String closedLoopEventClient;
34         private String closedLoopEventStatus;
35         private String requestID;
36
37         @JsonProperty("target_type")
38         private String targetType;   
39
40         @JsonProperty("AAI")
41         private AAI aai;
42
43         private String target;
44         private Payload payload;
45         private String from;
46         private String version;
47
48         public String getClosedLoopControlName() {
49                 return closedLoopControlName;
50         }
51
52         public void setClosedLoopControlName(String closedLoopControlName) {
53                 this.closedLoopControlName = closedLoopControlName;
54         }
55
56         public Long getClosedLoopAlarmStart() {
57                 return closedLoopAlarmStart;
58         }
59
60         public void setClosedLoopAlarmStart(Long closedLoopAlarmStart) {
61                 this.closedLoopAlarmStart = closedLoopAlarmStart;
62         }
63
64         public String getClosedLoopEventClient() {
65                 return closedLoopEventClient;
66         }
67
68         public void setClosedLoopEventClient(String closedLoopEventClient) {
69                 this.closedLoopEventClient = closedLoopEventClient;
70         }
71
72         public String getClosedLoopEventStatus() {
73                 return closedLoopEventStatus;
74         }
75
76         public void setClosedLoopEventStatus(String closedLoopEventStatus) {
77                 this.closedLoopEventStatus = closedLoopEventStatus;
78         }
79
80         public String getRequestID() {
81                 return requestID;
82         }
83
84         public void setRequestID(String requestID) {
85                 this.requestID = requestID;
86         }
87
88         public String getTargetType() {
89                 return targetType;
90         }
91
92         public void setTargetType(String targetType) {
93                 this.targetType = targetType;
94         }
95
96         public String getTarget() {
97                 return target;
98         }
99
100         public void setTarget(String target) {
101                 this.target = target;
102         }
103
104         public AAI getAai() {
105                 return aai;
106         }
107
108         public void setAai(AAI aAI) {
109                 this.aai = aAI;
110         }
111
112         public Payload getPayload() {
113                 return payload;
114         }
115
116         public void setPayload(Payload payload) {
117                 this.payload = payload;
118         }
119
120         public String getFrom() {
121                 return from;
122         }
123
124         public void setFrom(String from) {
125                 this.from = from;
126         }
127
128         public String getVersion() {
129                 return version;
130         }
131
132         public void setVersion(String version) {
133                 this.version = version;
134         }
135
136 }