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.miio.internal.cloud;
15 import java.util.List;
17 import com.google.gson.annotations.Expose;
18 import com.google.gson.annotations.SerializedName;
21 * This DTO class wraps the home json structure
23 * @author Marcel Verpaalen - Initial contribution
25 public class HomeRoomDTO {
30 @SerializedName("name")
33 @SerializedName("bssid")
36 @SerializedName("parentid")
38 private String parentid;
39 @SerializedName("dids")
41 private List<String> dids;
42 @SerializedName("icon")
45 @SerializedName("background")
47 private String background;
48 @SerializedName("shareflag")
50 private Integer shareflag;
51 @SerializedName("create_time")
53 private Integer createTime;
55 public String getId() {
59 public void setId(String id) {
63 public String getName() {
67 public void setName(String name) {
71 public String getBssid() {
75 public void setBssid(String bssid) {
79 public String getParentid() {
83 public void setParentid(String parentid) {
84 this.parentid = parentid;
87 public List<String> getDids() {
91 public void setDids(List<String> dids) {
95 public String getIcon() {
99 public void setIcon(String icon) {
103 public String getBackground() {
107 public void setBackground(String background) {
108 this.background = background;
111 public Integer getShareflag() {
115 public void setShareflag(Integer shareflag) {
116 this.shareflag = shareflag;
119 public Integer getCreateTime() {
123 public void setCreateTime(Integer createTime) {
124 this.createTime = createTime;