Class CustomLocalAqi
- Namespace
- GoogleMapsApi.Entities.AirQuality.Request
- Assembly
- GoogleMapsApi.dll
Pairs a country/region with the local Air Quality Index to report for it, overriding the API's
default index for that region. Supplied via customLocalAqis.
public sealed class CustomLocalAqi
- Inheritance
-
CustomLocalAqi
- Inherited Members
Properties
Aqi
The AQI to use for the region (e.g. "usa_epa").
[JsonPropertyName("aqi")]
public string? Aqi { get; set; }
Property Value
RegionCode
The country/region this override applies to (ISO 3166-1 alpha-2 code).
[JsonPropertyName("regionCode")]
public string? RegionCode { get; set; }