Skip to content

Latest commit

 

History

History
30 lines (21 loc) · 964 Bytes

TimestampedEvent.md

File metadata and controls

30 lines (21 loc) · 964 Bytes

TimestampedEvent

Measurement object with timestamp

Properties

Name Type Description Notes
timestamp int Event timestamp

Example

from waylay.services.data.models.timestamped_event import TimestampedEvent

# TODO update the JSON string below
json = "{}"
# create an instance of TimestampedEvent from a JSON string
timestamped_event_instance = TimestampedEvent.from_json(json)
# print the JSON string representation of the object
print TimestampedEvent.to_json()

# convert the object into a dict
timestamped_event_dict = timestamped_event_instance.to_dict()
# create an instance of TimestampedEvent from a dict
timestamped_event_form_dict = timestamped_event.from_dict(timestamped_event_dict)

[Back to Model list] [Back to API list] [Back to README]