/** * Copyright (c) 2010-2016 by the respective copyright holders. * * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html */ package org.openhab.binding.pilight.internal.communication; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; /** * A Status message is received when a device in pilight changes state. * * @author Jeroen Idserda * @since 1.0 */ public class Status { private String origin; private Integer type; private String uuid; private List<String> devices = new ArrayList<String>(); private Map<String, String> values = new HashMap<String, String>(); public Status() { } public String getOrigin() { return origin; } public void setOrigin(String origin) { this.origin = origin; } public Integer getType() { return type; } public void setType(Integer type) { this.type = type; } public String getUuid() { return uuid; } public void setUuid(String uuid) { this.uuid = uuid; } public List<String> getDevices() { return devices; } public void setDevices(List<String> devices) { this.devices = devices; } public Map<String, String> getValues() { return values; } public void setValues(Map<String, String> values) { this.values = values; } }