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.nanoleaf.internal.model;
15 import org.eclipse.jdt.annotation.NonNullByDefault;
18 * Represents the light panels controller information
20 * @author Martin Raepple - Initial contribution
23 public class ControllerInfo {
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();
35 public String getName() {
39 public void setName(String name) {
43 public String getSerialNo() {
47 public void setSerialNo(String serialNo) {
48 this.serialNo = serialNo;
51 public String getManufacturer() {
55 public void setManufacturer(String manufacturer) {
56 this.manufacturer = manufacturer;
59 public String getFirmwareVersion() {
60 return firmwareVersion;
63 public void setFirmwareVersion(String firmwareVersion) {
64 this.firmwareVersion = firmwareVersion;
67 public String getModel() {
71 public void setModel(String model) {
75 public State getState() {
79 public void setState(State state) {
83 public Effects getEffects() {
87 public void setEffects(Effects effects) {
88 this.effects = effects;
91 public PanelLayout getPanelLayout() {
95 public void setPanelLayout(PanelLayout panelLayout) {
96 this.panelLayout = panelLayout;
99 public Rhythm getRhythm() {
103 public void setRhythm(Rhythm rhythm) {
104 this.rhythm = rhythm;