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;
16 import org.eclipse.jdt.annotation.Nullable;
19 * Represents rhythm module settings
21 * @author Martin Raepple - Initial contribution
26 private boolean rhythmConnected;
27 private boolean rhythmActive;
29 private String hardwareVersion = "";
30 private String firmwareVersion = "";
31 private boolean auxAvailable;
32 private int rhythmMode;
33 private @Nullable RhythmPos rhythmPos;
35 public boolean getRhythmConnected() {
36 return rhythmConnected;
39 public void setRhythmConnected(boolean rhythmConnected) {
40 this.rhythmConnected = rhythmConnected;
43 public boolean getRhythmActive() {
47 public void setRhythmActive(boolean rhythmActive) {
48 this.rhythmActive = rhythmActive;
51 public int getRhythmId() {
55 public void setRhythmId(int rhythmId) {
56 this.rhythmId = rhythmId;
59 public String getHardwareVersion() {
60 return this.hardwareVersion;
63 public void setHardwareVersion(String hardwareVersion) {
64 this.hardwareVersion = hardwareVersion;
67 public String getFirmwareVersion() {
68 return this.firmwareVersion;
71 public void setFirmwareVersion(String firmwareVersion) {
72 this.firmwareVersion = firmwareVersion;
75 public boolean getAuxAvailable() {
79 public void setAuxAvailable(boolean auxAvailable) {
80 this.auxAvailable = auxAvailable;
83 public int getRhythmMode() {
87 public void setRhythmMode(int rhythmMode) {
88 this.rhythmMode = rhythmMode;
91 public @Nullable RhythmPos getRhythmPos() {
95 public void setRhythmPos(RhythmPos rhythmPos) {
96 this.rhythmPos = rhythmPos;