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

setDeviceInfo(DeviceInfo $deviceInfo)

No description

getDeviceInfo()

No description

setId($id)

No description

string
getId()

No description

setName(DeviceNames $name)

No description

getName()

No description

setNotificationSupportedByAgent($notificationSupportedByAgent)

No description

bool
setOtherDeviceIds($otherDeviceIds)

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

Parameters

$attributes

array[] getAttributes()

No description

Return Value

array[]

setCustomData($customData)

No description

Parameters

$customData

array[] getCustomData()

No description

Return Value

array[]

setDeviceInfo(DeviceInfo $deviceInfo)

No description

Parameters

DeviceInfo $deviceInfo

DeviceInfo getDeviceInfo()

No description

Return Value

DeviceInfo

setId($id)

No description

Parameters

$id

string getId()

No description

Return Value

string

setName(DeviceNames $name)

No description

Parameters

DeviceNames $name

DeviceNames getName()

No description

Return Value

DeviceNames

setNotificationSupportedByAgent($notificationSupportedByAgent)

No description

Parameters

$notificationSupportedByAgent

bool getNotificationSupportedByAgent()

No description

Return Value

bool

setOtherDeviceIds($otherDeviceIds)

No description

Parameters

$otherDeviceIds

AgentOtherDeviceId[] getOtherDeviceIds()

No description

Return Value

AgentOtherDeviceId[]

setRoomHint($roomHint)

No description

Parameters

$roomHint

string getRoomHint()

No description

Return Value

string

setStructureHint($structureHint)

No description

Parameters

$structureHint

string getStructureHint()

No description

Return Value

string

setTraits($traits)

No description

Parameters

$traits

string[] getTraits()

No description

Return Value

string[]

setType($type)

No description

Parameters

$type

string getType()

No description

Return Value

string

setWillReportState($willReportState)

No description

Parameters

$willReportState

bool getWillReportState()

No description

Return Value

bool