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.wlanthermo.internal.api.mini.dto.builtin;
15 import com.google.gson.annotations.Expose;
16 import com.google.gson.annotations.SerializedName;
19 * This DTO is used to parse the JSON
20 * Class is auto-generated from JSON using http://www.jsonschema2pojo.org/
22 * @author Christian Schlipp - Initial contribution
26 @SerializedName("temp")
29 @SerializedName("color")
32 @SerializedName("state")
35 @SerializedName("temp_min")
37 private Double tempMin;
38 @SerializedName("temp_max")
40 private Double tempMax;
41 @SerializedName("name")
44 @SerializedName("alert")
46 private Boolean alert;
47 @SerializedName("show")
52 * No args constructor for use in serialization
69 public Data(Double temp, String color, String state, Double tempMin, Double tempMax, String name, Boolean alert,
75 this.tempMin = tempMin;
76 this.tempMax = tempMax;
82 public Double getTemp() {
86 public void setTemp(Double temp) {
90 public Data withTemp(Double temp) {
95 public String getColor() {
99 public void setColor(String color) {
103 public Data withColor(String color) {
108 public String getState() {
112 public void setState(String state) {
116 public Data withState(String state) {
121 public Double getTempMin() {
125 public void setTempMin(Double tempMin) {
126 this.tempMin = tempMin;
129 public Data withTempMin(Double tempMin) {
130 this.tempMin = tempMin;
134 public Double getTempMax() {
138 public void setTempMax(Double tempMax) {
139 this.tempMax = tempMax;
142 public Data withTempMax(Double tempMax) {
143 this.tempMax = tempMax;
147 public String getName() {
151 public void setName(String name) {
155 public Data withName(String name) {
160 public Boolean getAlert() {
164 public void setAlert(Boolean alert) {
168 public Data withAlert(Boolean alert) {
173 public Boolean getShow() {
177 public void setShow(Boolean show) {
181 public Data withShow(Boolean show) {