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.esp32.dto.data;
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
24 public class Channel {
26 @SerializedName("number")
28 private Integer number;
29 @SerializedName("name")
32 @SerializedName("typ")
35 @SerializedName("temp")
38 @SerializedName("min")
41 @SerializedName("max")
44 @SerializedName("alarm")
46 private Integer alarm;
47 @SerializedName("color")
50 @SerializedName("fixed")
52 private Boolean fixed;
53 @SerializedName("connected")
55 private Boolean connected;
57 public Integer getNumber() {
61 public void setNumber(Integer number) {
65 public String getName() {
69 public void setName(String name) {
73 public Integer getTyp() {
77 public void setTyp(Integer typ) {
81 public Double getTemp() {
85 public void setTemp(Double temp) {
89 public Double getMin() {
93 public void setMin(Double min) {
97 public Double getMax() {
101 public void setMax(Double max) {
105 public Integer getAlarm() {
109 public void setAlarm(Integer alarm) {
113 public String getColor() {
117 public void setColor(String color) {
121 public Boolean getFixed() {
125 public void setFixed(Boolean fixed) {
129 public Boolean getConnected() {
133 public void setConnected(Boolean connected) {
134 this.connected = connected;