| | 1 | | // <auto-generated> |
| | 2 | | // Copyright (c) Microsoft Corporation. All rights reserved. |
| | 3 | | // Licensed under the MIT License. See License.txt in the project root for |
| | 4 | | // license information. |
| | 5 | | // |
| | 6 | | // Code generated by Microsoft (R) AutoRest Code Generator. |
| | 7 | | // Changes may cause incorrect behavior and will be lost if the code is |
| | 8 | | // regenerated. |
| | 9 | | // </auto-generated> |
| | 10 | |
|
| | 11 | | namespace Microsoft.Azure.EventGrid.Models |
| | 12 | | { |
| | 13 | | using System.Linq; |
| | 14 | |
|
| | 15 | | /// <summary> |
| | 16 | | /// Event data for Microsoft.Devices.DeviceConnected event. |
| | 17 | | /// </summary> |
| | 18 | | public partial class IotHubDeviceConnectedEventData : DeviceConnectionStateEventProperties |
| | 19 | | { |
| | 20 | | /// <summary> |
| | 21 | | /// Initializes a new instance of the IotHubDeviceConnectedEventData |
| | 22 | | /// class. |
| | 23 | | /// </summary> |
| 1 | 24 | | public IotHubDeviceConnectedEventData() |
| | 25 | | { |
| | 26 | | CustomInit(); |
| 1 | 27 | | } |
| | 28 | |
|
| | 29 | | /// <summary> |
| | 30 | | /// Initializes a new instance of the IotHubDeviceConnectedEventData |
| | 31 | | /// class. |
| | 32 | | /// </summary> |
| | 33 | | /// <param name="deviceId">The unique identifier of the device. This |
| | 34 | | /// case-sensitive string can be up to 128 characters long, and |
| | 35 | | /// supports ASCII 7-bit alphanumeric characters plus the following |
| | 36 | | /// special characters: - : . + % _ &#35; * ? ! ( ) , = @ ; $ |
| | 37 | | /// '.</param> |
| | 38 | | /// <param name="moduleId">The unique identifier of the module. This |
| | 39 | | /// case-sensitive string can be up to 128 characters long, and |
| | 40 | | /// supports ASCII 7-bit alphanumeric characters plus the following |
| | 41 | | /// special characters: - : . + % _ &#35; * ? ! ( ) , = @ ; $ |
| | 42 | | /// '.</param> |
| | 43 | | /// <param name="hubName">Name of the IoT Hub where the device was |
| | 44 | | /// created or deleted.</param> |
| | 45 | | /// <param name="deviceConnectionStateEventInfo">Information about the |
| | 46 | | /// device connection state event.</param> |
| | 47 | | public IotHubDeviceConnectedEventData(string deviceId = default(string), string moduleId = default(string), stri |
| 0 | 48 | | : base(deviceId, moduleId, hubName, deviceConnectionStateEventInfo) |
| | 49 | | { |
| | 50 | | CustomInit(); |
| 0 | 51 | | } |
| | 52 | |
|
| | 53 | | /// <summary> |
| | 54 | | /// An initialization method that performs custom operations like setting defaults |
| | 55 | | /// </summary> |
| | 56 | | partial void CustomInit(); |
| | 57 | |
|
| | 58 | | } |
| | 59 | | } |