TwinProperties 类

定义

INNER TWINPARSER CLASS

TwinParser Properties representation

This class is part of the TwinParser. It is necessary to generate the properties json.

public class TwinProperties
继承
java.lang.Object
TwinProperties

方法

clearDesired()
clearReported()
enableDesiredMetadata()
enableReportedMetadata()
getDesiredPropertyMap()
getDesiredVersion()
getReportedPropertyMap()
getReportedVersion()
resetDesired(Map<String, Object> property)
resetReported(Map<String, Object> property)
toJson()
toJsonElement()
update(Map<String, Object> jsonTree, TwinChangedCallback onDesiredCallback, TwinChangedCallback onReportedCallback)
updateDesired(Map<String, Object> property)
updateDesired(String json, TwinChangedCallback onDesiredCallback)
updateReported(Map<String, Object> property)
updateReported(String json, TwinChangedCallback onDesiredCallback)
validate(Map<String, Object> jsonTree)

适用于