ThingsKit物联网平台API文档-监控运维(设备分布)

分页查询

接口地址:/api/yt/device{?page,pageSize}

请求方式:POST

请求数据类型:application/x-www-form-urlencoded,application/json

响应数据类型:*/*

请求参数:

参数名称参数说明是否必须数据类型
pagepagetrueint
pageSizepageSizetrueint

响应参数:

参数名称参数说明类型
itemsarray
activeTime激活时间string(date-time)
alarmStatus告警状态:0正常,1告警integer(int32)
alias别名string
brand设备厂商string
code设备标识符,例如:地址码string
createTime创建时间string(date-time)
creator创建用户string
customerId分配客户string
customerName客户名称string
defaultConfig租户默认配置string
description描述string
deviceInfo设备信息JsonNode
deviceProfile设备配置/产品信息DeviceProfileDTORes
alarmProfile告警通知配置AlarmProfileDTO
alarmContactId告警联系人 通知多人“,”号分隔string
createTime创建时间string
creator创建用户string
defaultConfig租户默认配置string
description租户描述string
enabled租户状态:启用/禁用boolean
icon租户图标string
idIDstring
messageMode消息通知方式:多种方式“,”号分隔 MessageTypeEnumstring
name告警配置名称string
organizationId组织IDstring
organizationName组织名称string
remark告警配置备注string
roleIds租户角色列表array
status状态:0禁用 1启用integer
tenantExpireTime租户到期时间string
tenantId租户IDstring
tenantProfileId租户配置string
tenantStatus可用值:DISABLED,EXPIRED,NORMALstring
updateTime更新时间string
updater更新用户string
createTime创建时间string
creator创建用户string
defaultboolean
defaultQueueName默认消息队列string
defaultRuleChainId关联规则链,默认关联根规则链string
description描述string
deviceCount产品下的设备数量integer
deviceType产品类型:GATEWAY,DIRECT_CONNECTION,SENSOR,可用值:DIRECT_CONNECTION,GATEWAY,SENSORstring
idIDstring
image设备配置/产品图片string
name产品(设备配置)名称string
profileDataDeviceProfileDataRes
alarmsJSON array of alarm rules configuration per device profilearray
alarmTypeString value representing type of the alarmstring
clearRuleJSON object representing clear alarm ruleAlarmRuleRes
alarmDetailsString value representing the additional details for an alarm rulestring
conditionJSON object representing the alarm rule conditionAlarmConditionRes
conditionJSON array of alarm condition filtersarray
keyJSON object for specifying alarm condition by specific keyAlarmConditionFilterKeyRes
keyString value representing the keystring
typeThe key type,可用值:ATTRIBUTE,CONSTANT,ENTITY_FIELD,TIME_SERIESstring
predicateJSON object representing filter conditionKeyFilterPredicate
valueValue used in Constant comparison. For other types, such as TIME_SERIES or ATTRIBUTE, the predicate condition is usedobject
valueTypeString representation of the type of the value,可用值:BOOLEAN,DATE_TIME,NUMERIC,STRINGstring
specJSON object representing alarm condition typeAlarmConditionSpec
dashboardIdJSON object with the dashboard Id representing the reference to alarm details dashboard used by mobile applicationDashboardIdRes
entityTypestring,可用值:DASHBOARDstring
idID of the entity, time-based UUID v1string
scheduleJSON object representing time interval during which the rule is activeAlarmScheduleRes
type可用值:ANY_TIME,CUSTOM,SPECIFIC_TIMEstring
createRulesComplex JSON object representing create alarm rules. The unique create alarm rule can be created for each alarm severity type. There can be 5 create alarm rules configured per a single alarm type. See method implementation notes and AlarmRule model for more detailsAlarmRuleRes
alarmDetailsString value representing the additional details for an alarm rulestring
conditionJSON object representing the alarm rule conditionAlarmConditionRes
conditionJSON array of alarm condition filtersarray
keyJSON object for specifying alarm condition by specific keyAlarmConditionFilterKeyRes
keyString value representing the keystring
typeThe key type,可用值:ATTRIBUTE,CONSTANT,ENTITY_FIELD,TIME_SERIESstring
predicateJSON object representing filter conditionKeyFilterPredicate
valueValue used in Constant comparison. For other types, such as TIME_SERIES or ATTRIBUTE, the predicate condition is usedobject
valueTypeString representation of the type of the value,可用值:BOOLEAN,DATE_TIME,NUMERIC,STRINGstring
specJSON object representing alarm condition typeAlarmConditionSpec
dashboardIdJSON object with the dashboard Id representing the reference to alarm details dashboard used by mobile applicationDashboardIdRes
entityTypestring,可用值:DASHBOARDstring
idID of the entity, time-based UUID v1string
scheduleJSON object representing time interval during which the rule is activeAlarmScheduleRes
type可用值:ANY_TIME,CUSTOM,SPECIFIC_TIMEstring
idString value representing the alarm rule idstring
propagatePropagation flag to specify if alarm should be propagated to parent entities of alarm originatorboolean
propagateRelationTypesJSON array of relation types that should be used for propagation. By default, ‘propagateRelationTypes’ array is empty which means that the alarm will be propagated based on any relation type to parent entities. This parameter should be used only in case when ‘propagate’ parameter is set to true, otherwise, ‘propagateRelationTypes’ array will be ignored.array
propagateToOwnerPropagation flag to specify if alarm should be propagated to the owner (tenant or customer) of alarm originatorboolean
propagateToTenantPropagation flag to specify if alarm should be propagated to the tenant entityboolean
configurationJSON object of device profile configurationDeviceProfileConfiguration
provisionConfigurationJSON object of provisioning strategy type per device profileDeviceProfileProvisionConfigurationRes
provisionDeviceSecretstring
transportConfigurationJSON object of device profile transport configurationDeviceProfileTransportConfiguration
provisionType设备创建策略string
scriptId解析脚本IDstring
tbProfileIdTB设备配置IDstring
tenantId租户IDstring
thingsModel物模型物模型
accessMode读写模式:读r 写wstring
callType调用方式:同步sync 异步async,可用值:ASYNC,SYNCstring
createTime创建时间string
creator创建用户string
defaultConfig租户默认配置string
description租户描述string
deviceProfileId设备配置IDstring
enabled租户状态:启用/禁用boolean
eventType事件类型:信息info 告警alert 故障error,可用值:ALERT,ERROR,INFOstring
functionJson功能jsonJsonNode
functionName功能名称string
functionType功能类型,可用值:events,properties,servicesstring
icon租户图标string
idIDstring
identifier功能标识string
name租户名称string
remark备注string
roleIds租户角色列表array
status状态:0待发布 1发布integer
tenantExpireTime租户到期时间string
tenantId租户IDstring
tenantProfileId租户配置string
tenantStatus可用值:DISABLED,EXPIRED,NORMALstring
updateTime更新时间string
updater更新用户string
transportType传输协议string
typeTB设备配置类型,默认DEFAULTstring
updateTime更新时间string
updater更新用户string
deviceProfileId平台设备配置IDstring
deviceState设备状态,可用值:INACTIVE,OFFLINE,ONLINEstring
deviceToken设备凭证TkCredentialsDtoRes
createdTime设备凭证创建的时间戳,以毫秒为单位integer
credentialsId唯一的凭证IDstring
credentialsType凭据的类型,可用值:ACCESS_TOKEN,LWM2M_CREDENTIALS,MQTT_BASIC,X509_CERTIFICATEstring
credentialsValue凭证值string
deviceId带有设备Id的JSON对象DeviceIdRes
entityTypestring,可用值:DEVICEstring
idID of the entity, time-based UUID v1string
id创建设备时自动生成string
deviceType设备类型:GATEWAY,DIRECT_CONNECTION,SENSOR,可用值:DIRECT_CONNECTION,GATEWAY,SENSORstring
enable启用/禁用boolean
enabled租户状态:启用/禁用boolean
gatewayAlias网关别名string
gatewayId关联网关设备string
gatewayName网关名称string
icon租户图标string
idIDstring
label设备标签string
lastOfflineTime最后离线时间integer(int64)
lastOnlineTime最后在线时间integer(int64)
name设备名称string
organizationDTO组织信息OrganizationDTO
children子集array
createTime创建时间string
creator创建用户string
defaultConfig租户默认配置string
description租户描述string
enabled租户状态:启用/禁用boolean
icon租户图标string
idIDstring
name组织名称string
parentId组织父IDstring
remark备注string
roleIds租户角色列表array
sort排序integer
tenantExpireTime租户到期时间string
tenantId租户IDstring
tenantProfileId租户配置string
tenantStatus可用值:DISABLED,EXPIRED,NORMALstring
updateTime更新时间string
updater更新用户string
organizationId设备组织string
profileIdTB设备配置IDstring
roleIds租户角色列表array
sn设备SNstring
statusTime状态时间integer(int64)
tbDeviceIdTB设备IDstring
tenantExpireTime租户到期时间string(date-time)
tenantId租户IDstring
tenantProfileId租户配置string
tenantStatus可用值:DISABLED,EXPIRED,NORMALstring
updateTime更新时间string(date-time)
updater更新用户string
totalinteger(int32)

响应示例:

{
	"items": [
		{
			"activeTime": "",
			"alarmStatus": 0,
			"alias": "",
			"brand": "",
			"code": "",
			"createTime": "",
			"creator": "",
			"customerId": "",
			"customerName": "",
			"defaultConfig": "",
			"description": "",
			"deviceInfo": {},
			"deviceProfile": {
				"alarmProfile": {
					"alarmContactId": "",
					"createTime": "",
					"creator": "",
					"defaultConfig": "",
					"description": "",
					"enabled": false,
					"icon": "",
					"id": "",
					"messageMode": "",
					"name": "",
					"organizationId": "",
					"organizationName": "",
					"remark": "",
					"roleIds": [],
					"status": 0,
					"tenantExpireTime": "",
					"tenantId": "",
					"tenantProfileId": "",
					"tenantStatus": "",
					"updateTime": "",
					"updater": ""
				},
				"createTime": "",
				"creator": "",
				"default": true,
				"defaultQueueName": "",
				"defaultRuleChainId": "",
				"description": "",
				"deviceCount": 0,
				"deviceType": "",
				"id": "",
				"image": "",
				"name": "",
				"profileData": {
					"alarms": [
						{
							"alarmType": "High Temperature Alarm",
							"clearRule": {
								"alarmDetails": "",
								"condition": {
									"condition": [
										{
											"key": {
												"key": "temp",
												"type": "TIME_SERIES"
											},
											"predicate": {},
											"value": {},
											"valueType": "NUMERIC"
										}
									],
									"spec": {}
								},
								"dashboardId": {
									"entityType": "DASHBOARD",
									"id": "784f394c-42b6-435a-983c-b7beff2784f9"
								},
								"schedule": {
									"type": ""
								}
							},
							"createRules": {},
							"id": "highTemperatureAlarmID",
							"propagate": true,
							"propagateRelationTypes": [],
							"propagateToOwner": true,
							"propagateToTenant": true
						}
					],
					"configuration": {},
					"provisionConfiguration": {
						"provisionDeviceSecret": ""
					},
					"transportConfiguration": {}
				},
				"provisionType": "",
				"scriptId": "",
				"tbProfileId": "",
				"tenantId": "",
				"thingsModel": {
					"accessMode": "",
					"callType": "",
					"createTime": "",
					"creator": "",
					"defaultConfig": "",
					"description": "",
					"deviceProfileId": "",
					"enabled": false,
					"eventType": "",
					"functionJson": {},
					"functionName": "",
					"functionType": "",
					"icon": "",
					"id": "",
					"identifier": "",
					"name": "",
					"remark": "",
					"roleIds": [],
					"status": 0,
					"tenantExpireTime": "",
					"tenantId": "",
					"tenantProfileId": "",
					"tenantStatus": "",
					"updateTime": "",
					"updater": ""
				},
				"transportType": "",
				"type": "",
				"updateTime": "",
				"updater": ""
			},
			"deviceProfileId": "",
			"deviceState": "",
			"deviceToken": {
				"createdTime": 1609459200000,
				"credentialsId": "",
				"credentialsType": "",
				"credentialsValue": "Null in case of ACCESS_TOKEN. See model definition.",
				"deviceId": {
					"entityType": "DEVICE",
					"id": "784f394c-42b6-435a-983c-b7beff2784f9"
				}
			},
			"deviceType": "",
			"enable": false,
			"enabled": false,
			"gatewayAlias": "",
			"gatewayId": "",
			"gatewayName": "",
			"icon": "",
			"id": "",
			"label": "",
			"lastOfflineTime": 0,
			"lastOnlineTime": 0,
			"name": "",
			"organizationDTO": {
				"children": [
					{
						"children": [
							{}
						],
						"createTime": "",
						"creator": "",
						"defaultConfig": "",
						"description": "",
						"enabled": false,
						"icon": "",
						"id": "",
						"name": "",
						"parentId": "",
						"remark": "",
						"roleIds": [],
						"sort": 0,
						"tenantExpireTime": "",
						"tenantId": "",
						"tenantProfileId": "",
						"tenantStatus": "",
						"updateTime": "",
						"updater": ""
					}
				],
				"createTime": "",
				"creator": "",
				"defaultConfig": "",
				"description": "",
				"enabled": false,
				"icon": "",
				"id": "",
				"name": "",
				"parentId": "",
				"remark": "",
				"roleIds": [],
				"sort": 0,
				"tenantExpireTime": "",
				"tenantId": "",
				"tenantProfileId": "",
				"tenantStatus": "",
				"updateTime": "",
				"updater": ""
			},
			"organizationId": "",
			"profileId": "",
			"roleIds": [],
			"sn": "",
			"statusTime": 0,
			"tbDeviceId": "",
			"tenantExpireTime": "",
			"tenantId": "",
			"tenantProfileId": "",
			"tenantStatus": "",
			"updateTime": "",
			"updater": ""
		}
	],
	"total": 0
}

设备详情

接口地址:/api/yt/device/{id}

请求方式:GET

请求数据类型:application/x-www-form-urlencoded

响应数据类型:*/*

