| | 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 connection state event (DeviceConnected, |
| | 11 | | public partial class DeviceConnectionStateEventProperties |
| | 12 | | { |
| | 13 | | /// <summary> Initializes a new instance of DeviceConnectionStateEventProperties. </summary> |
| 0 | 14 | | internal DeviceConnectionStateEventProperties() |
| | 15 | | { |
| 0 | 16 | | } |
| | 17 | |
|
| | 18 | | /// <summary> Initializes a new instance of DeviceConnectionStateEventProperties. </summary> |
| | 19 | | /// <param name="deviceId"> The unique identifier of the device. This case-sensitive string can be up to 128 cha |
| | 20 | | /// <param name="moduleId"> The unique identifier of the module. This case-sensitive string can be up to 128 cha |
| | 21 | | /// <param name="hubName"> Name of the IoT Hub where the device was created or deleted. </param> |
| | 22 | | /// <param name="deviceConnectionStateEventInfo"> Information about the device connection state event. </param> |
| 4 | 23 | | internal DeviceConnectionStateEventProperties(string deviceId, string moduleId, string hubName, DeviceConnection |
| | 24 | | { |
| 4 | 25 | | DeviceId = deviceId; |
| 4 | 26 | | ModuleId = moduleId; |
| 4 | 27 | | HubName = hubName; |
| 4 | 28 | | DeviceConnectionStateEventInfo = deviceConnectionStateEventInfo; |
| 4 | 29 | | } |
| | 30 | |
|
| | 31 | | /// <summary> The unique identifier of the device. This case-sensitive string can be up to 128 characters long, |
| 0 | 32 | | public string DeviceId { get; } |
| | 33 | | /// <summary> The unique identifier of the module. This case-sensitive string can be up to 128 characters long, |
| 0 | 34 | | public string ModuleId { get; } |
| | 35 | | /// <summary> Name of the IoT Hub where the device was created or deleted. </summary> |
| 2 | 36 | | public string HubName { get; } |
| | 37 | | /// <summary> Information about the device connection state event. </summary> |
| 2 | 38 | | public DeviceConnectionStateEventInfo DeviceConnectionStateEventInfo { get; } |
| | 39 | | } |
| | 40 | | } |