GoogleApi.Solar.V1.Model.SolarPanel (google_api_solar v0.4.2)

View Source

SolarPanel describes the position, orientation, and production of a single solar panel. See the panel_height_meters, panel_width_meters, and panel_capacity_watts fields in SolarPotential for information on the parameters of the panel.

Attributes

  • center (type: GoogleApi.Solar.V1.Model.LatLng.t, default: nil) - The centre of the panel.
  • orientation (type: String.t, default: nil) - The orientation of the panel.
  • segmentIndex (type: integer(), default: nil) - Index in roof_segment_stats of the RoofSegmentSizeAndSunshineStats which corresponds to the roof segment that this panel is placed on.
  • yearlyEnergyDcKwh (type: number(), default: nil) - How much sunlight energy this layout captures over the course of a year, in DC kWh.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() :: %GoogleApi.Solar.V1.Model.SolarPanel{
  center: GoogleApi.Solar.V1.Model.LatLng.t() | nil,
  orientation: String.t() | nil,
  segmentIndex: integer() | nil,
  yearlyEnergyDcKwh: number() | nil
}

Functions

decode(value, options)

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

Unwrap a decoded JSON object into its complex fields.