| | 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 ContainerRegistryEventData |
| | 14 | | { |
| | 15 | | /// <summary> Initializes a new instance of ContainerRegistryEventData. </summary> |
| 0 | 16 | | internal ContainerRegistryEventData() |
| | 17 | | { |
| 0 | 18 | | } |
| | 19 | |
|
| | 20 | | /// <summary> Initializes a new instance of ContainerRegistryEventData. </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> |
| | 25 | | /// <param name="request"> The request that generated the event. </param> |
| | 26 | | /// <param name="actor"> The agent that initiated the event. For most situations, this could be from the authori |
| | 27 | | /// <param name="source"> The registry node that generated the event. Put differently, while the actor initiates |
| 4 | 28 | | internal ContainerRegistryEventData(string id, DateTimeOffset? timestamp, string action, ContainerRegistryEventT |
| | 29 | | { |
| 4 | 30 | | Id = id; |
| 4 | 31 | | Timestamp = timestamp; |
| 4 | 32 | | Action = action; |
| 4 | 33 | | Target = target; |
| 4 | 34 | | Request = request; |
| 4 | 35 | | Actor = actor; |
| 4 | 36 | | Source = source; |
| 4 | 37 | | } |
| | 38 | |
|
| | 39 | | /// <summary> The event ID. </summary> |
| 0 | 40 | | public string Id { get; } |
| | 41 | | /// <summary> The time at which the event occurred. </summary> |
| 0 | 42 | | public DateTimeOffset? Timestamp { get; } |
| | 43 | | /// <summary> The action that encompasses the provided event. </summary> |
| 0 | 44 | | public string Action { get; } |
| | 45 | | /// <summary> The target of the event. </summary> |
| 0 | 46 | | public ContainerRegistryEventTarget Target { get; } |
| | 47 | | /// <summary> The request that generated the event. </summary> |
| 2 | 48 | | public ContainerRegistryEventRequest Request { get; } |
| | 49 | | /// <summary> The agent that initiated the event. For most situations, this could be from the authorization cont |
| 2 | 50 | | public ContainerRegistryEventActor Actor { get; } |
| | 51 | | /// <summary> The registry node that generated the event. Put differently, while the actor initiates the event, |
| 0 | 52 | | public ContainerRegistryEventSource Source { get; } |
| | 53 | | } |
| | 54 | | } |