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
Gets the deserialized JSON content of
Event's payload.Gets the deserialized JSON context of
Event.Gets the creation (issue) time of the
Event.Gets the id of the
Event.Gets the type of the
Event.Gets the id of the object related to this
Event.Gets the type of the object related to this
Event.Gets the topic of this
Event.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)
- __init__(event_id, object_id, object_type, event_type, topic, context, content, creation_time, transaction_id)[source]#
- 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)