Table of Contents

Class HourlyForecast

Namespace
GoogleMapsApi.Entities.AirQuality.Response
Assembly
GoogleMapsApi.dll

Air-quality data for a single hour, used by the forecast and history responses.

public sealed class HourlyForecast
Inheritance
HourlyForecast
Inherited Members

Properties

DateTime

The hour (rounded down) these values apply to.

[JsonPropertyName("dateTime")]
public DateTimeOffset? DateTime { get; set; }

Property Value

DateTimeOffset?

HealthRecommendations

Health recommendations for this hour (when requested via extra computations).

[JsonPropertyName("healthRecommendations")]
public HealthRecommendations? HealthRecommendations { get; set; }

Property Value

HealthRecommendations

Indexes

The air-quality indexes for this hour.

[JsonPropertyName("indexes")]
public List<AirQualityIndex>? Indexes { get; set; }

Property Value

List<AirQualityIndex>

Pollutants

Per-pollutant data for this hour (when requested via extra computations).

[JsonPropertyName("pollutants")]
public List<Pollutant>? Pollutants { get; set; }

Property Value

List<Pollutant>