]> git.basschouten.com Git - openhab-addons.git/blob
8fe80863817f5a0371de3005594ab5d23e9ae508
[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  * {@link Area} provides area specific information for JSON data returned from MELCloud API
21  * Area Data
22  * Generated with jsonschema2pojo
23  *
24  * @author Wietse van Buitenen - Initial contribution
25  */
26 public class Area {
27
28     @Expose
29     private Integer iD;
30
31     @Expose
32     private String name;
33
34     @Expose
35     private Integer buildingId;
36
37     @Expose
38     private Integer floorId;
39
40     @Expose
41     private Integer accessLevel;
42
43     @Expose
44     private Boolean directAccess;
45
46     @Expose
47     private Object endDate;
48
49     @Expose
50     private Integer minTemperature;
51
52     @Expose
53     private Integer maxTemperature;
54
55     @Expose
56     private Boolean expanded;
57
58     @Expose
59     private List<Device> devices = null;
60
61     public Integer getID() {
62         return iD;
63     }
64
65     public void setID(Integer iD) {
66         this.iD = iD;
67     }
68
69     public Integer getBuildingId() {
70         return buildingId;
71     }
72
73     public void setBuildingId(Integer buildingId) {
74         this.buildingId = buildingId;
75     }
76
77     public Integer getFloorId() {
78         return floorId;
79     }
80
81     public void setFloorId(Integer floorId) {
82         this.floorId = floorId;
83     }
84
85     public Integer getAccessLevel() {
86         return accessLevel;
87     }
88
89     public void setAccessLevel(Integer accessLevel) {
90         this.accessLevel = accessLevel;
91     }
92
93     public Boolean getDirectAccess() {
94         return directAccess;
95     }
96
97     public void setDirectAccess(Boolean directAccess) {
98         this.directAccess = directAccess;
99     }
100
101     public Object getEndDate() {
102         return endDate;
103     }
104
105     public void setEndDate(Object endDate) {
106         this.endDate = endDate;
107     }
108
109     public String getName() {
110         return name;
111     }
112
113     public void setName(String name) {
114         this.name = name;
115     }
116
117     public List<Device> getDevices() {
118         return devices;
119     }
120
121     public void setDevices(List<Device> devices) {
122         this.devices = devices;
123     }
124
125     public Integer getMinTemperature() {
126         return minTemperature;
127     }
128
129     public void setMinTemperature(Integer minTemperature) {
130         this.minTemperature = minTemperature;
131     }
132
133     public Integer getMaxTemperature() {
134         return maxTemperature;
135     }
136
137     public void setMaxTemperature(Integer maxTemperature) {
138         this.maxTemperature = maxTemperature;
139     }
140
141     public Boolean getExpanded() {
142         return expanded;
143     }
144
145     public void setExpanded(Boolean expanded) {
146         this.expanded = expanded;
147     }
148 }