genvid.sdk.EventsAPI
- class genvid.sdk.EventsAPI(client: ClusterAPI)
Bases:
object
- client
An http client use for the connection.
- get_events_defs(timeout=0.0)
Get the events definitions.
- Parameters:
timeout – The timeout in seconds.
- set_events_defs(events_defs: dict, timeout=0.0) dict
Set the events definition.
- Parameters:
events_defs – The events.
timeout – The timeout in seconds.
- delete_events_def(event_id: str, timeout=0.0)
Delete an events definition.
- Parameters:
event_id – The events definition to delete.
timeout – The timeout in seconds.
- delete_events_defs(timeout=0.0)
Delete the multiple event definitions.
- Parameters:
timeout – The timeout in seconds.
- class events.EventsAPI
Implementation of
genvid.sdk.EventsAPI