Models

Permission

object

This is a permission map that contain two object indexes. It is used to link/unlink objects. Order is important. Example: { deviceId:8, geofenceId: 16 }

userIdinteger<int64>

User id, can be only first parameter

deviceIdinteger<int64>

Device id, can be first parameter or second only in combination with userId

groupIdinteger<int64>

Group id, can be first parameter or second only in combination with userId

geofenceIdinteger<int64>

Geofence id, can be second parameter only

notificationIdinteger<int64>

Notification id, can be second parameter only

calendarIdinteger<int64>

Calendar id, can be second parameter only and only in combination with userId

attributeIdinteger<int64>

Computed attribute id, can be second parameter only

driverIdinteger<int64>

Driver id, can be second parameter only

managedUserIdinteger<int64>

User id, can be second parameter only and only in combination with userId

commandIdinteger<int64>

Saved command id, can be second parameter only