| | 1 | | // Copyright (c) Microsoft Corporation. All rights reserved. |
| | 2 | | // Licensed under the MIT License. |
| | 3 | |
|
| | 4 | | // <auto-generated/> |
| | 5 | |
|
| | 6 | | #nullable disable |
| | 7 | |
|
| | 8 | | namespace Azure.Messaging.EventGrid.SystemEvents |
| | 9 | | { |
| | 10 | | /// <summary> Schema of the Data property of an EventGridEvent for a device life cycle event (DeviceCreated, DeviceD |
| | 11 | | public partial class DeviceLifeCycleEventProperties |
| | 12 | | { |
| | 13 | | /// <summary> Initializes a new instance of DeviceLifeCycleEventProperties. </summary> |
| 0 | 14 | | internal DeviceLifeCycleEventProperties() |
| | 15 | | { |
| 0 | 16 | | } |
| | 17 | |
|
| | 18 | | /// <summary> Initializes a new instance of DeviceLifeCycleEventProperties. </summary> |
| | 19 | | /// <param name="deviceId"> The unique identifier of the device. This case-sensitive string can be up to 128 cha |
| | 20 | | /// <param name="hubName"> Name of the IoT Hub where the device was created or deleted. </param> |
| | 21 | | /// <param name="twin"> Information about the device twin, which is the cloud representation of application devi |
| 4 | 22 | | internal DeviceLifeCycleEventProperties(string deviceId, string hubName, DeviceTwinInfo twin) |
| | 23 | | { |
| 4 | 24 | | DeviceId = deviceId; |
| 4 | 25 | | HubName = hubName; |
| 4 | 26 | | Twin = twin; |
| 4 | 27 | | } |
| | 28 | |
|
| | 29 | | /// <summary> The unique identifier of the device. This case-sensitive string can be up to 128 characters long, |
| 0 | 30 | | public string DeviceId { get; } |
| | 31 | | /// <summary> Name of the IoT Hub where the device was created or deleted. </summary> |
| 0 | 32 | | public string HubName { get; } |
| | 33 | | /// <summary> Information about the device twin, which is the cloud representation of application device metadat |
| 4 | 34 | | public DeviceTwinInfo Twin { get; } |
| | 35 | | } |
| | 36 | | } |