Table of Contents

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

int

AqiDisplay

The index score as it should be displayed.

[JsonPropertyName("aqiDisplay")]
public string? AqiDisplay { get; set; }

Property Value

string

Category

Textual classification of the score (e.g. "Good air quality").

[JsonPropertyName("category")]
public string? Category { get; set; }

Property Value

string

Code

The index's code (e.g. "uaqi", "usa_epa").

[JsonPropertyName("code")]
public string? Code { get; set; }

Property Value

string

Color

The colour associated with the score, for rendering.

[JsonPropertyName("color")]
public Color? Color { get; set; }

Property Value

Color

DisplayName

Human-readable index name (e.g. "Universal AQI").

[JsonPropertyName("displayName")]
public string? DisplayName { get; set; }

Property Value

string

DominantPollutant

Code of the pollutant dominating this index (e.g. "pm25").

[JsonPropertyName("dominantPollutant")]
public string? DominantPollutant { get; set; }

Property Value

string