| | | 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 RegistryStatistics. </summary> |
| | | 11 | | public partial class DevicesStatistics |
| | | 12 | | { |
| | | 13 | | /// <summary> Initializes a new instance of DevicesStatistics. </summary> |
| | 0 | 14 | | internal DevicesStatistics() |
| | | 15 | | { |
| | 0 | 16 | | } |
| | | 17 | | |
| | | 18 | | /// <summary> Initializes a new instance of DevicesStatistics. </summary> |
| | | 19 | | /// <param name="totalDeviceCount"> The total number of devices registered for the IoT Hub. </param> |
| | | 20 | | /// <param name="enabledDeviceCount"> The number of currently enabled devices. </param> |
| | | 21 | | /// <param name="disabledDeviceCount"> The number of currently disabled devices. </param> |
| | 4 | 22 | | internal DevicesStatistics(long? totalDeviceCount, long? enabledDeviceCount, long? disabledDeviceCount) |
| | | 23 | | { |
| | 4 | 24 | | TotalDeviceCount = totalDeviceCount; |
| | 4 | 25 | | EnabledDeviceCount = enabledDeviceCount; |
| | 4 | 26 | | DisabledDeviceCount = disabledDeviceCount; |
| | 4 | 27 | | } |
| | | 28 | | |
| | | 29 | | /// <summary> The total number of devices registered for the IoT Hub. </summary> |
| | 4 | 30 | | public long? TotalDeviceCount { get; } |
| | | 31 | | /// <summary> The number of currently enabled devices. </summary> |
| | 4 | 32 | | public long? EnabledDeviceCount { get; } |
| | | 33 | | /// <summary> The number of currently disabled devices. </summary> |
| | 4 | 34 | | public long? DisabledDeviceCount { get; } |
| | | 35 | | } |
| | | 36 | | } |