]> git.basschouten.com Git - openhab-addons.git/blob
cce1c4d6f86abb6d398d5d13ea489f36a07610d6
[openhab-addons.git] /
1 /**
2  * Copyright (c) 2010-2023 Contributors to the openHAB project
3  *
4  * See the NOTICE file(s) distributed with this work for additional
5  * information.
6  *
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
10  *
11  * SPDX-License-Identifier: EPL-2.0
12  */
13 package org.openhab.binding.wlanthermo.internal.api.esp32.dto.data;
14
15 import com.google.gson.annotations.Expose;
16 import com.google.gson.annotations.SerializedName;
17
18 /**
19  * This DTO is used to parse the JSON
20  * Class is auto-generated from JSON using http://www.jsonschema2pojo.org/
21  *
22  * @author Christian Schlipp - Initial contribution
23  */
24 public class System {
25
26     @SerializedName("time")
27     @Expose
28     private String time;
29     @SerializedName("unit")
30     @Expose
31     private String unit;
32     @SerializedName("soc")
33     @Expose
34     private Integer soc;
35     @SerializedName("charge")
36     @Expose
37     private Boolean charge;
38     @SerializedName("rssi")
39     @Expose
40     private Integer rssi;
41     @SerializedName("online")
42     @Expose
43     private Integer online;
44
45     public String getTime() {
46         return time;
47     }
48
49     public void setTime(String time) {
50         this.time = time;
51     }
52
53     public String getUnit() {
54         return unit;
55     }
56
57     public void setUnit(String unit) {
58         this.unit = unit;
59     }
60
61     public Integer getSoc() {
62         return soc;
63     }
64
65     public void setSoc(Integer soc) {
66         this.soc = soc;
67     }
68
69     public Boolean getCharge() {
70         return charge;
71     }
72
73     public void setCharge(Boolean charge) {
74         this.charge = charge;
75     }
76
77     public Integer getRssi() {
78         return rssi;
79     }
80
81     public void setRssi(Integer rssi) {
82         this.rssi = rssi;
83     }
84
85     public Integer getOnline() {
86         return online;
87     }
88
89     public void setOnline(Integer online) {
90         this.online = online;
91     }
92 }