Sha256: 75792a2041987ebac91c253ced06e0d3fc4b6042b2d0b8932c96c74283ba371d

Contents?: true

Size: 1.09 KB

Versions: 1

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_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",
        ]

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

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
openactive-0.3.0 lib/openactive/models/schema/energy_consumption_details.rb