| | 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.Iot.Hub.Service.Models |
| | 9 | | { |
| | 10 | | /// <summary> The device registry operation warning details. </summary> |
| | 11 | | public partial class DeviceRegistryOperationWarning |
| | 12 | | { |
| | 13 | | /// <summary> Initializes a new instance of DeviceRegistryOperationWarning. </summary> |
| 0 | 14 | | internal DeviceRegistryOperationWarning() |
| | 15 | | { |
| 0 | 16 | | WarningCode = "DeviceRegisteredWithoutTwin"; |
| 0 | 17 | | } |
| | 18 | |
|
| | 19 | | /// <summary> Initializes a new instance of DeviceRegistryOperationWarning. </summary> |
| | 20 | | /// <param name="deviceId"> The unique identifier of the device. </param> |
| | 21 | | /// <param name="warningCode"> The warning code. </param> |
| | 22 | | /// <param name="warningStatus"> The details of the warning. </param> |
| 0 | 23 | | internal DeviceRegistryOperationWarning(string deviceId, string warningCode, string warningStatus) |
| | 24 | | { |
| 0 | 25 | | DeviceId = deviceId; |
| 0 | 26 | | WarningCode = warningCode; |
| 0 | 27 | | WarningStatus = warningStatus; |
| 0 | 28 | | } |
| | 29 | |
|
| | 30 | | /// <summary> The unique identifier of the device. </summary> |
| 0 | 31 | | public string DeviceId { get; } |
| | 32 | | /// <summary> The warning code. </summary> |
| 0 | 33 | | public string WarningCode { get; } |
| | 34 | | /// <summary> The details of the warning. </summary> |
| 0 | 35 | | public string WarningStatus { get; } |
| | 36 | | } |
| | 37 | | } |