| | 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 GetPropertiesFromTask operation. |
| | 20 | | /// </summary> |
| | 21 | | public partial class FileGetPropertiesFromTaskHeaders |
| | 22 | | { |
| | 23 | | /// <summary> |
| | 24 | | /// Initializes a new instance of the FileGetPropertiesFromTaskHeaders |
| | 25 | | /// class. |
| | 26 | | /// </summary> |
| 3 | 27 | | public FileGetPropertiesFromTaskHeaders() |
| | 28 | | { |
| | 29 | | CustomInit(); |
| 3 | 30 | | } |
| | 31 | |
|
| | 32 | | /// <summary> |
| | 33 | | /// Initializes a new instance of the FileGetPropertiesFromTaskHeaders |
| | 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="ocpCreationTime">The file creation time.</param> |
| | 54 | | /// <param name="ocpBatchFileIsdirectory">Whether the object represents |
| | 55 | | /// a directory.</param> |
| | 56 | | /// <param name="ocpBatchFileUrl">The URL of the file.</param> |
| | 57 | | /// <param name="ocpBatchFileMode">The file mode attribute in octal |
| | 58 | | /// format.</param> |
| | 59 | | /// <param name="contentType">The content type of the file.</param> |
| | 60 | | /// <param name="contentLength">The length of the file.</param> |
| 0 | 61 | | public FileGetPropertiesFromTaskHeaders(System.Guid? clientRequestId = default(System.Guid?), System.Guid? reque |
| | 62 | | { |
| 0 | 63 | | ClientRequestId = clientRequestId; |
| 0 | 64 | | RequestId = requestId; |
| 0 | 65 | | ETag = eTag; |
| 0 | 66 | | LastModified = lastModified; |
| 0 | 67 | | OcpCreationTime = ocpCreationTime; |
| 0 | 68 | | OcpBatchFileIsdirectory = ocpBatchFileIsdirectory; |
| 0 | 69 | | OcpBatchFileUrl = ocpBatchFileUrl; |
| 0 | 70 | | OcpBatchFileMode = ocpBatchFileMode; |
| 0 | 71 | | ContentType = contentType; |
| 0 | 72 | | ContentLength = contentLength; |
| | 73 | | CustomInit(); |
| 0 | 74 | | } |
| | 75 | |
|
| | 76 | | /// <summary> |
| | 77 | | /// An initialization method that performs custom operations like setting defaults |
| | 78 | | /// </summary> |
| | 79 | | partial void CustomInit(); |
| | 80 | |
|
| | 81 | | /// <summary> |
| | 82 | | /// Gets or sets the client-request-id provided by the client during |
| | 83 | | /// the request. This will be returned only if the |
| | 84 | | /// return-client-request-id parameter was set to true. |
| | 85 | | /// </summary> |
| | 86 | | [JsonProperty(PropertyName = "client-request-id")] |
| 0 | 87 | | public System.Guid? ClientRequestId { get; set; } |
| | 88 | |
|
| | 89 | | /// <summary> |
| | 90 | | /// Gets or sets a unique identifier for the request that was made to |
| | 91 | | /// the Batch service. If a request is consistently failing and you |
| | 92 | | /// have verified that the request is properly formulated, you may use |
| | 93 | | /// this value to report the error to Microsoft. In your report, |
| | 94 | | /// include the value of this request ID, the approximate time that the |
| | 95 | | /// request was made, the Batch Account against which the request was |
| | 96 | | /// made, and the region that Account resides in. |
| | 97 | | /// </summary> |
| | 98 | | [JsonProperty(PropertyName = "request-id")] |
| 0 | 99 | | public System.Guid? RequestId { get; set; } |
| | 100 | |
|
| | 101 | | /// <summary> |
| | 102 | | /// Gets or sets the ETag HTTP response header. This is an opaque |
| | 103 | | /// string. You can use it to detect whether the resource has changed |
| | 104 | | /// between requests. In particular, you can pass the ETag to one of |
| | 105 | | /// the If-Modified-Since, If-Unmodified-Since, If-Match or |
| | 106 | | /// If-None-Match headers. |
| | 107 | | /// </summary> |
| | 108 | | [JsonProperty(PropertyName = "ETag")] |
| 0 | 109 | | public string ETag { get; set; } |
| | 110 | |
|
| | 111 | | /// <summary> |
| | 112 | | /// Gets or sets the time at which the resource was last modified. |
| | 113 | | /// </summary> |
| | 114 | | [JsonConverter(typeof(DateTimeRfc1123JsonConverter))] |
| | 115 | | [JsonProperty(PropertyName = "Last-Modified")] |
| 5 | 116 | | public System.DateTime? LastModified { get; set; } |
| | 117 | |
|
| | 118 | | /// <summary> |
| | 119 | | /// Gets or sets the file creation time. |
| | 120 | | /// </summary> |
| | 121 | | [JsonConverter(typeof(DateTimeRfc1123JsonConverter))] |
| | 122 | | [JsonProperty(PropertyName = "ocp-creation-time")] |
| 0 | 123 | | public System.DateTime? OcpCreationTime { get; set; } |
| | 124 | |
|
| | 125 | | /// <summary> |
| | 126 | | /// Gets or sets whether the object represents a directory. |
| | 127 | | /// </summary> |
| | 128 | | [JsonProperty(PropertyName = "ocp-batch-file-isdirectory")] |
| 0 | 129 | | public bool? OcpBatchFileIsdirectory { get; set; } |
| | 130 | |
|
| | 131 | | /// <summary> |
| | 132 | | /// Gets or sets the URL of the file. |
| | 133 | | /// </summary> |
| | 134 | | [JsonProperty(PropertyName = "ocp-batch-file-url")] |
| 0 | 135 | | public string OcpBatchFileUrl { get; set; } |
| | 136 | |
|
| | 137 | | /// <summary> |
| | 138 | | /// Gets or sets the file mode attribute in octal format. |
| | 139 | | /// </summary> |
| | 140 | | [JsonProperty(PropertyName = "ocp-batch-file-mode")] |
| 0 | 141 | | public string OcpBatchFileMode { get; set; } |
| | 142 | |
|
| | 143 | | /// <summary> |
| | 144 | | /// Gets or sets the content type of the file. |
| | 145 | | /// </summary> |
| | 146 | | [JsonProperty(PropertyName = "Content-Type")] |
| 6 | 147 | | public string ContentType { get; set; } |
| | 148 | |
|
| | 149 | | /// <summary> |
| | 150 | | /// Gets or sets the length of the file. |
| | 151 | | /// </summary> |
| | 152 | | [JsonProperty(PropertyName = "Content-Length")] |
| 6 | 153 | | public long? ContentLength { get; set; } |
| | 154 | |
|
| | 155 | | } |
| | 156 | | } |