File tree 1 file changed +36
-0
lines changed
src/env/application/presenter/event/model/automation/request/customlight/payload
1 file changed +36
-0
lines changed Original file line number Diff line number Diff line change
1
+ /*
2
+ * Copyright (c) 2023. Smart Operating Block
3
+ *
4
+ * Use of this source code is governed by an MIT-style
5
+ * license that can be found in the LICENSE file or at
6
+ * https://opensource.org/licenses/MIT.
7
+ */
8
+
9
+ package application .presenter .event .model .automation .request .customlight .payload ;
10
+
11
+ /**
12
+ * {@link application.presenter.event.model.automation.request.customlight.CustomLightRequestEvent} event payload
13
+ * that represent the request to stop the custom management of lights in a specific operating room.
14
+ */
15
+ public class CustomLightStopRequestPayload implements CustomLightSetupPayload {
16
+ /** Custom Light Stop request event key. */
17
+ public static final String CUSTOM_LIGHT_STOP_REQUEST_EVENT_KEY = "CUSTOM_LIGHT_STOP_REQUEST_EVENT" ;
18
+
19
+ private final String roomId ;
20
+
21
+ /**
22
+ * Default constructor.
23
+ * @param roomId the room id involved in the event.
24
+ */
25
+ public CustomLightStopRequestPayload (final String roomId ) {
26
+ this .roomId = roomId ;
27
+ }
28
+
29
+ /**
30
+ * Get the room id involved in the event.
31
+ * @return the room id.
32
+ */
33
+ public String getRoomId () {
34
+ return this .roomId ;
35
+ }
36
+ }
You can’t perform that action at this time.
0 commit comments