| | 1 | | // Copyright (c) Microsoft Corporation. All rights reserved. |
| | 2 | | // Licensed under the MIT License. |
| | 3 | |
|
| | 4 | | // <auto-generated/> |
| | 5 | |
|
| | 6 | | #nullable disable |
| | 7 | |
|
| | 8 | | namespace Azure.Messaging.EventGrid.SystemEvents |
| | 9 | | { |
| | 10 | | /// <summary> The target of the event. </summary> |
| | 11 | | public partial class ContainerRegistryArtifactEventTarget |
| | 12 | | { |
| | 13 | | /// <summary> Initializes a new instance of ContainerRegistryArtifactEventTarget. </summary> |
| 0 | 14 | | internal ContainerRegistryArtifactEventTarget() |
| | 15 | | { |
| 0 | 16 | | } |
| | 17 | |
|
| | 18 | | /// <summary> Initializes a new instance of ContainerRegistryArtifactEventTarget. </summary> |
| | 19 | | /// <param name="mediaType"> The MIME type of the artifact. </param> |
| | 20 | | /// <param name="size"> The size in bytes of the artifact. </param> |
| | 21 | | /// <param name="digest"> The digest of the artifact. </param> |
| | 22 | | /// <param name="repository"> The repository name of the artifact. </param> |
| | 23 | | /// <param name="tag"> The tag of the artifact. </param> |
| | 24 | | /// <param name="name"> The name of the artifact. </param> |
| | 25 | | /// <param name="version"> The version of the artifact. </param> |
| 4 | 26 | | internal ContainerRegistryArtifactEventTarget(string mediaType, long? size, string digest, string repository, st |
| | 27 | | { |
| 4 | 28 | | MediaType = mediaType; |
| 4 | 29 | | Size = size; |
| 4 | 30 | | Digest = digest; |
| 4 | 31 | | Repository = repository; |
| 4 | 32 | | Tag = tag; |
| 4 | 33 | | Name = name; |
| 4 | 34 | | Version = version; |
| 4 | 35 | | } |
| | 36 | |
|
| | 37 | | /// <summary> The MIME type of the artifact. </summary> |
| 4 | 38 | | public string MediaType { get; } |
| | 39 | | /// <summary> The size in bytes of the artifact. </summary> |
| 0 | 40 | | public long? Size { get; } |
| | 41 | | /// <summary> The digest of the artifact. </summary> |
| 0 | 42 | | public string Digest { get; } |
| | 43 | | /// <summary> The repository name of the artifact. </summary> |
| 0 | 44 | | public string Repository { get; } |
| | 45 | | /// <summary> The tag of the artifact. </summary> |
| 0 | 46 | | public string Tag { get; } |
| | 47 | | /// <summary> The name of the artifact. </summary> |
| 0 | 48 | | public string Name { get; } |
| | 49 | | /// <summary> The version of the artifact. </summary> |
| 0 | 50 | | public string Version { get; } |
| | 51 | | } |
| | 52 | | } |