]> git.basschouten.com Git - openhab-addons.git/blob
b48cafec53773d3d0cc1fe334f7d59a01d5b599a
[openhab-addons.git] /
1 /**
2  * Copyright (c) 2010-2024 Contributors to the openHAB project
3  *
4  * See the NOTICE file(s) distributed with this work for additional
5  * information.
6  *
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
10  *
11  * SPDX-License-Identifier: EPL-2.0
12  */
13 package org.openhab.binding.melcloud.internal.api.json;
14
15 import java.util.List;
16
17 import com.google.gson.annotations.Expose;
18
19 /**
20  * The {@link Structure} is responsible of JSON data For MELCloud API
21  * Structure Data
22  * Generated with jsonschema2pojo
23  *
24  * @author Luca Calcaterra - Initial contribution
25  * @author Wietse van Buitenen - Add Floor and Area
26  */
27 public class Structure {
28
29     @Expose
30     private List<Floor> floors = null;
31
32     @Expose
33     private List<Area> areas = null;
34
35     @Expose
36     private List<Device> devices = null;
37
38     @Expose
39     private List<Object> clients = null;
40
41     public List<Floor> getFloors() {
42         return floors;
43     }
44
45     public void setFloors(List<Floor> floors) {
46         this.floors = floors;
47     }
48
49     public List<Area> getAreas() {
50         return areas;
51     }
52
53     public void setAreas(List<Area> areas) {
54         this.areas = areas;
55     }
56
57     public List<Device> getDevices() {
58         return devices;
59     }
60
61     public void setDevices(List<Device> devices) {
62         this.devices = devices;
63     }
64
65     public List<Object> getClients() {
66         return clients;
67     }
68
69     public void setClients(List<Object> clients) {
70         this.clients = clients;
71     }
72 }