Device
class Device extends Collection (View source)
Properties
| protected | $collection_key | ||
| array[] | $attributes | ||
| array[] | $customData | ||
| protected | $deviceInfoType | ||
| protected | $deviceInfoDataType | ||
| string | $id | ||
| protected | $nameType | ||
| protected | $nameDataType | ||
| bool | $notificationSupportedByAgent | ||
| protected | $otherDeviceIdsType | ||
| protected | $otherDeviceIdsDataType | ||
| string | $roomHint | ||
| string | $structureHint | ||
| string[] | $traits | ||
| string | $type | ||
| bool | $willReportState |
Methods
setAttributes($attributes)
No description
array[]
getAttributes()
No description
setCustomData($customData)
No description
array[]
getCustomData()
No description
getDeviceInfo()
No description
setId($id)
No description
string
getId()
No description
getName()
No description
setNotificationSupportedByAgent($notificationSupportedByAgent)
No description
bool
getNotificationSupportedByAgent()
No description
setOtherDeviceIds($otherDeviceIds)
No description
getOtherDeviceIds()
No description
setRoomHint($roomHint)
No description
string
getRoomHint()
No description
setStructureHint($structureHint)
No description
string
getStructureHint()
No description
setTraits($traits)
No description
string[]
getTraits()
No description
setType($type)
No description
string
getType()
No description
setWillReportState($willReportState)
No description
bool
getWillReportState()
No description
Details
setAttributes($attributes)
No description
array[]
getAttributes()
No description
setCustomData($customData)
No description
array[]
getCustomData()
No description
setDeviceInfo(DeviceInfo $deviceInfo)
No description
DeviceInfo
getDeviceInfo()
No description
setId($id)
No description
string
getId()
No description
setName(DeviceNames $name)
No description
DeviceNames
getName()
No description
setNotificationSupportedByAgent($notificationSupportedByAgent)
No description
bool
getNotificationSupportedByAgent()
No description
setOtherDeviceIds($otherDeviceIds)
No description
AgentOtherDeviceId[]
getOtherDeviceIds()
No description
setRoomHint($roomHint)
No description
string
getRoomHint()
No description
setStructureHint($structureHint)
No description
string
getStructureHint()
No description
setTraits($traits)
No description
string[]
getTraits()
No description
setType($type)
No description
string
getType()
No description
setWillReportState($willReportState)
No description
bool
getWillReportState()
No description