Class AirQualityIndex
- Namespace
- GoogleMapsApi.Entities.AirQuality.Response
- Assembly
- GoogleMapsApi.dll
A single air-quality index value (e.g. the Universal AQI or a local/national index).
public sealed class AirQualityIndex
- Inheritance
-
AirQualityIndex
- Inherited Members
Properties
Aqi
The numeric index score.
[JsonPropertyName("aqi")]
public int Aqi { get; set; }
Property Value
AqiDisplay
The index score as it should be displayed.
[JsonPropertyName("aqiDisplay")]
public string? AqiDisplay { get; set; }
Property Value
Category
Textual classification of the score (e.g. "Good air quality").
[JsonPropertyName("category")]
public string? Category { get; set; }
Property Value
Code
The index's code (e.g. "uaqi", "usa_epa").
[JsonPropertyName("code")]
public string? Code { get; set; }
Property Value
Color
The colour associated with the score, for rendering.
[JsonPropertyName("color")]
public Color? Color { get; set; }
Property Value
DisplayName
Human-readable index name (e.g. "Universal AQI").
[JsonPropertyName("displayName")]
public string? DisplayName { get; set; }
Property Value
DominantPollutant
Code of the pollutant dominating this index (e.g. "pm25").
[JsonPropertyName("dominantPollutant")]
public string? DominantPollutant { get; set; }