2 * Copyright (c) 2010-2020 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
14 package org.openhab.binding.wlanthermo.internal.api.nano.data;
16 import com.google.gson.annotations.Expose;
17 import com.google.gson.annotations.SerializedName;
20 * This DTO is used to parse the JSON
21 * Class is auto-generated from JSON using http://www.jsonschema2pojo.org/
23 * @author Christian Schlipp - Initial contribution
25 public class Channel {
27 @SerializedName("number")
29 private Integer number;
30 @SerializedName("name")
33 @SerializedName("typ")
36 @SerializedName("temp")
39 @SerializedName("min")
42 @SerializedName("max")
45 @SerializedName("alarm")
47 private Integer alarm;
48 @SerializedName("color")
53 * No args constructor for use in serialization
70 public Channel(Integer number, String name, Integer typ, Double temp, Double min, Double max, Integer alarm,
83 public Integer getNumber() {
87 public void setNumber(Integer number) {
91 public Channel withNumber(Integer number) {
96 public String getName() {
100 public void setName(String name) {
104 public Channel withName(String name) {
109 public Integer getTyp() {
113 public void setTyp(Integer typ) {
117 public Channel withTyp(Integer typ) {
122 public Double getTemp() {
126 public void setTemp(Double temp) {
130 public Channel withTemp(Double temp) {
135 public Double getMin() {
139 public void setMin(Double min) {
143 public Channel withMin(Double min) {
148 public Double getMax() {
152 public void setMax(Double max) {
156 public Channel withMax(Double max) {
161 public Integer getAlarm() {
165 public void setAlarm(Integer alarm) {
169 public Channel withAlarm(Integer alarm) {
174 public String getColor() {
178 public void setColor(String color) {
182 public Channel withColor(String color) {