| | 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.ContainerRegistry.Models |
| | 12 | | { |
| | 13 | | using Newtonsoft.Json; |
| | 14 | | using System.Linq; |
| | 15 | |
|
| | 16 | | /// <summary> |
| | 17 | | /// Defines headers for Upload operation. |
| | 18 | | /// </summary> |
| | 19 | | public partial class BlobUploadHeaders |
| | 20 | | { |
| | 21 | | /// <summary> |
| | 22 | | /// Initializes a new instance of the BlobUploadHeaders class. |
| | 23 | | /// </summary> |
| 4 | 24 | | public BlobUploadHeaders() |
| | 25 | | { |
| | 26 | | CustomInit(); |
| 4 | 27 | | } |
| | 28 | |
|
| | 29 | | /// <summary> |
| | 30 | | /// Initializes a new instance of the BlobUploadHeaders class. |
| | 31 | | /// </summary> |
| | 32 | | /// <param name="location">Provided location for blob</param> |
| | 33 | | /// <param name="range">Range indicating the current progress of the |
| | 34 | | /// upload.</param> |
| | 35 | | /// <param name="dockerUploadUUID">Identifies the docker upload uuid |
| | 36 | | /// for the current request.</param> |
| 0 | 37 | | public BlobUploadHeaders(string location = default(string), string range = default(string), string dockerUploadU |
| | 38 | | { |
| 0 | 39 | | Location = location; |
| 0 | 40 | | Range = range; |
| 0 | 41 | | DockerUploadUUID = dockerUploadUUID; |
| | 42 | | CustomInit(); |
| 0 | 43 | | } |
| | 44 | |
|
| | 45 | | /// <summary> |
| | 46 | | /// An initialization method that performs custom operations like setting defaults |
| | 47 | | /// </summary> |
| | 48 | | partial void CustomInit(); |
| | 49 | |
|
| | 50 | | /// <summary> |
| | 51 | | /// Gets or sets provided location for blob |
| | 52 | | /// </summary> |
| | 53 | | [JsonProperty(PropertyName = "Location")] |
| 8 | 54 | | public string Location { get; set; } |
| | 55 | |
|
| | 56 | | /// <summary> |
| | 57 | | /// Gets or sets range indicating the current progress of the upload. |
| | 58 | | /// </summary> |
| | 59 | | [JsonProperty(PropertyName = "Range")] |
| 0 | 60 | | public string Range { get; set; } |
| | 61 | |
|
| | 62 | | /// <summary> |
| | 63 | | /// Gets or sets identifies the docker upload uuid for the current |
| | 64 | | /// request. |
| | 65 | | /// </summary> |
| | 66 | | [JsonProperty(PropertyName = "Docker-Upload-UUID")] |
| 0 | 67 | | public string DockerUploadUUID { get; set; } |
| | 68 | |
|
| | 69 | | } |
| | 70 | | } |