Class CurrentConditionsResponse
- Namespace
- GoogleMapsApi.Entities.AirQuality.Response
- Assembly
- GoogleMapsApi.dll
Response from the Air Quality API currentConditions:lookup endpoint.
public sealed class CurrentConditionsResponse : IResponseFor<CurrentConditionsRequest>
- Inheritance
-
CurrentConditionsResponse
- Implements
- Inherited Members
Properties
DateTime
The hour (rounded down) the conditions apply to.
[JsonPropertyName("dateTime")]
public DateTimeOffset? DateTime { get; set; }
Property Value
HealthRecommendations
Health recommendations (when requested via the HEALTH_RECOMMENDATIONS computation).
[JsonPropertyName("healthRecommendations")]
public HealthRecommendations? HealthRecommendations { get; set; }
Property Value
Indexes
The air-quality indexes for the location.
[JsonPropertyName("indexes")]
public List<AirQualityIndex>? Indexes { get; set; }
Property Value
Pollutants
Per-pollutant data (when requested via extra computations).
[JsonPropertyName("pollutants")]
public List<Pollutant>? Pollutants { get; set; }
Property Value
RegionCode
Region code (ISO 3166-1 alpha-2) of the location.
[JsonPropertyName("regionCode")]
public string? RegionCode { get; set; }