| | 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 Microsoft.Rest; |
| | 14 | | using Microsoft.Rest.Serialization; |
| | 15 | | using Newtonsoft.Json; |
| | 16 | | using System.Linq; |
| | 17 | |
|
| | 18 | | /// <summary> |
| | 19 | | /// Defines headers for Disable operation. |
| | 20 | | /// </summary> |
| | 21 | | public partial class JobScheduleDisableHeaders |
| | 22 | | { |
| | 23 | | /// <summary> |
| | 24 | | /// Initializes a new instance of the JobScheduleDisableHeaders class. |
| | 25 | | /// </summary> |
| 0 | 26 | | public JobScheduleDisableHeaders() |
| | 27 | | { |
| | 28 | | CustomInit(); |
| 0 | 29 | | } |
| | 30 | |
|
| | 31 | | /// <summary> |
| | 32 | | /// Initializes a new instance of the JobScheduleDisableHeaders class. |
| | 33 | | /// </summary> |
| | 34 | | /// <param name="clientRequestId">The client-request-id provided by the |
| | 35 | | /// client during the request. This will be returned only if the |
| | 36 | | /// return-client-request-id parameter was set to true.</param> |
| | 37 | | /// <param name="requestId">A unique identifier for the request that |
| | 38 | | /// was made to the Batch service. If a request is consistently failing |
| | 39 | | /// and you have verified that the request is properly formulated, you |
| | 40 | | /// may use this value to report the error to Microsoft. In your |
| | 41 | | /// report, include the value of this request ID, the approximate time |
| | 42 | | /// that the request was made, the Batch Account against which the |
| | 43 | | /// request was made, and the region that Account resides in.</param> |
| | 44 | | /// <param name="eTag">The ETag HTTP response header. This is an opaque |
| | 45 | | /// string. You can use it to detect whether the resource has changed |
| | 46 | | /// between requests. In particular, you can pass the ETag to one of |
| | 47 | | /// the If-Modified-Since, If-Unmodified-Since, If-Match or |
| | 48 | | /// If-None-Match headers.</param> |
| | 49 | | /// <param name="lastModified">The time at which the resource was last |
| | 50 | | /// modified.</param> |
| | 51 | | /// <param name="dataServiceId">The OData ID of the resource to which |
| | 52 | | /// the request applied.</param> |
| 0 | 53 | | public JobScheduleDisableHeaders(System.Guid? clientRequestId = default(System.Guid?), System.Guid? requestId = |
| | 54 | | { |
| 0 | 55 | | ClientRequestId = clientRequestId; |
| 0 | 56 | | RequestId = requestId; |
| 0 | 57 | | ETag = eTag; |
| 0 | 58 | | LastModified = lastModified; |
| 0 | 59 | | DataServiceId = dataServiceId; |
| | 60 | | CustomInit(); |
| 0 | 61 | | } |
| | 62 | |
|
| | 63 | | /// <summary> |
| | 64 | | /// An initialization method that performs custom operations like setting defaults |
| | 65 | | /// </summary> |
| | 66 | | partial void CustomInit(); |
| | 67 | |
|
| | 68 | | /// <summary> |
| | 69 | | /// Gets or sets the client-request-id provided by the client during |
| | 70 | | /// the request. This will be returned only if the |
| | 71 | | /// return-client-request-id parameter was set to true. |
| | 72 | | /// </summary> |
| | 73 | | [JsonProperty(PropertyName = "client-request-id")] |
| 0 | 74 | | public System.Guid? ClientRequestId { get; set; } |
| | 75 | |
|
| | 76 | | /// <summary> |
| | 77 | | /// Gets or sets a unique identifier for the request that was made to |
| | 78 | | /// the Batch service. If a request is consistently failing and you |
| | 79 | | /// have verified that the request is properly formulated, you may use |
| | 80 | | /// this value to report the error to Microsoft. In your report, |
| | 81 | | /// include the value of this request ID, the approximate time that the |
| | 82 | | /// request was made, the Batch Account against which the request was |
| | 83 | | /// made, and the region that Account resides in. |
| | 84 | | /// </summary> |
| | 85 | | [JsonProperty(PropertyName = "request-id")] |
| 0 | 86 | | public System.Guid? RequestId { get; set; } |
| | 87 | |
|
| | 88 | | /// <summary> |
| | 89 | | /// Gets or sets the ETag HTTP response header. This is an opaque |
| | 90 | | /// string. You can use it to detect whether the resource has changed |
| | 91 | | /// between requests. In particular, you can pass the ETag to one of |
| | 92 | | /// the If-Modified-Since, If-Unmodified-Since, If-Match or |
| | 93 | | /// If-None-Match headers. |
| | 94 | | /// </summary> |
| | 95 | | [JsonProperty(PropertyName = "ETag")] |
| 0 | 96 | | public string ETag { get; set; } |
| | 97 | |
|
| | 98 | | /// <summary> |
| | 99 | | /// Gets or sets the time at which the resource was last modified. |
| | 100 | | /// </summary> |
| | 101 | | [JsonConverter(typeof(DateTimeRfc1123JsonConverter))] |
| | 102 | | [JsonProperty(PropertyName = "Last-Modified")] |
| 0 | 103 | | public System.DateTime? LastModified { get; set; } |
| | 104 | |
|
| | 105 | | /// <summary> |
| | 106 | | /// Gets or sets the OData ID of the resource to which the request |
| | 107 | | /// applied. |
| | 108 | | /// </summary> |
| | 109 | | [JsonProperty(PropertyName = "DataServiceId")] |
| 0 | 110 | | public string DataServiceId { get; set; } |
| | 111 | |
|
| | 112 | | } |
| | 113 | | } |