Sha256: 7e31b868dcdbeb27d8df1e75645c04bd6a27a435ae9808c695aea20991502baa

Contents?: true

Size: 1.09 KB

Versions: 5

Compression:

Stored size: 1.09 KB

Contents

module OpenActive
  module Models
    module Schema
      class EnergyConsumptionDetails < ::OpenActive::Models::Schema::Intangible
        # @!attribute type
        # @return [String]
        def type
          "schema:EnergyConsumptionDetails"
        end

        # @return [OpenActive::Models::Schema::EUEnergyEfficiencyEnumeration,URI]
        define_property :energy_efficiency_scale_max, as: "energyEfficiencyScaleMax", types: [
          "OpenActive::Models::Schema::EUEnergyEfficiencyEnumeration",
          "URI",
        ]

        # @return [OpenActive::Models::Schema::EUEnergyEfficiencyEnumeration,URI]
        define_property :energy_efficiency_scale_min, as: "energyEfficiencyScaleMin", types: [
          "OpenActive::Models::Schema::EUEnergyEfficiencyEnumeration",
          "URI",
        ]

        # @return [OpenActive::Enums::Schema::EnergyEfficiencyEnumeration,nil]
        define_property :has_energy_efficiency_category, as: "hasEnergyEfficiencyCategory", types: [
          "OpenActive::Enums::Schema::EnergyEfficiencyEnumeration",
          "null",
        ]
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
openactive-0.5.0 lib/openactive/models/schema/energy_consumption_details.rb
openactive-0.4.0 lib/openactive/models/schema/energy_consumption_details.rb
openactive-0.2.2 lib/openactive/models/schema/energy_consumption_details.rb
openactive-0.2.1 lib/openactive/models/schema/energy_consumption_details.rb
openactive-0.2.0 lib/openactive/models/schema/energy_consumption_details.rb