Class Rain
- Namespace
- SimpleWeather
- Assembly
- SimpleWeather.dll
Represents precipitation data for the current weather response.
public class Rain
- Inheritance
-
Rain
- Inherited Members
Constructors
Rain(JToken?)
Initializes a new instance of the Rain class from JSON data.
public Rain(JToken? data)
Parameters
dataJTokenThe JSON token containing rain volume metrics.
Properties
OneHour
Rain volume for the last 1 hour, mm
public double? OneHour { get; }
Property Value
ThreeHours
Rain volume for the last 3 hours, mm
public double? ThreeHours { get; }