| | | 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 | | /// Contains information about Jobs that have been and will be run under a |
| | | 18 | | /// Job Schedule. |
| | | 19 | | /// </summary> |
| | | 20 | | public partial class JobScheduleExecutionInformation |
| | | 21 | | { |
| | | 22 | | /// <summary> |
| | | 23 | | /// Initializes a new instance of the JobScheduleExecutionInformation |
| | | 24 | | /// class. |
| | | 25 | | /// </summary> |
| | 500 | 26 | | public JobScheduleExecutionInformation() |
| | | 27 | | { |
| | | 28 | | CustomInit(); |
| | 500 | 29 | | } |
| | | 30 | | |
| | | 31 | | /// <summary> |
| | | 32 | | /// Initializes a new instance of the JobScheduleExecutionInformation |
| | | 33 | | /// class. |
| | | 34 | | /// </summary> |
| | | 35 | | /// <param name="nextRunTime">The next time at which a Job will be |
| | | 36 | | /// created under this schedule.</param> |
| | | 37 | | /// <param name="recentJob">Information about the most recent Job under |
| | | 38 | | /// the Job Schedule.</param> |
| | | 39 | | /// <param name="endTime">The time at which the schedule ended.</param> |
| | 0 | 40 | | public JobScheduleExecutionInformation(System.DateTime? nextRunTime = default(System.DateTime?), RecentJob recen |
| | | 41 | | { |
| | 0 | 42 | | NextRunTime = nextRunTime; |
| | 0 | 43 | | RecentJob = recentJob; |
| | 0 | 44 | | EndTime = endTime; |
| | | 45 | | CustomInit(); |
| | 0 | 46 | | } |
| | | 47 | | |
| | | 48 | | /// <summary> |
| | | 49 | | /// An initialization method that performs custom operations like setting defaults |
| | | 50 | | /// </summary> |
| | | 51 | | partial void CustomInit(); |
| | | 52 | | |
| | | 53 | | /// <summary> |
| | | 54 | | /// Gets or sets the next time at which a Job will be created under |
| | | 55 | | /// this schedule. |
| | | 56 | | /// </summary> |
| | | 57 | | /// <remarks> |
| | | 58 | | /// This property is meaningful only if the schedule is in the active |
| | | 59 | | /// state when the time comes around. For example, if the schedule is |
| | | 60 | | /// disabled, no Job will be created at nextRunTime unless the Job is |
| | | 61 | | /// enabled before then. |
| | | 62 | | /// </remarks> |
| | | 63 | | [JsonProperty(PropertyName = "nextRunTime")] |
| | 1228 | 64 | | public System.DateTime? NextRunTime { get; set; } |
| | | 65 | | |
| | | 66 | | /// <summary> |
| | | 67 | | /// Gets or sets information about the most recent Job under the Job |
| | | 68 | | /// Schedule. |
| | | 69 | | /// </summary> |
| | | 70 | | /// <remarks> |
| | | 71 | | /// This property is present only if the at least one Job has run under |
| | | 72 | | /// the schedule. |
| | | 73 | | /// </remarks> |
| | | 74 | | [JsonProperty(PropertyName = "recentJob")] |
| | 1256 | 75 | | public RecentJob RecentJob { get; set; } |
| | | 76 | | |
| | | 77 | | /// <summary> |
| | | 78 | | /// Gets or sets the time at which the schedule ended. |
| | | 79 | | /// </summary> |
| | | 80 | | /// <remarks> |
| | | 81 | | /// This property is set only if the Job Schedule is in the completed |
| | | 82 | | /// state. |
| | | 83 | | /// </remarks> |
| | | 84 | | [JsonProperty(PropertyName = "endTime")] |
| | 1254 | 85 | | public System.DateTime? EndTime { get; set; } |
| | | 86 | | |
| | | 87 | | } |
| | | 88 | | } |