-
public class GroupDeviceBeanDescribes information about individual device entities within a group.
-
-
Field Summary
Fields Modifier and Type Field Description private booleancheckedprivate StringproductIdprivate DeviceBeandeviceBeanprivate booleanisOnline
-
Method Summary
Modifier and Type Method Description voidsetChecked(boolean checked)Set whether the device is selected in the group. StringgetProductId()Get product id. voidsetProductId(String productId)Set product id. DeviceBeangetDeviceBean()Get the original response device entity com.thingclips.smart.android.device.bean.GroupDeviceRespBean. voidsetDeviceBean(DeviceBean deviceBean)Set the original response device entity com.thingclips.smart.android.device.bean.GroupDeviceRespBean booleanisOnline()Get device online status, combine local online and cloud online status. voidsetOnline(boolean online)Set device online status, combine local online and cloud online status. booleanisChecked()Device selected status in the group. -
-
Method Detail
-
setChecked
void setChecked(boolean checked)
Set whether the device is selected in the group.
- Parameters:
checked- the status of whether the device is selected in a group
-
getProductId
String getProductId()
Get product id.
-
setProductId
void setProductId(String productId)
Set product id.
- Parameters:
productId- same product ID, same Schema information
-
getDeviceBean
DeviceBean getDeviceBean()
Get the original response device entity com.thingclips.smart.android.device.bean.GroupDeviceRespBean.
-
setDeviceBean
void setDeviceBean(DeviceBean deviceBean)
Set the original response device entity com.thingclips.smart.android.device.bean.GroupDeviceRespBean
- Parameters:
deviceBean- the original response device entity
-
isOnline
boolean isOnline()
Get device online status, combine local online and cloud online status.
-
setOnline
void setOnline(boolean online)
Set device online status, combine local online and cloud online status.
- Parameters:
online- the value of the device online status
-
isChecked
boolean isChecked()
Device selected status in the group.
-
-
-
-