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

Data regarding an air quality pollutant.

Attributes

  • additionalInfo (type: GoogleApi.AirQuality.V1.Model.AdditionalInfo.t, default: nil) - Additional information about the pollutant.
  • code (type: String.t, default: nil) - The pollutant's code name (for example, "so2"). For a list of supported pollutant codes, see Reported pollutants.
  • concentration (type: GoogleApi.AirQuality.V1.Model.Concentration.t, default: nil) - The pollutant's concentration level measured by one of the standard air pollutation measure units.
  • displayName (type: String.t, default: nil) - The pollutant's display name. For example: "NOx".
  • fullName (type: String.t, default: nil) - The pollutant's full name. For chemical compounds, this is the IUPAC name. Example: "Sulfur Dioxide". For more information about the IUPAC names table, see https://iupac.org/what-we-do/periodic-table-of-elements/.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.AirQuality.V1.Model.Pollutant{
  additionalInfo: GoogleApi.AirQuality.V1.Model.AdditionalInfo.t() | nil,
  code: String.t() | nil,
  concentration: GoogleApi.AirQuality.V1.Model.Concentration.t() | nil,
  displayName: String.t() | nil,
  fullName: String.t() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.