-
public class GroupDeviceBean
Describes information about individual device entities within a group.
-
-
Field Summary
Fields Modifier and Type Field Description private boolean
checked
private String
productId
private DeviceBean
deviceBean
private boolean
isOnline
-
Method Summary
Modifier and Type Method Description void
setChecked(boolean checked)
Set whether the device is selected in the group. String
getProductId()
Get product id. void
setProductId(String productId)
Set product id. DeviceBean
getDeviceBean()
Get the original response device entity com.thingclips.smart.android.device.bean.GroupDeviceRespBean. void
setDeviceBean(DeviceBean deviceBean)
Set the original response device entity com.thingclips.smart.android.device.bean.GroupDeviceRespBean boolean
isOnline()
Get device online status, combine local online and cloud online status. void
setOnline(boolean online)
Set device online status, combine local online and cloud online status. boolean
isChecked()
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.
-
-
-
-