| | 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.Collections; |
| | 15 | | using System.Collections.Generic; |
| | 16 | | using System.Linq; |
| | 17 | |
|
| | 18 | | /// <summary> |
| | 19 | | /// The set of changes to be made to a Job Schedule. |
| | 20 | | /// </summary> |
| | 21 | | public partial class JobSchedulePatchParameter |
| | 22 | | { |
| | 23 | | /// <summary> |
| | 24 | | /// Initializes a new instance of the JobSchedulePatchParameter class. |
| | 25 | | /// </summary> |
| 0 | 26 | | public JobSchedulePatchParameter() |
| | 27 | | { |
| | 28 | | CustomInit(); |
| 0 | 29 | | } |
| | 30 | |
|
| | 31 | | /// <summary> |
| | 32 | | /// Initializes a new instance of the JobSchedulePatchParameter class. |
| | 33 | | /// </summary> |
| | 34 | | /// <param name="schedule">The schedule according to which Jobs will be |
| | 35 | | /// created.</param> |
| | 36 | | /// <param name="jobSpecification">The details of the Jobs to be |
| | 37 | | /// created on this schedule.</param> |
| | 38 | | /// <param name="metadata">A list of name-value pairs associated with |
| | 39 | | /// the Job Schedule as metadata.</param> |
| 5 | 40 | | public JobSchedulePatchParameter(Schedule schedule = default(Schedule), JobSpecification jobSpecification = defa |
| | 41 | | { |
| 5 | 42 | | Schedule = schedule; |
| 5 | 43 | | JobSpecification = jobSpecification; |
| 5 | 44 | | Metadata = metadata; |
| | 45 | | CustomInit(); |
| 5 | 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 schedule according to which Jobs will be created. |
| | 55 | | /// </summary> |
| | 56 | | /// <remarks> |
| | 57 | | /// If you do not specify this element, the existing schedule is left |
| | 58 | | /// unchanged. |
| | 59 | | /// </remarks> |
| | 60 | | [JsonProperty(PropertyName = "schedule")] |
| 11 | 61 | | public Schedule Schedule { get; set; } |
| | 62 | |
|
| | 63 | | /// <summary> |
| | 64 | | /// Gets or sets the details of the Jobs to be created on this |
| | 65 | | /// schedule. |
| | 66 | | /// </summary> |
| | 67 | | /// <remarks> |
| | 68 | | /// Updates affect only Jobs that are started after the update has |
| | 69 | | /// taken place. Any currently active Job continues with the older |
| | 70 | | /// specification. |
| | 71 | | /// </remarks> |
| | 72 | | [JsonProperty(PropertyName = "jobSpecification")] |
| 11 | 73 | | public JobSpecification JobSpecification { get; set; } |
| | 74 | |
|
| | 75 | | /// <summary> |
| | 76 | | /// Gets or sets a list of name-value pairs associated with the Job |
| | 77 | | /// Schedule as metadata. |
| | 78 | | /// </summary> |
| | 79 | | /// <remarks> |
| | 80 | | /// If you do not specify this element, existing metadata is left |
| | 81 | | /// unchanged. |
| | 82 | | /// </remarks> |
| | 83 | | [JsonProperty(PropertyName = "metadata")] |
| 11 | 84 | | public IList<MetadataItem> Metadata { get; set; } |
| | 85 | |
|
| | 86 | | } |
| | 87 | | } |