View Source GoogleApi.Pollen.V1.Model.PollenTypeInfo (google_api_pollen v0.3.0)

This object contains the pollen type index and health recommendation information on specific pollen type.

Attributes

  • code (type: String.t, default: nil) - The pollen type's code name. For example: "GRASS"
  • displayName (type: String.t, default: nil) - A human readable representation of the pollen type name. Example: "Grass"
  • healthRecommendations (type: list(String.t), default: nil) - Textual list of explanations, related to health insights based on the current pollen levels.
  • inSeason (type: boolean(), default: nil) - Indication whether the plant is in season or not.
  • indexInfo (type: GoogleApi.Pollen.V1.Model.IndexInfo.t, default: nil) - Contains the Universal Pollen Index (UPI) data for the pollen type.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.Pollen.V1.Model.PollenTypeInfo{
  code: String.t() | nil,
  displayName: String.t() | nil,
  healthRecommendations: [String.t()] | nil,
  inSeason: boolean() | nil,
  indexInfo: GoogleApi.Pollen.V1.Model.IndexInfo.t() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.