]> git.basschouten.com Git - openhab-addons.git/blob
85a5323e1a9be624595fb5a0b72f979acba79046
[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.miio.internal.cloud;
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 class wraps the home json structure
22  *
23  * @author Marcel Verpaalen - Initial contribution
24  */
25 public class HomeRoomDTO {
26
27     @SerializedName("id")
28     @Expose
29     private String id;
30     @SerializedName("name")
31     @Expose
32     private String name;
33     @SerializedName("bssid")
34     @Expose
35     private String bssid;
36     @SerializedName("parentid")
37     @Expose
38     private String parentid;
39     @SerializedName("dids")
40     @Expose
41     private List<String> dids;
42     @SerializedName("icon")
43     @Expose
44     private String icon;
45     @SerializedName("background")
46     @Expose
47     private String background;
48     @SerializedName("shareflag")
49     @Expose
50     private Integer shareflag;
51     @SerializedName("create_time")
52     @Expose
53     private Integer createTime;
54
55     public String getId() {
56         return id;
57     }
58
59     public void setId(String id) {
60         this.id = id;
61     }
62
63     public String getName() {
64         return name;
65     }
66
67     public void setName(String name) {
68         this.name = name;
69     }
70
71     public String getBssid() {
72         return bssid;
73     }
74
75     public void setBssid(String bssid) {
76         this.bssid = bssid;
77     }
78
79     public String getParentid() {
80         return parentid;
81     }
82
83     public void setParentid(String parentid) {
84         this.parentid = parentid;
85     }
86
87     public List<String> getDids() {
88         return dids;
89     }
90
91     public void setDids(List<String> dids) {
92         this.dids = dids;
93     }
94
95     public String getIcon() {
96         return icon;
97     }
98
99     public void setIcon(String icon) {
100         this.icon = icon;
101     }
102
103     public String getBackground() {
104         return background;
105     }
106
107     public void setBackground(String background) {
108         this.background = background;
109     }
110
111     public Integer getShareflag() {
112         return shareflag;
113     }
114
115     public void setShareflag(Integer shareflag) {
116         this.shareflag = shareflag;
117     }
118
119     public Integer getCreateTime() {
120         return createTime;
121     }
122
123     public void setCreateTime(Integer createTime) {
124         this.createTime = createTime;
125     }
126 }