Name | Type | Description | Notes |
---|---|---|---|
eventtype | AlarmEventType | ||
eventtime | datetime | ||
alarm | AlarmEventAlarm | ||
changes | List[AlarmEventChangesInner] | Describes the changes that where done Will only be there if `eventtype` is `io.waylay.alarm.AlarmUpdated` | [optional] |
from waylay.services.alarms.models.alarm_event import AlarmEvent
# TODO update the JSON string below
json = "{}"
# create an instance of AlarmEvent from a JSON string
alarm_event_instance = AlarmEvent.from_json(json)
# print the JSON string representation of the object
print AlarmEvent.to_json()
# convert the object into a dict
alarm_event_dict = alarm_event_instance.to_dict()
# create an instance of AlarmEvent from a dict
alarm_event_form_dict = alarm_event.from_dict(alarm_event_dict)