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;
18 * The {@link Structure} is responsible of JSON data For MELCloud API
19 * WeatherObservation Data
20 * Generated with jsonschema2pojo
22 * @author Luca Calcaterra - Initial contribution
24 public class WeatherObservation {
30 private String sunrise;
33 private String sunset;
36 private Integer condition;
42 private Integer humidity;
45 private Integer temperature;
51 private String conditionName;
57 private Integer weatherType;
59 public String getDate() {
63 public void setDate(String date) {
67 public String getSunrise() {
71 public void setSunrise(String sunrise) {
72 this.sunrise = sunrise;
75 public String getSunset() {
79 public void setSunset(String sunset) {
83 public Integer getCondition() {
87 public void setCondition(Integer condition) {
88 this.condition = condition;
91 public Integer getID() {
95 public void setID(Integer iD) {
99 public Integer getHumidity() {
103 public void setHumidity(Integer humidity) {
104 this.humidity = humidity;
107 public Integer getTemperature() {
111 public void setTemperature(Integer temperature) {
112 this.temperature = temperature;
115 public String getIcon() {
119 public void setIcon(String icon) {
123 public String getConditionName() {
124 return conditionName;
127 public void setConditionName(String conditionName) {
128 this.conditionName = conditionName;
131 public Integer getDay() {
135 public void setDay(Integer day) {
139 public Integer getWeatherType() {
143 public void setWeatherType(Integer weatherType) {
144 this.weatherType = weatherType;