]> git.basschouten.com Git - openhab-addons.git/blob
b8aa5c10c2c8a659e85acb3b0de44e3c5e89ce90
[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.SerializedName;
18
19 /**
20  * The {@link Value} is a POJO for value information in the Hyperion.ng server.
21  *
22  * @author Daniel Walters - Initial contribution
23  */
24 public class Value {
25
26     @SerializedName("HEX")
27     private List<String> hex = null;
28
29     @SerializedName("HSL")
30     private List<Double> hsl = null;
31
32     @SerializedName("RGB")
33     private List<Integer> rgb = null;
34
35     public List<String> getHEX() {
36         return hex;
37     }
38
39     public List<Double> getHSL() {
40         return hsl;
41     }
42
43     public List<Integer> getRGB() {
44         return rgb;
45     }
46
47     public void setHEX(List<String> hex) {
48         this.hex = hex;
49     }
50
51     public void setHSL(List<Double> hsl) {
52         this.hsl = hsl;
53     }
54
55     public void setRGB(List<Integer> rgb) {
56         this.rgb = rgb;
57     }
58 }