class Device extends Collection (View source)

Properties

protected $collection_key
bool $blocked
protected $configType
protected $configDataType
protected $credentialsType
protected $credentialsDataType
protected $gatewayConfigType
protected $gatewayConfigDataType
string $id
string $lastConfigAckTime
string $lastConfigSendTime
protected $lastErrorStatusType
protected $lastErrorStatusDataType
string $lastErrorTime
string $lastEventTime
string $lastHeartbeatTime
string $lastStateTime
string $logLevel
string[] $metadata
string $name
string $numId
protected $stateType
protected $stateDataType

Methods

setBlocked($blocked)

No description

bool
getBlocked()

No description

setConfig(DeviceConfig $config)

No description

getConfig()

No description

setCredentials($credentials)

No description

getCredentials()

No description

setGatewayConfig(GatewayConfig $gatewayConfig)

No description

getGatewayConfig()

No description

setId($id)

No description

string
getId()

No description

setLastConfigAckTime($lastConfigAckTime)

No description

string
getLastConfigAckTime()

No description

setLastConfigSendTime($lastConfigSendTime)

No description

string
getLastConfigSendTime()

No description

setLastErrorStatus(Status $lastErrorStatus)

No description

getLastErrorStatus()

No description

setLastErrorTime($lastErrorTime)

No description

string
getLastErrorTime()

No description

setLastEventTime($lastEventTime)

No description

string
getLastEventTime()

No description

setLastHeartbeatTime($lastHeartbeatTime)

No description

string
getLastHeartbeatTime()

No description

setLastStateTime($lastStateTime)

No description

string
getLastStateTime()

No description

setLogLevel($logLevel)

No description

string
getLogLevel()

No description

setMetadata($metadata)

No description

string[]
getMetadata()

No description

setName($name)

No description

string
getName()

No description

setNumId($numId)

No description

string
getNumId()

No description

setState(DeviceState $state)

No description

getState()

No description

Details

setBlocked($blocked)

No description

Parameters

$blocked

bool getBlocked()

No description

Return Value

bool

setConfig(DeviceConfig $config)

No description

Parameters

DeviceConfig $config

DeviceConfig getConfig()

No description

Return Value

DeviceConfig

setCredentials($credentials)

No description

Parameters

$credentials

DeviceCredential[] getCredentials()

No description

Return Value

DeviceCredential[]

setGatewayConfig(GatewayConfig $gatewayConfig)

No description

Parameters

GatewayConfig $gatewayConfig

GatewayConfig getGatewayConfig()

No description

Return Value

GatewayConfig

setId($id)

No description

Parameters

$id

string getId()

No description

Return Value

string

setLastConfigAckTime($lastConfigAckTime)

No description

Parameters

$lastConfigAckTime

string getLastConfigAckTime()

No description

Return Value

string

setLastConfigSendTime($lastConfigSendTime)

No description

Parameters

$lastConfigSendTime

string getLastConfigSendTime()

No description

Return Value

string

setLastErrorStatus(Status $lastErrorStatus)

No description

Parameters

Status $lastErrorStatus

Status getLastErrorStatus()

No description

Return Value

Status

setLastErrorTime($lastErrorTime)

No description

Parameters

$lastErrorTime

string getLastErrorTime()

No description

Return Value

string

setLastEventTime($lastEventTime)

No description

Parameters

$lastEventTime

string getLastEventTime()

No description

Return Value

string

setLastHeartbeatTime($lastHeartbeatTime)

No description

Parameters

$lastHeartbeatTime

string getLastHeartbeatTime()

No description

Return Value

string

setLastStateTime($lastStateTime)

No description

Parameters

$lastStateTime

string getLastStateTime()

No description

Return Value

string

setLogLevel($logLevel)

No description

Parameters

$logLevel

string getLogLevel()

No description

Return Value

string

setMetadata($metadata)

No description

Parameters

$metadata

string[] getMetadata()

No description

Return Value

string[]

setName($name)

No description

Parameters

$name

string getName()

No description

Return Value

string

setNumId($numId)

No description

Parameters

$numId

string getNumId()

No description

Return Value

string

setState(DeviceState $state)

No description

Parameters

DeviceState $state

DeviceState getState()

No description

Return Value

DeviceState