Skip to content

Latest commit

 

History

History
83 lines (74 loc) · 4.58 KB

Event.md

File metadata and controls

83 lines (74 loc) · 4.58 KB

Event

Properties

Name Type Description Notes
event str Event UID (globally unique) [optional]
session str Session UID (globally unique) [optional]
tls bool Whether TLS was used on the connection between the device and notehub. Only available on _session.qo events. [optional]
best_id str The device serial number, or the DeviceUID if the serial number is not set [optional]
device str Device UID (globally unique) [optional]
sn str The device serial number [optional]
product str Product UID (globally unique) [optional]
app str App UID (globally unique) [optional]
received float The unix timestamp when the event was received [optional]
req str The notecard request [optional]
when float When the event was captured on the device [optional]
file str The notefile associated with this event [optional]
note str The note ID in the notefile [optional]
updates float [optional]
body object A JSON object containing event details [optional]
payload str A base64-encoded binary payload [optional]
best_location_type str One of "gps", "triangulated", or "tower" [optional]
best_location_when float Unix timestamp [optional]
best_lat float Latitude [optional]
best_lon float Longitude [optional]
best_location str Location [optional]
best_country str Country [optional]
best_timezone str Timezone [optional]
where_olc str Open Location Code [optional]
where_when float Unix timestamp [optional]
where_lat float Latitude [optional]
where_lon float Longitude [optional]
where_location str Location [optional]
where_country str Country [optional]
where_timezone str Timezone [optional]
tower_when float Unix timestamp [optional]
tower_lat float Latitude [optional]
tower_lon float Longitude [optional]
tower_country str Country [optional]
tower_location str Location [optional]
tower_timezone str Timezone [optional]
tower_id str Tower ID [optional]
tri_when float Unix timestamp [optional]
tri_lat float Latitude [optional]
tri_lon float Longitude [optional]
tri_location str Location [optional]
tri_country str Country [optional]
tri_timezone str Timezone [optional]
tri_points float Triangulation points [optional]
moved float The number of times the device was sensed to have moved between the last session and this session. Only available on _session.qo events. [optional]
orientation str The orientation of the device. Only available on _session.qo events. [optional]
rssi float Received Signal Strength Indicator (RSSI) is an estimated measurement of how well a device can receive signals. Only available on _session.qo events. [optional]
sinr float SINR. Only available on _session.qo events. [optional]
rsrp float RSRP. Only available on _session.qo events. [optional]
rsrq float RSRQ. Only available on _session.qo events. [optional]
rat str Rat. Only available on _session.qo events. [optional]
bars float Bars. Only available on _session.qo events. [optional]
voltage float Device voltage. Only available on _session.qo events. [optional]
temp float Device temperature. Only available on _session.qo events. [optional]
environment object Routed environment variables beginning with "$". Only available on _session.qo events. [optional]

Example

from notehub_py.models.event import Event

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

# convert the object into a dict
event_dict = event_instance.to_dict()
# create an instance of Event from a dict
event_from_dict = Event.from_dict(event_dict)

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