|   |  | 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.Batch.Protocol.Models | 
|   |  | 12 |  | { | 
|   |  | 13 |  |     using Newtonsoft.Json; | 
|   |  | 14 |  |     using System.Linq; | 
|   |  | 15 |  |  | 
|   |  | 16 |  |     /// <summary> | 
|   |  | 17 |  |     /// Statistics related to Pool usage information. | 
|   |  | 18 |  |     /// </summary> | 
|   |  | 19 |  |     public partial class UsageStatistics | 
|   |  | 20 |  |     { | 
|   |  | 21 |  |         /// <summary> | 
|   |  | 22 |  |         /// Initializes a new instance of the UsageStatistics class. | 
|   |  | 23 |  |         /// </summary> | 
|   | 278 | 24 |  |         public UsageStatistics() | 
|   |  | 25 |  |         { | 
|   |  | 26 |  |             CustomInit(); | 
|   | 278 | 27 |  |         } | 
|   |  | 28 |  |  | 
|   |  | 29 |  |         /// <summary> | 
|   |  | 30 |  |         /// Initializes a new instance of the UsageStatistics class. | 
|   |  | 31 |  |         /// </summary> | 
|   |  | 32 |  |         /// <param name="startTime">The start time of the time range covered by | 
|   |  | 33 |  |         /// the statistics.</param> | 
|   |  | 34 |  |         /// <param name="lastUpdateTime">The time at which the statistics were | 
|   |  | 35 |  |         /// last updated. All statistics are limited to the range between | 
|   |  | 36 |  |         /// startTime and lastUpdateTime.</param> | 
|   |  | 37 |  |         /// <param name="dedicatedCoreTime">The aggregated wall-clock time of | 
|   |  | 38 |  |         /// the dedicated Compute Node cores being part of the Pool.</param> | 
|   | 0 | 39 |  |         public UsageStatistics(System.DateTime startTime, System.DateTime lastUpdateTime, System.TimeSpan dedicatedCoreT | 
|   |  | 40 |  |         { | 
|   | 0 | 41 |  |             StartTime = startTime; | 
|   | 0 | 42 |  |             LastUpdateTime = lastUpdateTime; | 
|   | 0 | 43 |  |             DedicatedCoreTime = dedicatedCoreTime; | 
|   |  | 44 |  |             CustomInit(); | 
|   | 0 | 45 |  |         } | 
|   |  | 46 |  |  | 
|   |  | 47 |  |         /// <summary> | 
|   |  | 48 |  |         /// An initialization method that performs custom operations like setting defaults | 
|   |  | 49 |  |         /// </summary> | 
|   |  | 50 |  |         partial void CustomInit(); | 
|   |  | 51 |  |  | 
|   |  | 52 |  |         /// <summary> | 
|   |  | 53 |  |         /// Gets or sets the start time of the time range covered by the | 
|   |  | 54 |  |         /// statistics. | 
|   |  | 55 |  |         /// </summary> | 
|   |  | 56 |  |         [JsonProperty(PropertyName = "startTime")] | 
|   | 697 | 57 |  |         public System.DateTime StartTime { get; set; } | 
|   |  | 58 |  |  | 
|   |  | 59 |  |         /// <summary> | 
|   |  | 60 |  |         /// Gets or sets the time at which the statistics were last updated. | 
|   |  | 61 |  |         /// All statistics are limited to the range between startTime and | 
|   |  | 62 |  |         /// lastUpdateTime. | 
|   |  | 63 |  |         /// </summary> | 
|   |  | 64 |  |         [JsonProperty(PropertyName = "lastUpdateTime")] | 
|   | 700 | 65 |  |         public System.DateTime LastUpdateTime { get; set; } | 
|   |  | 66 |  |  | 
|   |  | 67 |  |         /// <summary> | 
|   |  | 68 |  |         /// Gets or sets the aggregated wall-clock time of the dedicated | 
|   |  | 69 |  |         /// Compute Node cores being part of the Pool. | 
|   |  | 70 |  |         /// </summary> | 
|   |  | 71 |  |         [JsonProperty(PropertyName = "dedicatedCoreTime")] | 
|   | 691 | 72 |  |         public System.TimeSpan DedicatedCoreTime { get; set; } | 
|   |  | 73 |  |  | 
|   |  | 74 |  |     } | 
|   |  | 75 |  | } |