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