| | | 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 job statistics regarding execution status. </summary> |
| | | 11 | | public partial class DeviceJobStatistics |
| | | 12 | | { |
| | | 13 | | /// <summary> Initializes a new instance of DeviceJobStatistics. </summary> |
| | 0 | 14 | | internal DeviceJobStatistics() |
| | | 15 | | { |
| | 0 | 16 | | } |
| | | 17 | | |
| | | 18 | | /// <summary> Initializes a new instance of DeviceJobStatistics. </summary> |
| | | 19 | | /// <param name="deviceCount"> The number of devices targeted by the job. </param> |
| | | 20 | | /// <param name="failedCount"> The number of failed jobs. </param> |
| | | 21 | | /// <param name="succeededCount"> The number of succeeded jobs. </param> |
| | | 22 | | /// <param name="runningCount"> The number of running jobs. </param> |
| | | 23 | | /// <param name="pendingCount"> The number of pending (scheduled) jobs. </param> |
| | 0 | 24 | | internal DeviceJobStatistics(int? deviceCount, int? failedCount, int? succeededCount, int? runningCount, int? pe |
| | | 25 | | { |
| | 0 | 26 | | DeviceCount = deviceCount; |
| | 0 | 27 | | FailedCount = failedCount; |
| | 0 | 28 | | SucceededCount = succeededCount; |
| | 0 | 29 | | RunningCount = runningCount; |
| | 0 | 30 | | PendingCount = pendingCount; |
| | 0 | 31 | | } |
| | | 32 | | |
| | | 33 | | /// <summary> The number of devices targeted by the job. </summary> |
| | 0 | 34 | | public int? DeviceCount { get; } |
| | | 35 | | /// <summary> The number of failed jobs. </summary> |
| | 0 | 36 | | public int? FailedCount { get; } |
| | | 37 | | /// <summary> The number of succeeded jobs. </summary> |
| | 0 | 38 | | public int? SucceededCount { get; } |
| | | 39 | | /// <summary> The number of running jobs. </summary> |
| | 0 | 40 | | public int? RunningCount { get; } |
| | | 41 | | /// <summary> The number of pending (scheduled) jobs. </summary> |
| | 0 | 42 | | public int? PendingCount { get; } |
| | | 43 | | } |
| | | 44 | | } |