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

View Source

SolarPanelConfig describes a particular placement of solar panels on the roof.

Attributes

  • panelsCount (type: integer(), default: nil) - Total number of panels. Note that this is redundant to (the sum of) the corresponding fields in roof_segment_summaries.
  • roofSegmentSummaries (type: list(GoogleApi.Solar.V1.Model.RoofSegmentSummary.t), default: nil) - Information about the production of each roof segment that is carrying at least one panel in this layout. roof_segment_summaries[i] describes the i-th roof segment, including its size, expected production and orientation.
  • yearlyEnergyDcKwh (type: number(), default: nil) - How much sunlight energy this layout captures over the course of a year, in DC kWh, assuming the panels described above.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() :: %GoogleApi.Solar.V1.Model.SolarPanelConfig{
  panelsCount: integer() | nil,
  roofSegmentSummaries: [GoogleApi.Solar.V1.Model.RoofSegmentSummary.t()] | nil,
  yearlyEnergyDcKwh: number() | nil
}

Functions

decode(value, options)

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

Unwrap a decoded JSON object into its complex fields.