BasicDigitalTwin 类

定义

An optional, helper class for deserializing a digital twin. Only properties with non-null values are included.

public class BasicDigitalTwin
继承
java.lang.Object
BasicDigitalTwin

方法

addCustomProperty(String key, Object value)

Adds an additional property to the digital twin. This field will contain any properties of the digital twin that are not already defined by the other strong types of this class.

getCustomProperties()

Gets the additional properties of the digital twin. This field will contain any properties of the digital twin that are not already defined by the other strong types of this class.

getId()

Gets the unique Id of the digital twin in a digital twins instance. This field is present on every digital twin.

getMetadata()

Gets the information about the model a digital twin conforms to. This field is present on every digital twin.

setId(String id)

Sets the unique Id of the digital twin in a digital twins instance. This field is present on every digital twin.

setMetadata(DigitalTwinMetadata metadata)

Sets the information about the model a digital twin conforms to. This field is present on every digital twin.

适用于