]> git.basschouten.com Git - openhab-addons.git/blob
b46b04b514e466f283a89bd998ee399c642f6018
[openhab-addons.git] /
1 /**
2  * Copyright (c) 2010-2023 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.innogysmarthome.internal.client.entity.action;
14
15 /**
16  * Defines the {@link ActionParams} data structure needed to pass parameters within an {@link Action} to the innogy
17  * SmartHome backend.
18  *
19  * @author Oliver Kuhl - Initial contribution
20  */
21 public class ActionParams {
22
23     private BooleanActionParam onState;
24
25     private BooleanActionParam value;
26
27     private DoubleActionParam pointTemperature;
28
29     private IntegerActionParam dimLevel;
30
31     private IntegerActionParam shutterLevel;
32
33     private StringActionParam operationMode;
34
35     private StringActionParam rampDirection;
36
37     /**
38      * @return the onState
39      */
40     public BooleanActionParam getOnState() {
41         return onState;
42     }
43
44     /**
45      * @param state the state to set
46      */
47     public void setOnState(BooleanActionParam state) {
48         this.onState = state;
49     }
50
51     /**
52      * @return the onState
53      */
54     public BooleanActionParam getValue() {
55         return value;
56     }
57
58     /**
59      * @param state the state to set
60      */
61     public void setValue(BooleanActionParam state) {
62         this.value = state;
63     }
64
65     /**
66      * @return the pointTemperature
67      */
68     public DoubleActionParam getPointTemperature() {
69         return pointTemperature;
70     }
71
72     /**
73      * @param pointTemperature the pointTemperature to set
74      */
75     public void setPointTemperature(DoubleActionParam pointTemperature) {
76         this.pointTemperature = pointTemperature;
77     }
78
79     /**
80      * @return the dimLevel
81      */
82     public IntegerActionParam getDimLevel() {
83         return dimLevel;
84     }
85
86     /**
87      * @param dimLevel the dimLevel to set
88      */
89     public void setDimLevel(IntegerActionParam dimLevel) {
90         this.dimLevel = dimLevel;
91     }
92
93     /**
94      * @return the shutterLevel
95      */
96     public IntegerActionParam getShutterLevel() {
97         return shutterLevel;
98     }
99
100     /**
101      * @param shutterLevel the shutterLevel to set
102      */
103     public void setShutterLevel(IntegerActionParam shutterLevel) {
104         this.shutterLevel = shutterLevel;
105     }
106
107     /**
108      * @return the operationMode
109      */
110     public StringActionParam getOperationMode() {
111         return operationMode;
112     }
113
114     /**
115      * @param operationMode the operationMode to set
116      */
117     public void setOperationMode(StringActionParam operationMode) {
118         this.operationMode = operationMode;
119     }
120
121     /**
122      * @return the rampDirection
123      */
124     public StringActionParam getRampDirection() {
125         return rampDirection;
126     }
127
128     /**
129      * @param rampDirection the rampDirection to set
130      */
131     public void setRampDirection(StringActionParam rampDirection) {
132         this.rampDirection = rampDirection;
133     }
134 }