com.apama.cumulocity
Event ManagedObject


Description of a device or other Managed Object.

Sent on startup or in response to a RequestAllDevices event, or if a new ManagedObject is detected (and configuration property subscribeToDevices is enabled). Example:
 ManagedObject("43026768","com_ublox_C027_REV-A","Mbed Test Device",["c8y_Relay","c8y_Configuration","c8y_Message"],[],[],[],{"alt":610.2,"lat":17.426479,"lng":78.33123},{,"c8y_Availability":any(dictionary,{any(string,"status"):any(string,"UNAVAILABLE")}), ,"c8y_Hardware":any(dictionary,{any(string,"model"):any(string,"Ublox C027"),any(string,"revision"):any(string,"1"),any(string,"serialNumber"):any(string,"352648069564516")}),"c8y_IsDevice":any(dictionary,{}),"c8y_Mobile":any(dictionary,{any(string,"cellId"):any(string,"14D80CD"),any(string,"iccid"):any(string,"89914905900016774658"),any(string,"imei"):any(string,"352648069564516")}),"c8y_MotionTracking":any(dictionary,{any(string,"active"):any(boolean,true),any(string,"interval"):any(integer,0)}),"c8y_RequiredAvailability":any(dictionary,{any(string,"responseInterval"):any(integer,20)}),"com_cumulocity_model_Agent":any(dictionary,{}),"owner":any(string,"device_352648069564516")}) 

Constant Summary
 constant stringCHANNEL := "cumulocity.devices"

The channel to which MangedObject events are sent from the transport.
 
Member Summary
 stringid

The unique identifier for this specific Device.
 stringtype

The type of the device.
 stringname

The name of this ManagedObject. Note: This does not have to be a unique value.
 sequence<string >supportedOperations

List of supported operations for this device.
 sequence<string >supportedMeasurements

List of supported measurements for this device.
 sequence<string >childDeviceIds

Ids of child devices.
 sequence<string >childAssetIds

Ids of child devices.
 sequence<string >deviceParentIds

Ids of parent devices.
 sequence<string >assetParentIds

Ids of parent assets.
 dictionary<string, float >position

If known, contains lat, lng, altitude and accuracy.
 dictionary<string, any >params

Other fragments for this ManagedObject.
 
Constant Detail

CHANNEL

constant string CHANNEL := "cumulocity.devices"
The channel to which MangedObject events are sent from the transport.
Member Detail

assetParentIds

sequence<string > assetParentIds
Ids of parent assets.

childAssetIds

sequence<string > childAssetIds
Ids of child devices.

childDeviceIds

sequence<string > childDeviceIds
Ids of child devices.

deviceParentIds

sequence<string > deviceParentIds
Ids of parent devices.

id

string id
The unique identifier for this specific Device.

Supply as empty if creating a new ManagedObject

name

string name
The name of this ManagedObject. Note: This does not have to be a unique value.

params

dictionary<string, any > params
Other fragments for this ManagedObject.

position

dictionary<string, float > position
If known, contains lat, lng, altitude and accuracy.

supportedMeasurements

sequence<string > supportedMeasurements
List of supported measurements for this device.

supportedOperations

sequence<string > supportedOperations
List of supported operations for this device.

type

string type
The type of the device.