]> git.basschouten.com Git - openhab-addons.git/blob
dab153d1d7b86b297fc9bd4928f2adf9e55cbc67
[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.hyperion.internal.protocol.ng;
14
15 import java.util.List;
16
17 import com.google.gson.annotations.Expose;
18 import com.google.gson.annotations.SerializedName;
19
20 /**
21  * The {@link Adjustment} is a POJO for an adjustment on the Hyperion.ng server.
22  *
23  * @author Daniel Walters - Initial contribution
24  */
25 public class Adjustment {
26
27     @SerializedName("backlightColored")
28     private Boolean backlightColored;
29
30     @SerializedName("backlightThreshold")
31     private Integer backlightThreshold;
32
33     @SerializedName("black")
34     private List<Integer> black = null;
35
36     @SerializedName("blue")
37     private List<Integer> blue = null;
38
39     @SerializedName("brightness")
40     private Integer brightness;
41
42     @SerializedName("brightnessCompensation")
43     private Integer brightnessCompensation;
44
45     @SerializedName("cyan")
46     private List<Integer> cyan = null;
47
48     @SerializedName("gammaBlue")
49     @Expose
50     private Double gammaBlue;
51
52     @SerializedName("gammaGreen")
53     private Double gammaGreen;
54
55     @SerializedName("gammaRed")
56     private Double gammaRed;
57
58     @SerializedName("green")
59     private List<Integer> green = null;
60
61     @SerializedName("id")
62     private String id;
63
64     @SerializedName("magenta")
65     private List<Integer> magenta = null;
66
67     @SerializedName("red")
68     private List<Integer> red = null;
69
70     @SerializedName("white")
71     private List<Integer> white = null;
72
73     @SerializedName("yellow")
74     private List<Integer> yellow = null;
75
76     public Boolean getBacklightColored() {
77         return backlightColored;
78     }
79
80     public void setBacklightColored(Boolean backlightColored) {
81         this.backlightColored = backlightColored;
82     }
83
84     public Integer getBacklightThreshold() {
85         return backlightThreshold;
86     }
87
88     public void setBacklightThreshold(Integer backlightThreshold) {
89         this.backlightThreshold = backlightThreshold;
90     }
91
92     public List<Integer> getBlack() {
93         return black;
94     }
95
96     public void setBlack(List<Integer> black) {
97         this.black = black;
98     }
99
100     public List<Integer> getBlue() {
101         return blue;
102     }
103
104     public void setBlue(List<Integer> blue) {
105         this.blue = blue;
106     }
107
108     public Integer getBrightness() {
109         return brightness;
110     }
111
112     public void setBrightness(Integer brightness) {
113         this.brightness = brightness;
114     }
115
116     public Integer getBrightnessCompensation() {
117         return brightnessCompensation;
118     }
119
120     public void setBrightnessCompensation(Integer brightnessCompensation) {
121         this.brightnessCompensation = brightnessCompensation;
122     }
123
124     public List<Integer> getCyan() {
125         return cyan;
126     }
127
128     public void setCyan(List<Integer> cyan) {
129         this.cyan = cyan;
130     }
131
132     public Double getGammaBlue() {
133         return gammaBlue;
134     }
135
136     public void setGammaBlue(Double gammaBlue) {
137         this.gammaBlue = gammaBlue;
138     }
139
140     public Double getGammaGreen() {
141         return gammaGreen;
142     }
143
144     public void setGammaGreen(Double gammaGreen) {
145         this.gammaGreen = gammaGreen;
146     }
147
148     public Double getGammaRed() {
149         return gammaRed;
150     }
151
152     public void setGammaRed(Double gammaRed) {
153         this.gammaRed = gammaRed;
154     }
155
156     public List<Integer> getGreen() {
157         return green;
158     }
159
160     public void setGreen(List<Integer> green) {
161         this.green = green;
162     }
163
164     public String getId() {
165         return id;
166     }
167
168     public void setId(String id) {
169         this.id = id;
170     }
171
172     public List<Integer> getMagenta() {
173         return magenta;
174     }
175
176     public void setMagenta(List<Integer> magenta) {
177         this.magenta = magenta;
178     }
179
180     public List<Integer> getRed() {
181         return red;
182     }
183
184     public void setRed(List<Integer> red) {
185         this.red = red;
186     }
187
188     public List<Integer> getWhite() {
189         return white;
190     }
191
192     public void setWhite(List<Integer> white) {
193         this.white = white;
194     }
195
196     public List<Integer> getYellow() {
197         return yellow;
198     }
199
200     public void setYellow(List<Integer> yellow) {
201         this.yellow = yellow;
202     }
203 }