请求参数:

参数名称参数说明请求类型是否必须数据类型
ididpathtruestring

响应参数:

参数名称参数说明类型
activeTime激活时间string(date-time)
alarmStatus告警状态:0正常,1告警integer(int32)
alias别名string
brand设备厂商string
code设备标识符,例如:地址码string
createTime创建时间string(date-time)
creator创建用户string
customerId分配客户string
customerName客户名称string
defaultConfig租户默认配置string
description描述string
deviceInfo设备信息JsonNode
deviceProfile设备配置/产品信息DeviceProfileDTORes
alarmProfile告警通知配置AlarmProfileDTO
alarmContactId告警联系人 通知多人“,”号分隔string
createTime创建时间string
creator创建用户string
defaultConfig租户默认配置string
description租户描述string
enabled租户状态:启用/禁用boolean
icon租户图标string
idIDstring
messageMode消息通知方式:多种方式“,”号分隔 MessageTypeEnumstring
name告警配置名称string
organizationId组织IDstring
organizationName组织名称string
remark告警配置备注string
roleIds租户角色列表array
status状态:0禁用 1启用integer
tenantExpireTime租户到期时间string
tenantId租户IDstring
tenantProfileId租户配置string
tenantStatus可用值:DISABLED,EXPIRED,NORMALstring
updateTime更新时间string
updater更新用户string
createTime创建时间string(date-time)
creator创建用户string
defaultboolean
defaultQueueName默认消息队列string
defaultRuleChainId关联规则链,默认关联根规则链string
description描述string
deviceCount产品下的设备数量integer(int32)
deviceType产品类型:GATEWAY,DIRECT_CONNECTION,SENSOR,可用值:DIRECT_CONNECTION,GATEWAY,SENSORstring
idIDstring
image设备配置/产品图片string
name产品(设备配置)名称string
profileDataDeviceProfileDataRes
alarmsJSON array of alarm rules configuration per device profilearray
alarmTypeString value representing type of the alarmstring
clearRuleJSON object representing clear alarm ruleAlarmRuleRes
alarmDetailsString value representing the additional details for an alarm rulestring
conditionJSON object representing the alarm rule conditionAlarmConditionRes
conditionJSON array of alarm condition filtersarray
keyJSON object for specifying alarm condition by specific keyAlarmConditionFilterKeyRes
keyString value representing the keystring
typeThe key type,可用值:ATTRIBUTE,CONSTANT,ENTITY_FIELD,TIME_SERIESstring
predicateJSON object representing filter conditionKeyFilterPredicate
valueValue used in Constant comparison. For other types, such as TIME_SERIES or ATTRIBUTE, the predicate condition is usedobject
valueTypeString representation of the type of the value,可用值:BOOLEAN,DATE_TIME,NUMERIC,STRINGstring
specJSON object representing alarm condition typeAlarmConditionSpec
dashboardIdJSON object with the dashboard Id representing the reference to alarm details dashboard used by mobile applicationDashboardIdRes
entityTypestring,可用值:DASHBOARDstring
idID of the entity, time-based UUID v1string
scheduleJSON object representing time interval during which the rule is activeAlarmScheduleRes
type可用值:ANY_TIME,CUSTOM,SPECIFIC_TIMEstring
createRulesComplex JSON object representing create alarm rules. The unique create alarm rule can be created for each alarm severity type. There can be 5 create alarm rules configured per a single alarm type. See method implementation notes and AlarmRule model for more detailsAlarmRuleRes
alarmDetailsString value representing the additional details for an alarm rulestring
conditionJSON object representing the alarm rule conditionAlarmConditionRes
conditionJSON array of alarm condition filtersarray
keyJSON object for specifying alarm condition by specific keyAlarmConditionFilterKeyRes
keyString value representing the keystring
typeThe key type,可用值:ATTRIBUTE,CONSTANT,ENTITY_FIELD,TIME_SERIESstring
predicateJSON object representing filter conditionKeyFilterPredicate
valueValue used in Constant comparison. For other types, such as TIME_SERIES or ATTRIBUTE, the predicate condition is usedobject
valueTypeString representation of the type of the value,可用值:BOOLEAN,DATE_TIME,NUMERIC,STRINGstring
specJSON object representing alarm condition typeAlarmConditionSpec
dashboardIdJSON object with the dashboard Id representing the reference to alarm details dashboard used by mobile applicationDashboardIdRes
entityTypestring,可用值:DASHBOARDstring
idID of the entity, time-based UUID v1string
scheduleJSON object representing time interval during which the rule is activeAlarmScheduleRes
type可用值:ANY_TIME,CUSTOM,SPECIFIC_TIMEstring
idString value representing the alarm rule idstring
propagatePropagation flag to specify if alarm should be propagated to parent entities of alarm originatorboolean
propagateRelationTypesJSON array of relation types that should be used for propagation. By default, ‘propagateRelationTypes’ array is empty which means that the alarm will be propagated based on any relation type to parent entities. This parameter should be used only in case when ‘propagate’ parameter is set to true, otherwise, ‘propagateRelationTypes’ array will be ignored.array
propagateToOwnerPropagation flag to specify if alarm should be propagated to the owner (tenant or customer) of alarm originatorboolean
propagateToTenantPropagation flag to specify if alarm should be propagated to the tenant entityboolean
configurationJSON object of device profile configurationDeviceProfileConfiguration
provisionConfigurationJSON object of provisioning strategy type per device profileDeviceProfileProvisionConfigurationRes
provisionDeviceSecretstring
transportConfigurationJSON object of device profile transport configurationDeviceProfileTransportConfiguration
provisionType设备创建策略string
scriptId解析脚本IDstring
tbProfileIdTB设备配置IDstring
tenantId租户IDstring
thingsModel物模型物模型
accessMode读写模式:读r 写wstring
callType调用方式:同步sync 异步async,可用值:ASYNC,SYNCstring
createTime创建时间string
creator创建用户string
defaultConfig租户默认配置string
description租户描述string
deviceProfileId设备配置IDstring
enabled租户状态:启用/禁用boolean
eventType事件类型:信息info 告警alert 故障error,可用值:ALERT,ERROR,INFOstring
functionJson功能jsonJsonNode
functionName功能名称string
functionType功能类型,可用值:events,properties,servicesstring
icon租户图标string
idIDstring
identifier功能标识string
name租户名称string
remark备注string
roleIds租户角色列表array
status状态:0待发布 1发布integer
tenantExpireTime租户到期时间string
tenantId租户IDstring
tenantProfileId租户配置string
tenantStatus可用值:DISABLED,EXPIRED,NORMALstring
updateTime更新时间string
updater更新用户string
transportType传输协议string
typeTB设备配置类型,默认DEFAULTstring
updateTime更新时间string(date-time)
updater更新用户string
deviceProfileId平台设备配置IDstring
deviceState设备状态,可用值:INACTIVE,OFFLINE,ONLINEstring
deviceToken设备凭证TkCredentialsDtoRes
createdTime设备凭证创建的时间戳,以毫秒为单位integer(int64)
credentialsId唯一的凭证IDstring
credentialsType凭据的类型,可用值:ACCESS_TOKEN,LWM2M_CREDENTIALS,MQTT_BASIC,X509_CERTIFICATEstring
credentialsValue凭证值string
deviceId带有设备Id的JSON对象DeviceIdRes
entityTypestring,可用值:DEVICEstring
idID of the entity, time-based UUID v1string
id创建设备时自动生成string(uuid)
deviceType设备类型:GATEWAY,DIRECT_CONNECTION,SENSOR,可用值:DIRECT_CONNECTION,GATEWAY,SENSORstring
enable启用/禁用boolean
enabled租户状态:启用/禁用boolean
gatewayAlias网关别名string
gatewayId关联网关设备string
gatewayName网关名称string
icon租户图标string
idIDstring
label设备标签string
lastOfflineTime最后离线时间integer(int64)
lastOnlineTime最后在线时间integer(int64)
name设备名称string
organizationDTO组织信息OrganizationDTO
children子集array
createTime创建时间string(date-time)
creator创建用户string
defaultConfig租户默认配置string
description租户描述string
enabled租户状态:启用/禁用boolean
icon租户图标string
idIDstring
name组织名称string
parentId组织父IDstring
remark备注string
roleIds租户角色列表array
sort排序integer(int32)
tenantExpireTime租户到期时间string(date-time)
tenantId租户IDstring
tenantProfileId租户配置string
tenantStatus可用值:DISABLED,EXPIRED,NORMALstring
updateTime更新时间string(date-time)
updater更新用户string
organizationId设备组织string
profileIdTB设备配置IDstring
roleIds租户角色列表array
sn设备SNstring
statusTime状态时间integer(int64)
tbDeviceIdTB设备IDstring
tenantExpireTime租户到期时间string(date-time)
tenantId租户IDstring
tenantProfileId租户配置string
tenantStatus可用值:DISABLED,EXPIRED,NORMALstring
updateTime更新时间string(date-time)
updater更新用户string

