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.deconz.internal.dto;
15 import java.util.Arrays;
17 import org.eclipse.jdt.annotation.NonNullByDefault;
18 import org.eclipse.jdt.annotation.Nullable;
21 * The {@link GroupAction} is send by the websocket connection as well as the Rest API.
22 * It is part of a {@link GroupMessage}.
24 * @author Jan N. Klug - Initial contribution
27 public class GroupAction {
28 public @Nullable Boolean on;
29 public @Nullable Boolean toggle;
30 public @Nullable Integer bri;
31 public @Nullable Integer hue;
32 public @Nullable Integer sat;
33 public @Nullable Integer ct;
34 public double @Nullable [] xy;
35 public @Nullable String alert;
36 public @Nullable String colormode;
37 public @Nullable String effect;
38 public @Nullable Integer colorloopspeed;
39 public @Nullable Integer transitiontime;
42 * clear this group action
59 public String toString() {
60 return "GroupAction{on=" + on + ", toggle=" + toggle + ", bri=" + bri + ", hue=" + hue + ", sat=" + sat
61 + ", ct=" + ct + ", xy=" + Arrays.toString(xy) + ", alert='" + alert + "', colormode='" + colormode
62 + "', effect='" + effect + "', colorloopspeed=" + colorloopspeed + ", transitiontime=" + transitiontime