]> git.basschouten.com Git - openhab-addons.git/blob
87d57ff1fc9a0101152c0a2240258d43a16cc73e
[openhab-addons.git] /
1 /**
2  * Copyright (c) 2010-2024 Contributors to the openHAB project
3  *
4  * See the NOTICE file(s) distributed with this work for additional
5  * information.
6  *
7  * This program and the accompanying materials are made available under the
8  * terms of the Eclipse Public License 2.0 which is available at
9  * http://www.eclipse.org/legal/epl-2.0
10  *
11  * SPDX-License-Identifier: EPL-2.0
12  */
13 package org.openhab.binding.livisismarthome.internal.client.api.entity.action;
14
15 /**
16  * Defines the {@link ActionParamsDTO} data structure needed to pass parameters within an {@link ActionDTO} to the
17  * Livisi
18  * SmartHome backend.
19  *
20  * @author Oliver Kuhl - Initial contribution
21  */
22 public class ActionParamsDTO {
23
24     private BooleanActionParamDTO onState;
25     private BooleanActionParamDTO value;
26     private DoubleActionParamDTO pointTemperature;
27     private IntegerActionParamDTO dimLevel;
28     private IntegerActionParamDTO shutterLevel;
29     private StringActionParamDTO operationMode;
30     private StringActionParamDTO rampDirection;
31
32     /**
33      * @return the onState
34      */
35     public BooleanActionParamDTO getOnState() {
36         return onState;
37     }
38
39     /**
40      * @param state the state to set
41      */
42     public void setOnState(BooleanActionParamDTO state) {
43         this.onState = state;
44     }
45
46     /**
47      * @return the onState
48      */
49     public BooleanActionParamDTO getValue() {
50         return value;
51     }
52
53     /**
54      * @param state the state to set
55      */
56     public void setValue(BooleanActionParamDTO state) {
57         this.value = state;
58     }
59
60     /**
61      * @return the pointTemperature
62      */
63     public DoubleActionParamDTO getPointTemperature() {
64         return pointTemperature;
65     }
66
67     /**
68      * @param pointTemperature the pointTemperature to set
69      */
70     public void setPointTemperature(DoubleActionParamDTO pointTemperature) {
71         this.pointTemperature = pointTemperature;
72     }
73
74     /**
75      * @return the dimLevel
76      */
77     public IntegerActionParamDTO getDimLevel() {
78         return dimLevel;
79     }
80
81     /**
82      * @param dimLevel the dimLevel to set
83      */
84     public void setDimLevel(IntegerActionParamDTO dimLevel) {
85         this.dimLevel = dimLevel;
86     }
87
88     /**
89      * @return the shutterLevel
90      */
91     public IntegerActionParamDTO getShutterLevel() {
92         return shutterLevel;
93     }
94
95     /**
96      * @param shutterLevel the shutterLevel to set
97      */
98     public void setShutterLevel(IntegerActionParamDTO shutterLevel) {
99         this.shutterLevel = shutterLevel;
100     }
101
102     /**
103      * @return the operationMode
104      */
105     public StringActionParamDTO getOperationMode() {
106         return operationMode;
107     }
108
109     /**
110      * @param operationMode the operationMode to set
111      */
112     public void setOperationMode(StringActionParamDTO operationMode) {
113         this.operationMode = operationMode;
114     }
115
116     /**
117      * @return the rampDirection
118      */
119     public StringActionParamDTO getRampDirection() {
120         return rampDirection;
121     }
122
123     /**
124      * @param rampDirection the rampDirection to set
125      */
126     public void setRampDirection(StringActionParamDTO rampDirection) {
127         this.rampDirection = rampDirection;
128     }
129 }