DigitalTwinMetadata Class
- java.
lang. Object - com.
microsoft. azure. sdk. iot. service. digitaltwin. serialization. DigitalTwinMetadata
- com.
public class DigitalTwinMetadata
Constructor Summary
Constructor | Description |
---|---|
DigitalTwinMetadata() |
Creates an instance of digital twin metadata. |
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
getModelId()
Gets the Id of the model that the digital twin or component is modeled by. |
Map<String, Writable |
getWriteableProperties()
Gets the model-defined writable properties' request state. For your convenience, the value of each map can be turned into an instance of WritableProperty. |
Digital |
setModelId(String modelId)
Sets the Id of the model that the digital twin or component is modeled by. |
Constructor Details
DigitalTwinMetadata
public DigitalTwinMetadata()
Creates an instance of digital twin metadata.
Method Details
getModelId
public String getModelId()
Gets the Id of the model that the digital twin or component is modeled by.
Returns:
getWriteableProperties
public Map
Gets the model-defined writable properties' request state. For your convenience, the value of each map can be turned into an instance of WritableProperty.
Returns:
setModelId
public DigitalTwinMetadata setModelId(String modelId)
Sets the Id of the model that the digital twin or component is modeled by.
Parameters:
Returns:
Applies to
Azure SDK for Java