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.v1;
15 import java.util.List;
17 import org.openhab.binding.hyperion.internal.protocol.ng.Adjustment;
19 import com.google.gson.annotations.SerializedName;
22 * The {@link V1Info} is a POJO for receiving information from a V1 Hyperion Server
24 * @author Daniel Walters - Initial contribution
28 @SerializedName("activeEffects")
29 private List<ActiveEffect> activeEffects = null;
31 @SerializedName("activeLedColor")
32 private List<ActiveLedColor> activeLedColor = null;
34 @SerializedName("adjustment")
35 private List<Adjustment> adjustment = null;
37 @SerializedName("correction")
38 private List<Correction> correction = null;
40 @SerializedName("effects")
41 private List<Effect> effects = null;
43 @SerializedName("hostname")
44 private String hostname;
46 @SerializedName("hyperion_build")
47 private List<HyperionBuild> hyperionBuild = null;
49 @SerializedName("priorities")
50 private List<Priority> priorities = null;
52 @SerializedName("temperature")
53 private List<Temperature> temperature = null;
55 @SerializedName("transform")
56 private List<Transform> transform = null;
58 public List<ActiveEffect> getActiveEffects() {
62 public void setActiveEffects(List<ActiveEffect> activeEffects) {
63 this.activeEffects = activeEffects;
66 public List<ActiveLedColor> getActiveLedColor() {
67 return activeLedColor;
70 public void setActiveLedColor(List<ActiveLedColor> activeLedColor) {
71 this.activeLedColor = activeLedColor;
74 public List<Adjustment> getAdjustment() {
78 public void setAdjustment(List<Adjustment> adjustment) {
79 this.adjustment = adjustment;
82 public List<Correction> getCorrection() {
86 public void setCorrection(List<Correction> correction) {
87 this.correction = correction;
90 public List<Effect> getEffects() {
94 public void setEffects(List<Effect> effects) {
95 this.effects = effects;
98 public String getHostname() {
102 public void setHostname(String hostname) {
103 this.hostname = hostname;
106 public List<HyperionBuild> getHyperionBuild() {
107 return hyperionBuild;
110 public void setHyperionBuild(List<HyperionBuild> hyperionBuild) {
111 this.hyperionBuild = hyperionBuild;
114 public List<Priority> getPriorities() {
118 public void setPriorities(List<Priority> priorities) {
119 this.priorities = priorities;
122 public List<Temperature> getTemperature() {
126 public void setTemperature(List<Temperature> temperature) {
127 this.temperature = temperature;
130 public List<Transform> getTransform() {
134 public void setTransform(List<Transform> transform) {
135 this.transform = transform;