CitraClient.Schemas.WeatherAlert (citra_client v0.3.0)
View SourceWeather alert data
Fields
:description—String.t()— Description of the alert:end—integer()— Date and time of the end of the alert, Unix, UTC:event—String.t()— Alert event name:sender_name—String.t()(API key:senderName) — Name of the alert source:start—integer()— Date and time of the start of the alert, Unix, UTC:tags— list ofString.t()— Type of severe weather
Summary
Functions
Build this struct from a decoded JSON map received from the API. Unknown fields are ignored.
Convert this struct into a map with the API's camelCase keys, ready
to be JSON-encoded. Fields whose value is nil are omitted.