| | 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 | | /// Repository attributes |
| | 18 | | /// </summary> |
| | 19 | | public partial class RepositoryAttributes |
| | 20 | | { |
| | 21 | | /// <summary> |
| | 22 | | /// Initializes a new instance of the RepositoryAttributes class. |
| | 23 | | /// </summary> |
| 4 | 24 | | public RepositoryAttributes() |
| | 25 | | { |
| | 26 | | CustomInit(); |
| 4 | 27 | | } |
| | 28 | |
|
| | 29 | | /// <summary> |
| | 30 | | /// Initializes a new instance of the RepositoryAttributes class. |
| | 31 | | /// </summary> |
| | 32 | | /// <param name="registry">Registry name</param> |
| | 33 | | /// <param name="imageName">Image name</param> |
| | 34 | | /// <param name="createdTime">Image created time</param> |
| | 35 | | /// <param name="lastUpdateTime">Image last update time</param> |
| | 36 | | /// <param name="manifestCount">Number of the manifests</param> |
| | 37 | | /// <param name="tagCount">Number of the tags</param> |
| | 38 | | /// <param name="changeableAttributes">Changeable attributes</param> |
| 0 | 39 | | public RepositoryAttributes(string registry = default(string), string imageName = default(string), string create |
| | 40 | | { |
| 0 | 41 | | Registry = registry; |
| 0 | 42 | | ImageName = imageName; |
| 0 | 43 | | CreatedTime = createdTime; |
| 0 | 44 | | LastUpdateTime = lastUpdateTime; |
| 0 | 45 | | ManifestCount = manifestCount; |
| 0 | 46 | | TagCount = tagCount; |
| 0 | 47 | | ChangeableAttributes = changeableAttributes; |
| | 48 | | CustomInit(); |
| 0 | 49 | | } |
| | 50 | |
|
| | 51 | | /// <summary> |
| | 52 | | /// An initialization method that performs custom operations like setting defaults |
| | 53 | | /// </summary> |
| | 54 | | partial void CustomInit(); |
| | 55 | |
|
| | 56 | | /// <summary> |
| | 57 | | /// Gets or sets registry name |
| | 58 | | /// </summary> |
| | 59 | | [JsonProperty(PropertyName = "registry")] |
| 6 | 60 | | public string Registry { get; set; } |
| | 61 | |
|
| | 62 | | /// <summary> |
| | 63 | | /// Gets or sets image name |
| | 64 | | /// </summary> |
| | 65 | | [JsonProperty(PropertyName = "imageName")] |
| 8 | 66 | | public string ImageName { get; set; } |
| | 67 | |
|
| | 68 | | /// <summary> |
| | 69 | | /// Gets or sets image created time |
| | 70 | | /// </summary> |
| | 71 | | [JsonProperty(PropertyName = "createdTime")] |
| 6 | 72 | | public string CreatedTime { get; set; } |
| | 73 | |
|
| | 74 | | /// <summary> |
| | 75 | | /// Gets or sets image last update time |
| | 76 | | /// </summary> |
| | 77 | | [JsonProperty(PropertyName = "lastUpdateTime")] |
| 0 | 78 | | public string LastUpdateTime { get; set; } |
| | 79 | |
|
| | 80 | | /// <summary> |
| | 81 | | /// Gets or sets number of the manifests |
| | 82 | | /// </summary> |
| | 83 | | [JsonProperty(PropertyName = "manifestCount")] |
| 8 | 84 | | public int? ManifestCount { get; set; } |
| | 85 | |
|
| | 86 | | /// <summary> |
| | 87 | | /// Gets or sets number of the tags |
| | 88 | | /// </summary> |
| | 89 | | [JsonProperty(PropertyName = "tagCount")] |
| 8 | 90 | | public int? TagCount { get; set; } |
| | 91 | |
|
| | 92 | | /// <summary> |
| | 93 | | /// Gets or sets changeable attributes |
| | 94 | | /// </summary> |
| | 95 | | [JsonProperty(PropertyName = "changeableAttributes")] |
| 24 | 96 | | public ChangeableAttributes ChangeableAttributes { get; set; } |
| | 97 | |
|
| | 98 | | } |
| | 99 | | } |