| | | 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 result of a device message queue purge operation. </summary> |
| | | 11 | | public partial class PurgeMessageQueueResult |
| | | 12 | | { |
| | | 13 | | /// <summary> Initializes a new instance of PurgeMessageQueueResult. </summary> |
| | 0 | 14 | | internal PurgeMessageQueueResult() |
| | | 15 | | { |
| | 0 | 16 | | } |
| | | 17 | | |
| | | 18 | | /// <summary> Initializes a new instance of PurgeMessageQueueResult. </summary> |
| | | 19 | | /// <param name="totalMessagesPurged"> . </param> |
| | | 20 | | /// <param name="deviceId"> The unique identifier of the device. </param> |
| | | 21 | | /// <param name="moduleId"> The unique identifier of the module. </param> |
| | 0 | 22 | | internal PurgeMessageQueueResult(int? totalMessagesPurged, string deviceId, string moduleId) |
| | | 23 | | { |
| | 0 | 24 | | TotalMessagesPurged = totalMessagesPurged; |
| | 0 | 25 | | DeviceId = deviceId; |
| | 0 | 26 | | ModuleId = moduleId; |
| | 0 | 27 | | } |
| | | 28 | | |
| | 0 | 29 | | public int? TotalMessagesPurged { get; } |
| | | 30 | | /// <summary> The unique identifier of the device. </summary> |
| | 0 | 31 | | public string DeviceId { get; } |
| | | 32 | | /// <summary> The unique identifier of the module. </summary> |
| | 0 | 33 | | public string ModuleId { get; } |
| | | 34 | | } |
| | | 35 | | } |