TwinParser.resetReportedProperty(Map<String, Object> propertyMap) 方法

定义

Reset the `reported` properties information in the collection, deleting all old properties and add all the new provided ones. Return a string with a json that contains a sub-collection of added properties.

public String resetReportedProperty(Map<String, Object> propertyMap)

参数

propertyMap
Map<String, Object>

- Map of `reported` property to change the collection.

返回

String

Json with added properties

例外

IllegalArgumentException

This exception is thrown if the properties in the map do not fits the requirements.

适用于