| | | 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.Collections; |
| | | 15 | | using System.Collections.Generic; |
| | | 16 | | using System.Linq; |
| | | 17 | | |
| | | 18 | | /// <summary> |
| | | 19 | | /// Returns the requested V1 manifest file |
| | | 20 | | /// </summary> |
| | | 21 | | public partial class V1Manifest : Manifest |
| | | 22 | | { |
| | | 23 | | /// <summary> |
| | | 24 | | /// Initializes a new instance of the V1Manifest class. |
| | | 25 | | /// </summary> |
| | 4 | 26 | | public V1Manifest() |
| | | 27 | | { |
| | | 28 | | CustomInit(); |
| | 4 | 29 | | } |
| | | 30 | | |
| | | 31 | | /// <summary> |
| | | 32 | | /// Initializes a new instance of the V1Manifest class. |
| | | 33 | | /// </summary> |
| | | 34 | | /// <param name="schemaVersion">Schema version</param> |
| | | 35 | | /// <param name="architecture">CPU architecture</param> |
| | | 36 | | /// <param name="name">Image name</param> |
| | | 37 | | /// <param name="tag">Image tag</param> |
| | | 38 | | /// <param name="fsLayers">List of layer information</param> |
| | | 39 | | /// <param name="history">Image history</param> |
| | | 40 | | /// <param name="signatures">Image signature</param> |
| | | 41 | | public V1Manifest(int? schemaVersion = default(int?), string architecture = default(string), string name = defau |
| | 0 | 42 | | : base(schemaVersion) |
| | | 43 | | { |
| | 0 | 44 | | Architecture = architecture; |
| | 0 | 45 | | Name = name; |
| | 0 | 46 | | Tag = tag; |
| | 0 | 47 | | FsLayers = fsLayers; |
| | 0 | 48 | | History = history; |
| | 0 | 49 | | Signatures = signatures; |
| | | 50 | | CustomInit(); |
| | 0 | 51 | | } |
| | | 52 | | |
| | | 53 | | /// <summary> |
| | | 54 | | /// An initialization method that performs custom operations like setting defaults |
| | | 55 | | /// </summary> |
| | | 56 | | partial void CustomInit(); |
| | | 57 | | |
| | | 58 | | /// <summary> |
| | | 59 | | /// Gets or sets CPU architecture |
| | | 60 | | /// </summary> |
| | | 61 | | [JsonProperty(PropertyName = "architecture")] |
| | 8 | 62 | | public string Architecture { get; set; } |
| | | 63 | | |
| | | 64 | | /// <summary> |
| | | 65 | | /// Gets or sets image name |
| | | 66 | | /// </summary> |
| | | 67 | | [JsonProperty(PropertyName = "name")] |
| | 8 | 68 | | public string Name { get; set; } |
| | | 69 | | |
| | | 70 | | /// <summary> |
| | | 71 | | /// Gets or sets image tag |
| | | 72 | | /// </summary> |
| | | 73 | | [JsonProperty(PropertyName = "tag")] |
| | 8 | 74 | | public string Tag { get; set; } |
| | | 75 | | |
| | | 76 | | /// <summary> |
| | | 77 | | /// Gets or sets list of layer information |
| | | 78 | | /// </summary> |
| | | 79 | | [JsonProperty(PropertyName = "fsLayers")] |
| | 70 | 80 | | public IList<FsLayer> FsLayers { get; set; } |
| | | 81 | | |
| | | 82 | | /// <summary> |
| | | 83 | | /// Gets or sets image history |
| | | 84 | | /// </summary> |
| | | 85 | | [JsonProperty(PropertyName = "history")] |
| | 70 | 86 | | public IList<History> History { get; set; } |
| | | 87 | | |
| | | 88 | | /// <summary> |
| | | 89 | | /// Gets or sets image signature |
| | | 90 | | /// </summary> |
| | | 91 | | [JsonProperty(PropertyName = "signatures")] |
| | 0 | 92 | | public IList<ImageSignature> Signatures { get; set; } |
| | | 93 | | |
| | | 94 | | } |
| | | 95 | | } |