kappa_sdk.Event#
- class kappa_sdk.Event(event_id, object_id, object_type, event_type, topic, context, content, creation_time, transaction_id)[source]#
KAPPA Automate event.
Note
Should not be instantiated directly.
Attributes
Event.content
Gets the deserialized JSON content of
Event
's payload.Event.context
Gets the deserialized JSON context of
Event
.Event.creation_time
Gets the creation (issue) time of the
Event
.Event.event_id
Gets the id of the
Event
.Event.event_type
Gets the type of the
Event
.Event.object_id
Gets the id of the object related to this
Event
.Event.object_type
Gets the type of the object related to this
Event
.Event.topic
Gets the topic of this
Event
.Event.transaction_id
Gets the id of the transaction related to this
Event
.Methods
- Parameters:
event_id (str)
object_id (str)
object_type (str)
event_type (str)
topic (str)
context (Dict[Any, Any])
content (Dict[Any, Any])
creation_time (datetime)
transaction_id (str)