]> git.basschouten.com Git - openhab-addons.git/blob
ee930621cfd405cac3b720e01078aab3fdea00e3
[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 java.util.List;
16
17 import com.google.gson.annotations.Expose;
18 import com.google.gson.annotations.SerializedName;
19
20 /**
21  * This DTO is used to parse the JSON
22  * Class is auto-generated from JSON using http://www.jsonschema2pojo.org/
23  *
24  * @author Christian Schlipp - Initial contribution
25  */
26 public class Ext {
27
28     @SerializedName("on")
29     @Expose
30     private Integer on;
31     @SerializedName("token")
32     @Expose
33     private String token;
34     @SerializedName("id")
35     @Expose
36     private String id;
37     @SerializedName("repeat")
38     @Expose
39     private Integer repeat;
40     @SerializedName("service")
41     @Expose
42     private Integer service;
43     @SerializedName("services")
44     @Expose
45     private List<String> services = null;
46
47     public Integer getOn() {
48         return on;
49     }
50
51     public void setOn(Integer on) {
52         this.on = on;
53     }
54
55     public String getToken() {
56         return token;
57     }
58
59     public void setToken(String token) {
60         this.token = token;
61     }
62
63     public String getId() {
64         return id;
65     }
66
67     public void setId(String id) {
68         this.id = id;
69     }
70
71     public Integer getRepeat() {
72         return repeat;
73     }
74
75     public void setRepeat(Integer repeat) {
76         this.repeat = repeat;
77     }
78
79     public Integer getService() {
80         return service;
81     }
82
83     public void setService(Integer service) {
84         this.service = service;
85     }
86
87     public List<String> getServices() {
88         return services;
89     }
90
91     public void setServices(List<String> services) {
92         this.services = services;
93     }
94 }