Share via


EventContent Class

The content of the event request message.

Constructor

EventContent(*args: Any, **kwargs: Any)

Variables

Name Description
id
str

The event ID.

timestamp

The time at which the event occurred.

action
str

The action that encompasses the provided event.

target

The target of the event.

request

The request that generated the event.

actor

The agent that initiated the event. For most situations, this could be from the authorization context of the request.

source

The registry node that generated the event. Put differently, while the actor initiates the event, the source generates it.

Attributes

action

The action that encompasses the provided event.

action: str | None

actor

The agent that initiated the event. For most situations, this could be from the authorization context of the request.

actor: _models.Actor | None

id

The event ID.

id: str | None

request

The request that generated the event.

request: _models.Request | None

source

The registry node that generated the event. Put differently, while the actor initiates the event, the source generates it.

source: _models.Source | None

target

The target of the event.

target: _models.Target | None

timestamp

The time at which the event occurred.

timestamp: datetime | None