| | 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 | | /// Additional information provided through arbitrary metadata. |
| | 20 | | /// </summary> |
| | 21 | | public partial class Annotations |
| | 22 | | { |
| | 23 | | /// <summary> |
| | 24 | | /// Initializes a new instance of the Annotations class. |
| | 25 | | /// </summary> |
| 8 | 26 | | public Annotations() |
| | 27 | | { |
| | 28 | | CustomInit(); |
| 8 | 29 | | } |
| | 30 | |
|
| | 31 | | /// <summary> |
| | 32 | | /// Initializes a new instance of the Annotations class. |
| | 33 | | /// </summary> |
| | 34 | | /// <param name="additionalProperties">Unmatched properties from the |
| | 35 | | /// message are deserialized this collection</param> |
| | 36 | | /// <param name="created">Date and time on which the image was built |
| | 37 | | /// (string, date-time as defined by |
| | 38 | | /// https://tools.ietf.org/html/rfc3339#section-5.6)</param> |
| | 39 | | /// <param name="authors">Contact details of the people or organization |
| | 40 | | /// responsible for the image.</param> |
| | 41 | | /// <param name="url">URL to find more information on the |
| | 42 | | /// image.</param> |
| | 43 | | /// <param name="documentation">URL to get documentation on the |
| | 44 | | /// image.</param> |
| | 45 | | /// <param name="source">URL to get source code for building the |
| | 46 | | /// image.</param> |
| | 47 | | /// <param name="version">Version of the packaged software. The version |
| | 48 | | /// MAY match a label or tag in the source code repository, may also be |
| | 49 | | /// Semantic versioning-compatible</param> |
| | 50 | | /// <param name="revision">Source control revision identifier for the |
| | 51 | | /// packaged software.</param> |
| | 52 | | /// <param name="vendor">Name of the distributing entity, organization |
| | 53 | | /// or individual.</param> |
| | 54 | | /// <param name="licenses">License(s) under which contained software is |
| | 55 | | /// distributed as an SPDX License Expression.</param> |
| | 56 | | /// <param name="name">Name of the reference for a target.</param> |
| | 57 | | /// <param name="title">Human-readable title of the image</param> |
| | 58 | | /// <param name="description">Human-readable description of the |
| | 59 | | /// software packaged in the image</param> |
| 0 | 60 | | public Annotations(IDictionary<string, object> additionalProperties = default(IDictionary<string, object>), Syst |
| | 61 | | { |
| 0 | 62 | | AdditionalProperties = additionalProperties; |
| 0 | 63 | | Created = created; |
| 0 | 64 | | Authors = authors; |
| 0 | 65 | | Url = url; |
| 0 | 66 | | Documentation = documentation; |
| 0 | 67 | | Source = source; |
| 0 | 68 | | Version = version; |
| 0 | 69 | | Revision = revision; |
| 0 | 70 | | Vendor = vendor; |
| 0 | 71 | | Licenses = licenses; |
| 0 | 72 | | Name = name; |
| 0 | 73 | | Title = title; |
| 0 | 74 | | Description = description; |
| | 75 | | CustomInit(); |
| 0 | 76 | | } |
| | 77 | |
|
| | 78 | | /// <summary> |
| | 79 | | /// An initialization method that performs custom operations like setting defaults |
| | 80 | | /// </summary> |
| | 81 | | partial void CustomInit(); |
| | 82 | |
|
| | 83 | | /// <summary> |
| | 84 | | /// Gets or sets unmatched properties from the message are deserialized |
| | 85 | | /// this collection |
| | 86 | | /// </summary> |
| | 87 | | [JsonExtensionData] |
| 36 | 88 | | public IDictionary<string, object> AdditionalProperties { get; set; } |
| | 89 | |
|
| | 90 | | /// <summary> |
| | 91 | | /// Gets or sets date and time on which the image was built (string, |
| | 92 | | /// date-time as defined by |
| | 93 | | /// https://tools.ietf.org/html/rfc3339#section-5.6) |
| | 94 | | /// </summary> |
| | 95 | | [JsonProperty(PropertyName = "org.opencontainers.image.created")] |
| 8 | 96 | | public System.DateTime? Created { get; set; } |
| | 97 | |
|
| | 98 | | /// <summary> |
| | 99 | | /// Gets or sets contact details of the people or organization |
| | 100 | | /// responsible for the image. |
| | 101 | | /// </summary> |
| | 102 | | [JsonProperty(PropertyName = "org.opencontainers.image.authors")] |
| 8 | 103 | | public string Authors { get; set; } |
| | 104 | |
|
| | 105 | | /// <summary> |
| | 106 | | /// Gets or sets URL to find more information on the image. |
| | 107 | | /// </summary> |
| | 108 | | [JsonProperty(PropertyName = "org.opencontainers.image.url")] |
| 8 | 109 | | public string Url { get; set; } |
| | 110 | |
|
| | 111 | | /// <summary> |
| | 112 | | /// Gets or sets URL to get documentation on the image. |
| | 113 | | /// </summary> |
| | 114 | | [JsonProperty(PropertyName = "org.opencontainers.image.documentation")] |
| 8 | 115 | | public string Documentation { get; set; } |
| | 116 | |
|
| | 117 | | /// <summary> |
| | 118 | | /// Gets or sets URL to get source code for building the image. |
| | 119 | | /// </summary> |
| | 120 | | [JsonProperty(PropertyName = "org.opencontainers.image.source")] |
| 8 | 121 | | public string Source { get; set; } |
| | 122 | |
|
| | 123 | | /// <summary> |
| | 124 | | /// Gets or sets version of the packaged software. The version MAY |
| | 125 | | /// match a label or tag in the source code repository, may also be |
| | 126 | | /// Semantic versioning-compatible |
| | 127 | | /// </summary> |
| | 128 | | [JsonProperty(PropertyName = "org.opencontainers.image.version")] |
| 8 | 129 | | public string Version { get; set; } |
| | 130 | |
|
| | 131 | | /// <summary> |
| | 132 | | /// Gets or sets source control revision identifier for the packaged |
| | 133 | | /// software. |
| | 134 | | /// </summary> |
| | 135 | | [JsonProperty(PropertyName = "org.opencontainers.image.revision")] |
| 8 | 136 | | public string Revision { get; set; } |
| | 137 | |
|
| | 138 | | /// <summary> |
| | 139 | | /// Gets or sets name of the distributing entity, organization or |
| | 140 | | /// individual. |
| | 141 | | /// </summary> |
| | 142 | | [JsonProperty(PropertyName = "org.opencontainers.image.vendor")] |
| 8 | 143 | | public string Vendor { get; set; } |
| | 144 | |
|
| | 145 | | /// <summary> |
| | 146 | | /// Gets or sets license(s) under which contained software is |
| | 147 | | /// distributed as an SPDX License Expression. |
| | 148 | | /// </summary> |
| | 149 | | [JsonProperty(PropertyName = "org.opencontainers.image.licenses")] |
| 8 | 150 | | public string Licenses { get; set; } |
| | 151 | |
|
| | 152 | | /// <summary> |
| | 153 | | /// Gets or sets name of the reference for a target. |
| | 154 | | /// </summary> |
| | 155 | | [JsonProperty(PropertyName = "org.opencontainers.image.ref.name")] |
| 0 | 156 | | public string Name { get; set; } |
| | 157 | |
|
| | 158 | | /// <summary> |
| | 159 | | /// Gets or sets human-readable title of the image |
| | 160 | | /// </summary> |
| | 161 | | [JsonProperty(PropertyName = "org.opencontainers.image.title")] |
| 10 | 162 | | public string Title { get; set; } |
| | 163 | |
|
| | 164 | | /// <summary> |
| | 165 | | /// Gets or sets human-readable description of the software packaged in |
| | 166 | | /// the image |
| | 167 | | /// </summary> |
| | 168 | | [JsonProperty(PropertyName = "org.opencontainers.image.description")] |
| 8 | 169 | | public string Description { get; set; } |
| | 170 | |
|
| | 171 | | } |
| | 172 | | } |