]> git.basschouten.com Git - openhab-addons.git/blob
7b943825800cb6a2f98e0c3c696d351d1014533f
[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.nanoleaf.internal.model;
14
15 import org.eclipse.jdt.annotation.NonNullByDefault;
16
17 /**
18  * Represents the light panels controller information
19  *
20  * @author Martin Raepple - Initial contribution
21  */
22 @NonNullByDefault
23 public class ControllerInfo {
24
25     private String name = "";
26     private String serialNo = "";
27     private String manufacturer = "";
28     private String firmwareVersion = "";
29     private String model = "";
30     private State state = new State();
31     private Effects effects = new Effects();
32     private PanelLayout panelLayout = new PanelLayout();
33     private Rhythm rhythm = new Rhythm();
34
35     public String getName() {
36         return name;
37     }
38
39     public void setName(String name) {
40         this.name = name;
41     }
42
43     public String getSerialNo() {
44         return serialNo;
45     }
46
47     public void setSerialNo(String serialNo) {
48         this.serialNo = serialNo;
49     }
50
51     public String getManufacturer() {
52         return manufacturer;
53     }
54
55     public void setManufacturer(String manufacturer) {
56         this.manufacturer = manufacturer;
57     }
58
59     public String getFirmwareVersion() {
60         return firmwareVersion;
61     }
62
63     public void setFirmwareVersion(String firmwareVersion) {
64         this.firmwareVersion = firmwareVersion;
65     }
66
67     public String getModel() {
68         return model;
69     }
70
71     public void setModel(String model) {
72         this.model = model;
73     }
74
75     public State getState() {
76         return state;
77     }
78
79     public void setState(State state) {
80         this.state = state;
81     }
82
83     public Effects getEffects() {
84         return effects;
85     }
86
87     public void setEffects(Effects effects) {
88         this.effects = effects;
89     }
90
91     public PanelLayout getPanelLayout() {
92         return panelLayout;
93     }
94
95     public void setPanelLayout(PanelLayout panelLayout) {
96         this.panelLayout = panelLayout;
97     }
98
99     public Rhythm getRhythm() {
100         return rhythm;
101     }
102
103     public void setRhythm(Rhythm rhythm) {
104         this.rhythm = rhythm;
105     }
106 }