struct AggregatedRuntimeAggregated runtime for a specific HVAC runtime type.
-
Returns the field corresponding to the given field ID.
Declaration
Swift
static func structField(id: UInt32) -> (any Field)? -
The HVAC runtime type.
Declaration
Swift
let runtimeType: Google.HvacRuntimeType? -
How the runtime is aggregated.
Declaration
Swift
let aggregationType: Google.EnergyScenarioAnalysisTrait.AggregationType? -
Runtime in seconds per aggregated bucket.
Declaration
Swift
let runtimeSecondsArray: [Int32] -
The ID of the HVAC system this runtime is associated with.
Declaration
Swift
let hvacSystemId: String? -
Creates a new Struct instance using data read from the given
TraitDecoder.Throws
HomeError.parseErrorwhen parsing fails.Declaration
Swift
init(decoder: TraitDecoder) throwsParameters
decoderThe raw data representing this Struct.
-
Writes this Struct to the given
TraitEncoder. ThrowsHomeError.parseErrorif the data could not be encoded.Declaration
Swift
func encode(with encoder: TraitEncoder) throws