DigitalTwinMetadata Class

Definition

An optional, helper class for deserializing a digital twin. The $metadata class on a BasicDigitalTwin.

[System.Text.Json.Serialization.JsonConverter(typeof(Azure.DigitalTwins.Core.DigitalTwinMetadataJsonConverter))]
public class DigitalTwinMetadata
[<System.Text.Json.Serialization.JsonConverter(typeof(Azure.DigitalTwins.Core.DigitalTwinMetadataJsonConverter))>]
type DigitalTwinMetadata = class
Public Class DigitalTwinMetadata
Inheritance
System.Object
DigitalTwinMetadata
Attributes
System.Text.Json.Serialization.JsonConverterAttribute

Remarks

For more samples, see our repo samples.

Constructors

DigitalTwinMetadata()

Properties

ModelId

The Id of the model that the digital twin or component is modeled by.

PropertyMetadata

This field will contain metadata about changes on properties on the digital twin. The key will be the property name, and the value is the metadata.

Applies to