View Source GoogleApi.AirQuality.V1.Model.CustomLocalAqi (google_api_air_quality v0.3.1)

Expresses a 'country/region to AQI' relationship. Pairs a country/region with a desired AQI so that air quality data that is required for that country/region will be displayed according to the chosen AQI.

Attributes

  • aqi (type: String.t, default: nil) - The AQI to associate the country/region with. Value should be a valid index code.
  • regionCode (type: String.t, default: nil) - The country/region requiring the custom AQI. Value should be provided using ISO 3166-1 alpha-2 code.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.AirQuality.V1.Model.CustomLocalAqi{
  aqi: String.t() | nil,
  regionCode: String.t() | nil
}

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.