]> git.basschouten.com Git - openhab-addons.git/blob
9cbad5fe90aa624b1d6ff9b7267e7873ea76eeb8
[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 org.openhab.binding.hyperion.internal.protocol.v1.Effect;
18
19 import com.google.gson.annotations.SerializedName;
20
21 /**
22  * The {@link NgInfo} is a POJO for information in the Hyperion.ng server.
23  *
24  * @author Daniel Walters - Initial contribution
25  */
26 public class NgInfo {
27
28     @SerializedName("components")
29     private List<Component> components = null;
30
31     @SerializedName("adjustment")
32     private List<Adjustment> adjustment = null;
33
34     @SerializedName("priorities")
35     private List<Priority> priorities = null;
36
37     @SerializedName("hyperion")
38     private Hyperion hyperion = null;
39
40     @SerializedName("effects")
41     private List<Effect> effects = null;
42
43     public List<Component> getComponents() {
44         return components;
45     }
46
47     public List<Adjustment> getAdjustment() {
48         return adjustment;
49     }
50
51     public List<Priority> getPriorities() {
52         return priorities;
53     }
54
55     public Hyperion getHyperion() {
56         return hyperion;
57     }
58
59     public void setComponents(List<Component> components) {
60         this.components = components;
61     }
62
63     public void setAdjustment(List<Adjustment> adjustment) {
64         this.adjustment = adjustment;
65     }
66
67     public void setPriorities(List<Priority> priorities) {
68         this.priorities = priorities;
69     }
70
71     public void setHyperion(Hyperion hyperion) {
72         this.hyperion = hyperion;
73     }
74
75     public List<Effect> getEffects() {
76         return effects;
77     }
78 }