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
26 @SerializedName("time")
29 @SerializedName("unit")
32 @SerializedName("soc")
35 @SerializedName("charge")
37 private Boolean charge;
38 @SerializedName("rssi")
41 @SerializedName("online")
43 private Integer online;
46 * No args constructor for use in serialization
61 public System(String time, String unit, Integer soc, Boolean charge, Integer rssi, Integer online) {
71 public String getTime() {
75 public void setTime(String time) {
79 public System withTime(String time) {
84 public String getUnit() {
88 public void setUnit(String unit) {
92 public System withUnit(String unit) {
97 public Integer getSoc() {
101 public void setSoc(Integer soc) {
105 public System withSoc(Integer soc) {
110 public Boolean getCharge() {
114 public void setCharge(Boolean charge) {
115 this.charge = charge;
118 public System withCharge(Boolean charge) {
119 this.charge = charge;
123 public Integer getRssi() {
127 public void setRssi(Integer rssi) {
131 public System withRssi(Integer rssi) {
136 public Integer getOnline() {
140 public void setOnline(Integer online) {
141 this.online = online;
144 public System withOnline(Integer online) {
145 this.online = online;