lib/openactive/models/schema/engine_specification.rb in openactive-0.1.2 vs lib/openactive/models/schema/engine_specification.rb in openactive-0.2.0
- old
+ new
@@ -6,15 +6,41 @@
# @return [String]
def type
"schema:EngineSpecification"
end
- # @return [OpenActive::Enums::Schema::QualitativeValue,String,URI,nil]
+ # @return [OpenActive::Enums::Schema::QualitativeValue,URI,String,nil]
define_property :fuel_type, as: "fuelType", types: [
"OpenActive::Enums::Schema::QualitativeValue",
+ "URI",
"string",
+ "null",
+ ]
+
+ # @return [URI,OpenActive::Enums::Schema::QualitativeValue,String,nil]
+ define_property :engine_type, as: "engineType", types: [
"URI",
+ "OpenActive::Enums::Schema::QualitativeValue",
+ "string",
"null",
+ ]
+
+ # @return [OpenActive::Models::Schema::QuantitativeValue,URI]
+ define_property :engine_displacement, as: "engineDisplacement", types: [
+ "OpenActive::Models::Schema::QuantitativeValue",
+ "URI",
+ ]
+
+ # @return [OpenActive::Models::Schema::QuantitativeValue,URI]
+ define_property :engine_power, as: "enginePower", types: [
+ "OpenActive::Models::Schema::QuantitativeValue",
+ "URI",
+ ]
+
+ # @return [OpenActive::Models::Schema::QuantitativeValue,URI]
+ define_property :torque, as: "torque", types: [
+ "OpenActive::Models::Schema::QuantitativeValue",
+ "URI",
]
end
end
end
end