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