响应示例:

{
	"activeTime": "",
	"alarmStatus": 0,
	"alias": "",
	"brand": "",
	"code": "",
	"createTime": "",
	"creator": "",
	"customerId": "",
	"customerName": "",
	"defaultConfig": "",
	"description": "",
	"deviceInfo": {},
	"deviceProfile": {
		"alarmProfile": {
			"alarmContactId": "",
			"createTime": "",
			"creator": "",
			"defaultConfig": "",
			"description": "",
			"enabled": false,
			"icon": "",
			"id": "",
			"messageMode": "",
			"name": "",
			"organizationId": "",
			"organizationName": "",
			"remark": "",
			"roleIds": [],
			"status": 0,
			"tenantExpireTime": "",
			"tenantId": "",
			"tenantProfileId": "",
			"tenantStatus": "",
			"updateTime": "",
			"updater": ""
		},
		"createTime": "",
		"creator": "",
		"default": true,
		"defaultQueueName": "",
		"defaultRuleChainId": "",
		"description": "",
		"deviceCount": 0,
		"deviceType": "",
		"id": "",
		"image": "",
		"name": "",
		"profileData": {
			"alarms": [
				{
					"alarmType": "High Temperature Alarm",
					"clearRule": {
						"alarmDetails": "",
						"condition": {
							"condition": [
								{
									"key": {
										"key": "temp",
										"type": "TIME_SERIES"
									},
									"predicate": {},
									"value": {},
									"valueType": "NUMERIC"
								}
							],
							"spec": {}
						},
						"dashboardId": {
							"entityType": "DASHBOARD",
							"id": "784f394c-42b6-435a-983c-b7beff2784f9"
						},
						"schedule": {
							"type": ""
						}
					},
					"createRules": {},
					"id": "highTemperatureAlarmID",
					"propagate": true,
					"propagateRelationTypes": [],
					"propagateToOwner": true,
					"propagateToTenant": true
				}
			],
			"configuration": {},
			"provisionConfiguration": {
				"provisionDeviceSecret": ""
			},
			"transportConfiguration": {}
		},
		"provisionType": "",
		"scriptId": "",
		"tbProfileId": "",
		"tenantId": "",
		"thingsModel": {
			"accessMode": "",
			"callType": "",
			"createTime": "",
			"creator": "",
			"defaultConfig": "",
			"description": "",
			"deviceProfileId": "",
			"enabled": false,
			"eventType": "",
			"functionJson": {},
			"functionName": "",
			"functionType": "",
			"icon": "",
			"id": "",
			"identifier": "",
			"name": "",
			"remark": "",
			"roleIds": [],
			"status": 0,
			"tenantExpireTime": "",
			"tenantId": "",
			"tenantProfileId": "",
			"tenantStatus": "",
			"updateTime": "",
			"updater": ""
		},
		"transportType": "",
		"type": "",
		"updateTime": "",
		"updater": ""
	},
	"deviceProfileId": "",
	"deviceState": "",
	"deviceToken": {
		"createdTime": 1609459200000,
		"credentialsId": "",
		"credentialsType": "",
		"credentialsValue": "Null in case of ACCESS_TOKEN. See model definition.",
		"deviceId": {
			"entityType": "DEVICE",
			"id": "784f394c-42b6-435a-983c-b7beff2784f9"
		}
	},
	"deviceType": "",
	"enable": false,
	"enabled": false,
	"gatewayAlias": "",
	"gatewayId": "",
	"gatewayName": "",
	"icon": "",
	"id": "",
	"label": "",
	"lastOfflineTime": 0,
	"lastOnlineTime": 0,
	"name": "",
	"organizationDTO": {
		"children": [
			{
				"children": [
					{}
				],
				"createTime": "",
				"creator": "",
				"defaultConfig": "",
				"description": "",
				"enabled": false,
				"icon": "",
				"id": "",
				"name": "",
				"parentId": "",
				"remark": "",
				"roleIds": [],
				"sort": 0,
				"tenantExpireTime": "",
				"tenantId": "",
				"tenantProfileId": "",
				"tenantStatus": "",
				"updateTime": "",
				"updater": ""
			}
		],
		"createTime": "",
		"creator": "",
		"defaultConfig": "",
		"description": "",
		"enabled": false,
		"icon": "",
		"id": "",
		"name": "",
		"parentId": "",
		"remark": "",
		"roleIds": [],
		"sort": 0,
		"tenantExpireTime": "",
		"tenantId": "",
		"tenantProfileId": "",
		"tenantStatus": "",
		"updateTime": "",
		"updater": ""
	},
	"organizationId": "",
	"profileId": "",
	"roleIds": [],
	"sn": "",
	"statusTime": 0,
	"tbDeviceId": "",
	"tenantExpireTime": "",
	"tenantId": "",
	"tenantProfileId": "",
	"tenantStatus": "",
	"updateTime": "",
	"updater": ""
}