| | 1 | | // Copyright (c) Microsoft Corporation. All rights reserved. |
| | 2 | | // Licensed under the MIT License. |
| | 3 | |
|
| | 4 | | // <auto-generated/> |
| | 5 | |
|
| | 6 | | #nullable disable |
| | 7 | |
|
| | 8 | | using System.Collections.Generic; |
| | 9 | | using Azure.Core; |
| | 10 | |
|
| | 11 | | namespace Azure.Messaging.EventGrid.SystemEvents |
| | 12 | | { |
| | 13 | | /// <summary> Schema of the Data property of an EventGridEvent for a device telemetry event (DeviceTelemetry). </sum |
| | 14 | | public partial class DeviceTelemetryEventProperties |
| | 15 | | { |
| | 16 | | /// <summary> Initializes a new instance of DeviceTelemetryEventProperties. </summary> |
| 0 | 17 | | internal DeviceTelemetryEventProperties() |
| | 18 | | { |
| 0 | 19 | | Properties = new ChangeTrackingDictionary<string, string>(); |
| 0 | 20 | | SystemProperties = new ChangeTrackingDictionary<string, string>(); |
| 0 | 21 | | } |
| | 22 | |
|
| | 23 | | /// <summary> Initializes a new instance of DeviceTelemetryEventProperties. </summary> |
| | 24 | | /// <param name="body"> The content of the message from the device. </param> |
| | 25 | | /// <param name="properties"> Application properties are user-defined strings that can be added to the message. |
| | 26 | | /// <param name="systemProperties"> System properties help identify contents and source of the messages. </param |
| 2 | 27 | | internal DeviceTelemetryEventProperties(object body, IReadOnlyDictionary<string, string> properties, IReadOnlyDi |
| | 28 | | { |
| 2 | 29 | | Body = body; |
| 2 | 30 | | Properties = properties; |
| 2 | 31 | | SystemProperties = systemProperties; |
| 2 | 32 | | } |
| | 33 | |
|
| | 34 | | /// <summary> The content of the message from the device. </summary> |
| 0 | 35 | | public object Body { get; } |
| | 36 | | /// <summary> Application properties are user-defined strings that can be added to the message. These fields are |
| 2 | 37 | | public IReadOnlyDictionary<string, string> Properties { get; } |
| | 38 | | /// <summary> System properties help identify contents and source of the messages. </summary> |
| 0 | 39 | | public IReadOnlyDictionary<string, string> SystemProperties { get; } |
| | 40 | | } |
| | 41 | | } |