View Source GoogleApi.AirQuality.V1.Model.LookupHistoryResponse (google_api_air_quality v0.3.0)

Attributes

  • hoursInfo (type: list(GoogleApi.AirQuality.V1.Model.HourInfo.t), default: nil) - Optional. Contains the air quality information for each hour in the requested range. For example, if the request is for 48 hours of history there will be 48 elements of hourly info.
  • nextPageToken (type: String.t, default: nil) - Optional. The token to retrieve the next page.
  • regionCode (type: String.t, default: nil) - Optional. The ISO_3166-1 alpha-2 code of the country/region corresponding to the location provided in the request. This field might be omitted from the response if the location provided in the request resides in a disputed territory.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.AirQuality.V1.Model.LookupHistoryResponse{
  hoursInfo: [GoogleApi.AirQuality.V1.Model.HourInfo.t()] | nil,
  nextPageToken: String.t() | nil,
  regionCode: String.t() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.