BasicDigitalTwin.addToContents(String key, Object value) Method

Definition

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

public BasicDigitalTwin addToContents(String key, Object value)

Parameters

key
java.lang.String

The key of the additional property to be added to the digital twin.

value
java.lang.Object

The value of the additional property to be added to the digital twin.

Returns

The BasicDigitalTwin object itself.

Applies to