| | 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 ContainerRegistryEventTarget |
| | 12 | | { |
| | 13 | | /// <summary> Initializes a new instance of ContainerRegistryEventTarget. </summary> |
| 0 | 14 | | internal ContainerRegistryEventTarget() |
| | 15 | | { |
| 0 | 16 | | } |
| | 17 | |
|
| | 18 | | /// <summary> Initializes a new instance of ContainerRegistryEventTarget. </summary> |
| | 19 | | /// <param name="mediaType"> The MIME type of the referenced object. </param> |
| | 20 | | /// <param name="size"> The number of bytes of the content. Same as Length field. </param> |
| | 21 | | /// <param name="digest"> The digest of the content, as defined by the Registry V2 HTTP API Specification. </par |
| | 22 | | /// <param name="length"> The number of bytes of the content. Same as Size field. </param> |
| | 23 | | /// <param name="repository"> The repository name. </param> |
| | 24 | | /// <param name="url"> The direct URL to the content. </param> |
| | 25 | | /// <param name="tag"> The tag name. </param> |
| 4 | 26 | | internal ContainerRegistryEventTarget(string mediaType, long? size, string digest, long? length, string reposito |
| | 27 | | { |
| 4 | 28 | | MediaType = mediaType; |
| 4 | 29 | | Size = size; |
| 4 | 30 | | Digest = digest; |
| 4 | 31 | | Length = length; |
| 4 | 32 | | Repository = repository; |
| 4 | 33 | | Url = url; |
| 4 | 34 | | Tag = tag; |
| 4 | 35 | | } |
| | 36 | |
|
| | 37 | | /// <summary> The MIME type of the referenced object. </summary> |
| 0 | 38 | | public string MediaType { get; } |
| | 39 | | /// <summary> The number of bytes of the content. Same as Length field. </summary> |
| 0 | 40 | | public long? Size { get; } |
| | 41 | | /// <summary> The digest of the content, as defined by the Registry V2 HTTP API Specification. </summary> |
| 0 | 42 | | public string Digest { get; } |
| | 43 | | /// <summary> The number of bytes of the content. Same as Size field. </summary> |
| 0 | 44 | | public long? Length { get; } |
| | 45 | | /// <summary> The repository name. </summary> |
| 0 | 46 | | public string Repository { get; } |
| | 47 | | /// <summary> The direct URL to the content. </summary> |
| 0 | 48 | | public string Url { get; } |
| | 49 | | /// <summary> The tag name. </summary> |
| 0 | 50 | | public string Tag { get; } |
| | 51 | | } |
| | 52 | | } |