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.somfytahoma.internal.model;
15 import java.util.ArrayList;
16 import java.util.List;
18 import org.eclipse.jdt.annotation.NonNullByDefault;
20 import com.google.gson.JsonElement;
21 import com.google.gson.JsonObject;
24 * The {@link SomfyTahomaEvent} holds information about Tahoma
27 * @author Ondrej Pecta - Initial contribution
30 public class SomfyTahomaEvent {
31 private String name = "";
32 private String deviceURL = "";
33 private String newState = "";
34 private String execId = "";
35 private String gatewayId = "";
36 private List<SomfyTahomaState> deviceStates = new ArrayList<>();
37 private JsonElement action = new JsonObject();
39 public String getName() {
43 public String getDeviceUrl() {
47 public String getGatewayId() {
51 public String getNewState() {
55 public String getExecId() {
59 public List<SomfyTahomaState> getDeviceStates() {
63 public JsonElement getAction() {