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.pilight.internal.dto;
15 import java.util.ArrayList;
16 import java.util.HashMap;
17 import java.util.List;
21 * A Status message is received when a device in pilight changes state.
23 * @author Jeroen Idserda - Initial contribution
24 * @author Stefan Röllin - Port to openHAB 2 pilight binding
25 * @author Niklas Dörfler - Port pilight binding to openHAB 3 + add device discovery
29 private String origin;
35 private List<String> devices = new ArrayList<>();
37 private Map<String, String> values = new HashMap<>();
42 public String getOrigin() {
46 public void setOrigin(String origin) {
50 public Integer getType() {
54 public void setType(Integer type) {
58 public String getUuid() {
62 public void setUuid(String uuid) {
66 public List<String> getDevices() {
70 public void setDevices(List<String> devices) {
71 this.devices = devices;
74 public Map<String, String> getValues() {
78 public void setValues(Map<String, String> values) {