Show / Hide Table of Contents

Class AirQualityIndex

The basic object for representing different air quality metrics. When brought together, these metrics provide a snapshot about the current air quality conditions. There are multiple indexes in the world serving different purposes and groups interested in measuring different aspects of air quality.

Inheritance
object
AirQualityIndex
Implements
IDirectResponseSchema
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.AirQuality.v1.Data
Assembly: Google.Apis.AirQuality.v1.dll
Syntax
public class AirQualityIndex : IDirectResponseSchema

Properties

Aqi

The index's numeric score. Examples: 10, 100. The value is not normalized and should only be interpreted in the context of its related air-quality index. For non-numeric indexes, this field will not be returned. Note: This field should be used for calculations, graph display, etc. For displaying the index score, you should use the AQI display field.

Declaration
[JsonProperty("aqi")]
public virtual int? Aqi { get; set; }
Property Value
Type Description
int?

AqiDisplay

Textual representation of the index numeric score, that may include prefix or suffix symbols, which usually represents the worst index score. Example: >100 or 10+. Note: This field should be used when you want to display the index score. For non-numeric indexes, this field is empty.

Declaration
[JsonProperty("aqiDisplay")]
public virtual string AqiDisplay { get; set; }
Property Value
Type Description
string

Category

Textual classification of the index numeric score interpretation. For example: "Excellent air quality".

Declaration
[JsonProperty("category")]
public virtual string Category { get; set; }
Property Value
Type Description
string

Code

The index's code. This field represents the index for programming purposes by using snake case instead of spaces. Examples: "uaqi", "fra_atmo".

Declaration
[JsonProperty("code")]
public virtual string Code { get; set; }
Property Value
Type Description
string

Color

The color used to represent the AQI numeric score.

Declaration
[JsonProperty("color")]
public virtual Color Color { get; set; }
Property Value
Type Description
Color

DisplayName

A human readable representation of the index name. Example: "AQI (US)"

Declaration
[JsonProperty("displayName")]
public virtual string DisplayName { get; set; }
Property Value
Type Description
string

DominantPollutant

The chemical symbol of the dominant pollutant. For example: "CO".

Declaration
[JsonProperty("dominantPollutant")]
public virtual string DominantPollutant { get; set; }
Property Value
Type Description
string

ETag

The ETag of the item.

Declaration
public virtual string ETag { get; set; }
Property Value
Type Description
string

Implements

IDirectResponseSchema
In this article
Back to top Generated by DocFX