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.nano.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")
52 * No args constructor for use in serialization
69 public Channel(Integer number, String name, Integer typ, Double temp, Double min, Double max, Integer alarm,
82 public Integer getNumber() {
86 public void setNumber(Integer number) {
90 public Channel withNumber(Integer number) {
95 public String getName() {
99 public void setName(String name) {
103 public Channel withName(String name) {
108 public Integer getTyp() {
112 public void setTyp(Integer typ) {
116 public Channel withTyp(Integer typ) {
121 public Double getTemp() {
125 public void setTemp(Double temp) {
129 public Channel withTemp(Double temp) {
134 public Double getMin() {
138 public void setMin(Double min) {
142 public Channel withMin(Double min) {
147 public Double getMax() {
151 public void setMax(Double max) {
155 public Channel withMax(Double max) {
160 public Integer getAlarm() {
164 public void setAlarm(Integer alarm) {
168 public Channel withAlarm(Integer alarm) {
173 public String getColor() {
177 public void setColor(String color) {
181 public Channel withColor(String color) {