]> git.basschouten.com Git - openhab-addons.git/blob
6ee729d40c34becbf69f5d321c06bd6f2f44c18e
[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.v1;
14
15 import java.util.List;
16
17 import org.openhab.binding.hyperion.internal.protocol.ng.Adjustment;
18
19 import com.google.gson.annotations.SerializedName;
20
21 /**
22  * The {@link V1Info} is a POJO for receiving information from a V1 Hyperion Server
23  *
24  * @author Daniel Walters - Initial contribution
25  */
26 public class V1Info {
27
28     @SerializedName("activeEffects")
29     private List<ActiveEffect> activeEffects = null;
30
31     @SerializedName("activeLedColor")
32     private List<ActiveLedColor> activeLedColor = null;
33
34     @SerializedName("adjustment")
35     private List<Adjustment> adjustment = null;
36
37     @SerializedName("correction")
38     private List<Correction> correction = null;
39
40     @SerializedName("effects")
41     private List<Effect> effects = null;
42
43     @SerializedName("hostname")
44     private String hostname;
45
46     @SerializedName("hyperion_build")
47     private List<HyperionBuild> hyperionBuild = null;
48
49     @SerializedName("priorities")
50     private List<Priority> priorities = null;
51
52     @SerializedName("temperature")
53     private List<Temperature> temperature = null;
54
55     @SerializedName("transform")
56     private List<Transform> transform = null;
57
58     public List<ActiveEffect> getActiveEffects() {
59         return activeEffects;
60     }
61
62     public void setActiveEffects(List<ActiveEffect> activeEffects) {
63         this.activeEffects = activeEffects;
64     }
65
66     public List<ActiveLedColor> getActiveLedColor() {
67         return activeLedColor;
68     }
69
70     public void setActiveLedColor(List<ActiveLedColor> activeLedColor) {
71         this.activeLedColor = activeLedColor;
72     }
73
74     public List<Adjustment> getAdjustment() {
75         return adjustment;
76     }
77
78     public void setAdjustment(List<Adjustment> adjustment) {
79         this.adjustment = adjustment;
80     }
81
82     public List<Correction> getCorrection() {
83         return correction;
84     }
85
86     public void setCorrection(List<Correction> correction) {
87         this.correction = correction;
88     }
89
90     public List<Effect> getEffects() {
91         return effects;
92     }
93
94     public void setEffects(List<Effect> effects) {
95         this.effects = effects;
96     }
97
98     public String getHostname() {
99         return hostname;
100     }
101
102     public void setHostname(String hostname) {
103         this.hostname = hostname;
104     }
105
106     public List<HyperionBuild> getHyperionBuild() {
107         return hyperionBuild;
108     }
109
110     public void setHyperionBuild(List<HyperionBuild> hyperionBuild) {
111         this.hyperionBuild = hyperionBuild;
112     }
113
114     public List<Priority> getPriorities() {
115         return priorities;
116     }
117
118     public void setPriorities(List<Priority> priorities) {
119         this.priorities = priorities;
120     }
121
122     public List<Temperature> getTemperature() {
123         return temperature;
124     }
125
126     public void setTemperature(List<Temperature> temperature) {
127         this.temperature = temperature;
128     }
129
130     public List<Transform> getTransform() {
131         return transform;
132     }
133
134     public void setTransform(List<Transform> transform) {
135         this.transform = transform;
136     }
137 }