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

View Source

Cost and benefit of leasing a particular configuration of solar panels with a particular electricity usage.

Attributes

  • annualLeasingCost (type: GoogleApi.Solar.V1.Model.Money.t, default: nil) - Estimated annual leasing cost.
  • leasesAllowed (type: boolean(), default: nil) - Whether leases are allowed in this juristiction (leases are not allowed in some states). If this field is false, then the values in this message should probably be ignored.
  • leasesSupported (type: boolean(), default: nil) - Whether leases are supported in this juristiction by the financial calculation engine. If this field is false, then the values in this message should probably be ignored. This is independent of leases_allowed: in some areas leases are allowed, but under conditions that aren't handled by the financial models.
  • savings (type: GoogleApi.Solar.V1.Model.SavingsOverTime.t, default: nil) - How much is saved (or not) over the lifetime period.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() :: %GoogleApi.Solar.V1.Model.LeasingSavings{
  annualLeasingCost: GoogleApi.Solar.V1.Model.Money.t() | nil,
  leasesAllowed: boolean() | nil,
  leasesSupported: boolean() | nil,
  savings: GoogleApi.Solar.V1.Model.SavingsOverTime.t() | nil
}

Functions

decode(value, options)

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

Unwrap a decoded JSON object into its complex fields.