2 * Copyright (c) 2010-2024 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.melcloud.internal.api.json;
15 import com.google.gson.annotations.Expose;
16 import com.google.gson.annotations.SerializedName;
19 * The {@link ListDevicesResponse} is responsible of JSON data For MELCloud API
20 * Response of Devices List.
21 * Generated with jsonschema2pojo
23 * @author Luca Calcaterra - Initial contribution
25 public class ListDevicesResponse {
34 private String addressLine1;
37 private Object addressLine2;
43 private String postcode;
46 private Double latitude;
49 private Double longitude;
52 private Object district;
55 private Boolean fPDefined;
58 private Boolean fPEnabled;
61 private Integer fPMinTemperature;
64 private Integer fPMaxTemperature;
67 private Boolean hMDefined;
70 private Boolean hMEnabled;
73 private Object hMStartDate;
76 private Object hMEndDate;
79 private Integer buildingType;
82 private Integer propertyType;
85 private String dateBuilt;
88 private Boolean hasGasSupply;
91 private String locationLookupDate;
94 private Integer country;
97 private Integer timeZoneContinent;
100 private Integer timeZoneCity;
103 private Integer timeZone;
106 private Integer location;
109 private Boolean coolingDisabled;
112 private Boolean expanded;
115 private Structure structure;
118 private Integer accessLevel;
121 private Boolean directAccess;
124 private Integer minTemperature;
127 private Integer maxTemperature;
130 private Object owner;
133 private String endDate;
135 @SerializedName("iDateBuilt")
137 private Object iDateBuilt;
140 private QuantizedCoordinates quantizedCoordinates;
142 public Integer getID() {
146 public void setID(Integer iD) {
150 public String getName() {
154 public void setName(String name) {
158 public String getAddressLine1() {
162 public void setAddressLine1(String addressLine1) {
163 this.addressLine1 = addressLine1;
166 public Object getAddressLine2() {
170 public void setAddressLine2(Object addressLine2) {
171 this.addressLine2 = addressLine2;
174 public String getCity() {
178 public void setCity(String city) {
182 public String getPostcode() {
186 public void setPostcode(String postcode) {
187 this.postcode = postcode;
190 public Double getLatitude() {
194 public void setLatitude(Double latitude) {
195 this.latitude = latitude;
198 public Double getLongitude() {
202 public void setLongitude(Double longitude) {
203 this.longitude = longitude;
206 public Object getDistrict() {
210 public void setDistrict(Object district) {
211 this.district = district;
214 public Boolean getFPDefined() {
218 public void setFPDefined(Boolean fPDefined) {
219 this.fPDefined = fPDefined;
222 public Boolean getFPEnabled() {
226 public void setFPEnabled(Boolean fPEnabled) {
227 this.fPEnabled = fPEnabled;
230 public Integer getFPMinTemperature() {
231 return fPMinTemperature;
234 public void setFPMinTemperature(Integer fPMinTemperature) {
235 this.fPMinTemperature = fPMinTemperature;
238 public Integer getFPMaxTemperature() {
239 return fPMaxTemperature;
242 public void setFPMaxTemperature(Integer fPMaxTemperature) {
243 this.fPMaxTemperature = fPMaxTemperature;
246 public Boolean getHMDefined() {
250 public void setHMDefined(Boolean hMDefined) {
251 this.hMDefined = hMDefined;
254 public Boolean getHMEnabled() {
258 public void setHMEnabled(Boolean hMEnabled) {
259 this.hMEnabled = hMEnabled;
262 public Object getHMStartDate() {
266 public void setHMStartDate(Object hMStartDate) {
267 this.hMStartDate = hMStartDate;
270 public Object getHMEndDate() {
274 public void setHMEndDate(Object hMEndDate) {
275 this.hMEndDate = hMEndDate;
278 public Integer getBuildingType() {
282 public void setBuildingType(Integer buildingType) {
283 this.buildingType = buildingType;
286 public Integer getPropertyType() {
290 public void setPropertyType(Integer propertyType) {
291 this.propertyType = propertyType;
294 public String getDateBuilt() {
298 public void setDateBuilt(String dateBuilt) {
299 this.dateBuilt = dateBuilt;
302 public Boolean getHasGasSupply() {
306 public void setHasGasSupply(Boolean hasGasSupply) {
307 this.hasGasSupply = hasGasSupply;
310 public String getLocationLookupDate() {
311 return locationLookupDate;
314 public void setLocationLookupDate(String locationLookupDate) {
315 this.locationLookupDate = locationLookupDate;
318 public Integer getCountry() {
322 public void setCountry(Integer country) {
323 this.country = country;
326 public Integer getTimeZoneContinent() {
327 return timeZoneContinent;
330 public void setTimeZoneContinent(Integer timeZoneContinent) {
331 this.timeZoneContinent = timeZoneContinent;
334 public Integer getTimeZoneCity() {
338 public void setTimeZoneCity(Integer timeZoneCity) {
339 this.timeZoneCity = timeZoneCity;
342 public Integer getTimeZone() {
346 public void setTimeZone(Integer timeZone) {
347 this.timeZone = timeZone;
350 public Integer getLocation() {
354 public void setLocation(Integer location) {
355 this.location = location;
358 public Boolean getCoolingDisabled() {
359 return coolingDisabled;
362 public void setCoolingDisabled(Boolean coolingDisabled) {
363 this.coolingDisabled = coolingDisabled;
366 public Boolean getExpanded() {
370 public void setExpanded(Boolean expanded) {
371 this.expanded = expanded;
374 public Structure getStructure() {
378 public void setStructure(Structure structure) {
379 this.structure = structure;
382 public Integer getAccessLevel() {
386 public void setAccessLevel(Integer accessLevel) {
387 this.accessLevel = accessLevel;
390 public Boolean getDirectAccess() {
394 public void setDirectAccess(Boolean directAccess) {
395 this.directAccess = directAccess;
398 public Integer getMinTemperature() {
399 return minTemperature;
402 public void setMinTemperature(Integer minTemperature) {
403 this.minTemperature = minTemperature;
406 public Integer getMaxTemperature() {
407 return maxTemperature;
410 public void setMaxTemperature(Integer maxTemperature) {
411 this.maxTemperature = maxTemperature;
414 public Object getOwner() {
418 public void setOwner(Object owner) {
422 public String getEndDate() {
426 public void setEndDate(String endDate) {
427 this.endDate = endDate;
430 public Object getIDateBuilt() {
434 public void setIDateBuilt(Object iDateBuilt) {
435 this.iDateBuilt = iDateBuilt;
438 public QuantizedCoordinates getQuantizedCoordinates() {
439 return quantizedCoordinates;
442 public void setQuantizedCoordinates(QuantizedCoordinates quantizedCoordinates) {
443 this.quantizedCoordinates = quantizedCoordinates;