]> git.basschouten.com Git - openhab-addons.git/blob
645d141832c63334271f00a34808d3471aa22895
[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.settings;
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 Device {
25
26     @SerializedName("device")
27     @Expose
28     private String device;
29     @SerializedName("serial")
30     @Expose
31     private String serial;
32     @SerializedName("cpu")
33     @Expose
34     private String cpu;
35     @SerializedName("flash_size")
36     @Expose
37     private Integer flashSize;
38     @SerializedName("hw_version")
39     @Expose
40     private String hwVersion;
41     @SerializedName("sw_version")
42     @Expose
43     private String swVersion;
44     @SerializedName("api_version")
45     @Expose
46     private String apiVersion;
47     @SerializedName("language")
48     @Expose
49     private String language;
50
51     public String getDevice() {
52         return device;
53     }
54
55     public void setDevice(String device) {
56         this.device = device;
57     }
58
59     public String getSerial() {
60         return serial;
61     }
62
63     public void setSerial(String serial) {
64         this.serial = serial;
65     }
66
67     public String getCpu() {
68         return cpu;
69     }
70
71     public void setCpu(String cpu) {
72         this.cpu = cpu;
73     }
74
75     public Integer getFlashSize() {
76         return flashSize;
77     }
78
79     public void setFlashSize(Integer flashSize) {
80         this.flashSize = flashSize;
81     }
82
83     public String getHwVersion() {
84         return hwVersion;
85     }
86
87     public void setHwVersion(String hwVersion) {
88         this.hwVersion = hwVersion;
89     }
90
91     public String getSwVersion() {
92         return swVersion;
93     }
94
95     public void setSwVersion(String swVersion) {
96         this.swVersion = swVersion;
97     }
98
99     public String getApiVersion() {
100         return apiVersion;
101     }
102
103     public void setApiVersion(String apiVersion) {
104         this.apiVersion = apiVersion;
105     }
106
107     public String getLanguage() {
108         return language;
109     }
110
111     public void setLanguage(String language) {
112         this.language = language;
113     }
114 }