Table of Contents

Class Snow

Namespace
SimpleWeather
Assembly
SimpleWeather.dll

Represents snowfall data for the current weather response.

public class Snow
Inheritance
Snow
Inherited Members

Properties

OneHour

Snow volume for the last 1 hour, mm

public double? OneHour { get; }

Property Value

double?

Snow volume for the last 1 hour, mm

ThreeHours

Snow volume for the last 3 hour, mm

public double? ThreeHours { get; }

Property Value

double?

Snow volume for the last 3 hour, mm

Methods

FromJson(string?)

Creates this model from its OpenWeather JSON fragment.

public static Snow FromJson(string? json)

Parameters

json string

The JSON fragment, or null for an empty model.

Returns

Snow

The parsed weather model.