2 * Copyright (c) 2010-2023 Contributors to the openHAB project
4 * See the NOTICE file(s) distributed with this work for additional
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
11 * SPDX-License-Identifier: EPL-2.0
13 package org.openhab.binding.hyperion.internal.protocol.ng;
15 import java.util.List;
17 import com.google.gson.annotations.Expose;
18 import com.google.gson.annotations.SerializedName;
21 * The {@link Adjustment} is a POJO for an adjustment on the Hyperion.ng server.
23 * @author Daniel Walters - Initial contribution
25 public class Adjustment {
27 @SerializedName("backlightColored")
28 private Boolean backlightColored;
30 @SerializedName("backlightThreshold")
31 private Integer backlightThreshold;
33 @SerializedName("black")
34 private List<Integer> black = null;
36 @SerializedName("blue")
37 private List<Integer> blue = null;
39 @SerializedName("brightness")
40 private Integer brightness;
42 @SerializedName("brightnessCompensation")
43 private Integer brightnessCompensation;
45 @SerializedName("cyan")
46 private List<Integer> cyan = null;
48 @SerializedName("gammaBlue")
50 private Double gammaBlue;
52 @SerializedName("gammaGreen")
53 private Double gammaGreen;
55 @SerializedName("gammaRed")
56 private Double gammaRed;
58 @SerializedName("green")
59 private List<Integer> green = null;
64 @SerializedName("magenta")
65 private List<Integer> magenta = null;
67 @SerializedName("red")
68 private List<Integer> red = null;
70 @SerializedName("white")
71 private List<Integer> white = null;
73 @SerializedName("yellow")
74 private List<Integer> yellow = null;
76 public Boolean getBacklightColored() {
77 return backlightColored;
80 public void setBacklightColored(Boolean backlightColored) {
81 this.backlightColored = backlightColored;
84 public Integer getBacklightThreshold() {
85 return backlightThreshold;
88 public void setBacklightThreshold(Integer backlightThreshold) {
89 this.backlightThreshold = backlightThreshold;
92 public List<Integer> getBlack() {
96 public void setBlack(List<Integer> black) {
100 public List<Integer> getBlue() {
104 public void setBlue(List<Integer> blue) {
108 public Integer getBrightness() {
112 public void setBrightness(Integer brightness) {
113 this.brightness = brightness;
116 public Integer getBrightnessCompensation() {
117 return brightnessCompensation;
120 public void setBrightnessCompensation(Integer brightnessCompensation) {
121 this.brightnessCompensation = brightnessCompensation;
124 public List<Integer> getCyan() {
128 public void setCyan(List<Integer> cyan) {
132 public Double getGammaBlue() {
136 public void setGammaBlue(Double gammaBlue) {
137 this.gammaBlue = gammaBlue;
140 public Double getGammaGreen() {
144 public void setGammaGreen(Double gammaGreen) {
145 this.gammaGreen = gammaGreen;
148 public Double getGammaRed() {
152 public void setGammaRed(Double gammaRed) {
153 this.gammaRed = gammaRed;
156 public List<Integer> getGreen() {
160 public void setGreen(List<Integer> green) {
164 public String getId() {
168 public void setId(String id) {
172 public List<Integer> getMagenta() {
176 public void setMagenta(List<Integer> magenta) {
177 this.magenta = magenta;
180 public List<Integer> getRed() {
184 public void setRed(List<Integer> red) {
188 public List<Integer> getWhite() {
192 public void setWhite(List<Integer> white) {
196 public List<Integer> getYellow() {
200 public void setYellow(List<Integer> yellow) {
201 this.yellow = yellow;