lib/openactive/models/schema/engine_specification.rb in openactive-0.3.0 vs lib/openactive/models/schema/engine_specification.rb in openactive-0.4.0

- old
+ new

@@ -6,41 +6,41 @@ # @return [String] def type "schema:EngineSpecification" end - # @return [String,URI,OpenActive::Enums::Schema::QualitativeValue,nil] - define_property :fuel_type, as: "fuelType", types: [ - "string", - "URI", - "OpenActive::Enums::Schema::QualitativeValue", - "null", - ] - # @return [OpenActive::Models::Schema::QuantitativeValue,URI] - define_property :torque, as: "torque", types: [ + define_property :engine_displacement, as: "engineDisplacement", types: [ "OpenActive::Models::Schema::QuantitativeValue", "URI", ] # @return [OpenActive::Models::Schema::QuantitativeValue,URI] - define_property :engine_displacement, as: "engineDisplacement", types: [ + define_property :torque, as: "torque", types: [ "OpenActive::Models::Schema::QuantitativeValue", "URI", ] - # @return [OpenActive::Models::Schema::QuantitativeValue,URI] - define_property :engine_power, as: "enginePower", types: [ - "OpenActive::Models::Schema::QuantitativeValue", + # @return [URI,String,OpenActive::Enums::Schema::QualitativeValue,nil] + define_property :engine_type, as: "engineType", types: [ "URI", + "string", + "OpenActive::Enums::Schema::QualitativeValue", + "null", ] # @return [OpenActive::Enums::Schema::QualitativeValue,URI,String,nil] - define_property :engine_type, as: "engineType", types: [ + define_property :fuel_type, as: "fuelType", types: [ "OpenActive::Enums::Schema::QualitativeValue", "URI", "string", "null", + ] + + # @return [OpenActive::Models::Schema::QuantitativeValue,URI] + define_property :engine_power, as: "enginePower", types: [ + "OpenActive::Models::Schema::QuantitativeValue", + "URI", ] end end end end