| | 1 | | // Copyright (c) Microsoft Corporation. All rights reserved. |
| | 2 | | // Licensed under the MIT License. |
| | 3 | |
|
| | 4 | | // <auto-generated/> |
| | 5 | |
|
| | 6 | | #nullable disable |
| | 7 | |
|
| | 8 | | using System; |
| | 9 | |
|
| | 10 | | namespace Azure.Messaging.EventGrid.SystemEvents |
| | 11 | | { |
| | 12 | | /// <summary> The content of the event request message. </summary> |
| | 13 | | public partial class ContainerRegistryArtifactEventData |
| | 14 | | { |
| | 15 | | /// <summary> Initializes a new instance of ContainerRegistryArtifactEventData. </summary> |
| 0 | 16 | | internal ContainerRegistryArtifactEventData() |
| | 17 | | { |
| 0 | 18 | | } |
| | 19 | |
|
| | 20 | | /// <summary> Initializes a new instance of ContainerRegistryArtifactEventData. </summary> |
| | 21 | | /// <param name="id"> The event ID. </param> |
| | 22 | | /// <param name="timestamp"> The time at which the event occurred. </param> |
| | 23 | | /// <param name="action"> The action that encompasses the provided event. </param> |
| | 24 | | /// <param name="target"> The target of the event. </param> |
| 4 | 25 | | internal ContainerRegistryArtifactEventData(string id, DateTimeOffset? timestamp, string action, ContainerRegist |
| | 26 | | { |
| 4 | 27 | | Id = id; |
| 4 | 28 | | Timestamp = timestamp; |
| 4 | 29 | | Action = action; |
| 4 | 30 | | Target = target; |
| 4 | 31 | | } |
| | 32 | |
|
| | 33 | | /// <summary> The event ID. </summary> |
| 0 | 34 | | public string Id { get; } |
| | 35 | | /// <summary> The time at which the event occurred. </summary> |
| 0 | 36 | | public DateTimeOffset? Timestamp { get; } |
| | 37 | | /// <summary> The action that encompasses the provided event. </summary> |
| 0 | 38 | | public string Action { get; } |
| | 39 | | /// <summary> The target of the event. </summary> |
| 4 | 40 | | public ContainerRegistryArtifactEventTarget Target { get; } |
| | 41 | | } |
| | 42 | | } |