'Save an event.
:param event: The event payload as a dictionary. Has the following
structure:
"timestamp": int, the epoch timestamp for the event,
"event_type": string, the event time name,
"msg_title": string, the title of the event,
"msg_text": string, the text body of the event,
"alert_type": (optional) string, one of (\'error\', \'warning\', \'success\', \'info\').
Defaults to \'info\'.
"source_type_name": (optional) string, the source type name,
"host": (optional) string, the name of the host,
"tags": (optional) list, a list of tags to associate with this event'

def event(self, event):

    self.events.append(event)
