Ejemplo n.º 1
0
 /// <summary>
 /// Initializes a new instance of the ContainerRegistryEventData class.
 /// </summary>
 /// <param name="id">The event ID.</param>
 /// <param name="timestamp">The time at which the event
 /// occurred.</param>
 /// <param name="action">The action that encompasses the provided
 /// event.</param>
 /// <param name="target">The target of the event.</param>
 /// <param name="request">The request that generated the event.</param>
 /// <param name="actor">The agent that initiated the event. For most
 /// situations, this could be from the authorization context of the
 /// request.</param>
 /// <param name="source">The registry node that generated the event.
 /// Put differently, while the actor initiates the event, the source
 /// generates it.</param>
 public ContainerRegistryEventData(string id = default(string), System.DateTime?timestamp = default(System.DateTime?), string action = default(string), ContainerRegistryEventTarget target = default(ContainerRegistryEventTarget), ContainerRegistryEventRequest request = default(ContainerRegistryEventRequest), ContainerRegistryEventActor actor = default(ContainerRegistryEventActor), ContainerRegistryEventSource source = default(ContainerRegistryEventSource))
 {
     Id        = id;
     Timestamp = timestamp;
     Action    = action;
     Target    = target;
     Request   = request;
     Actor     = actor;
     Source    = source;
     CustomInit();
 }
 /// <summary>
 /// Initializes a new instance of the
 /// ContainerRegistryImageDeletedEventData class.
 /// </summary>
 /// <param name="id">The event ID.</param>
 /// <param name="timestamp">The time at which the event
 /// occurred.</param>
 /// <param name="action">The action that encompasses the provided
 /// event.</param>
 /// <param name="target">The target of the event.</param>
 /// <param name="request">The request that generated the event.</param>
 /// <param name="actor">The agent that initiated the event. For most
 /// situations, this could be from the authorization context of the
 /// request.</param>
 /// <param name="source">The registry node that generated the event.
 /// Put differently, while the actor initiates the event, the source
 /// generates it.</param>
 public ContainerRegistryImageDeletedEventData(string id = default(string), System.DateTime?timestamp = default(System.DateTime?), string action = default(string), ContainerRegistryEventTarget target = default(ContainerRegistryEventTarget), ContainerRegistryEventRequest request = default(ContainerRegistryEventRequest), ContainerRegistryEventActor actor = default(ContainerRegistryEventActor), ContainerRegistryEventSource source = default(ContainerRegistryEventSource))
     : base(id, timestamp, action, target, request, actor, source)
 {
     CustomInit();
 }