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

This object contains the daily information on specific plant.

Attributes

  • code (type: String.t, default: nil) - The plant code name. For example: "COTTONWOOD". A list of all available codes could be found here.
  • displayName (type: String.t, default: nil) - A human readable representation of the plant name. Example: “Cottonwood".
  • inSeason (type: boolean(), default: nil) - Indication of either the plant is in season or not.
  • indexInfo (type: GoogleApi.Pollen.V1.Model.IndexInfo.t, default: nil) - This object contains data representing specific pollen index value, category and description.
  • plantDescription (type: GoogleApi.Pollen.V1.Model.PlantDescription.t, default: nil) - Contains general information about plants, including details on their seasonality, special shapes and colors, information about allergic cross-reactions, and plant photos.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.Pollen.V1.Model.PlantInfo{
  code: String.t() | nil,
  displayName: String.t() | nil,
  inSeason: boolean() | nil,
  indexInfo: GoogleApi.Pollen.V1.Model.IndexInfo.t() | nil,
  plantDescription: GoogleApi.Pollen.V1.Model.PlantDescription.t() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.