| | 1 | | // Copyright (c) Microsoft Corporation. All rights reserved. |
| | 2 | | // Licensed under the MIT License. |
| | 3 | |
|
| | 4 | | using System.Collections.Generic; |
| | 5 | | using System.Text.Json.Serialization; |
| | 6 | |
|
| | 7 | | namespace Azure.DigitalTwins.Core.Serialization |
| | 8 | | { |
| | 9 | | /// <summary> |
| | 10 | | /// An optional, helper class for deserializing a digital twin. |
| | 11 | | /// The $metadata class on a <see cref="BasicDigitalTwin"/> and <see cref="ModelProperties"/>. |
| | 12 | | /// </summary> |
| | 13 | | /// <remarks> |
| | 14 | | /// For more samples, see <see href="https://github.com/Azure/azure-sdk-for-net/tree/master/sdk/digitaltwins/Azure.D |
| | 15 | | /// </remarks> |
| | 16 | | public class ComponentMetadata |
| | 17 | | { |
| | 18 | | /// <summary> |
| | 19 | | /// Model-defined writable properties' request state. |
| | 20 | | /// </summary> |
| | 21 | | /// <remarks>For your convenience, the value of each dictionary object can be turned into an instance of <see cr |
| | 22 | | [JsonExtensionData] |
| 0 | 23 | | public IDictionary<string, object> WriteableProperties { get; } = new Dictionary<string, object>(); |
| | 24 | | } |
| | 25 | | } |