lib/openactive/models/schema/engine_specification.rb in openactive-0.2.2 vs lib/openactive/models/schema/engine_specification.rb in openactive-0.3.0
- old
+ new
@@ -6,24 +6,22 @@
# @return [String]
def type
"schema:EngineSpecification"
end
- # @return [OpenActive::Enums::Schema::QualitativeValue,URI,String,nil]
+ # @return [String,URI,OpenActive::Enums::Schema::QualitativeValue,nil]
define_property :fuel_type, as: "fuelType", types: [
- "OpenActive::Enums::Schema::QualitativeValue",
- "URI",
"string",
+ "URI",
+ "OpenActive::Enums::Schema::QualitativeValue",
"null",
]
- # @return [URI,OpenActive::Enums::Schema::QualitativeValue,String,nil]
- define_property :engine_type, as: "engineType", types: [
+ # @return [OpenActive::Models::Schema::QuantitativeValue,URI]
+ define_property :torque, as: "torque", types: [
+ "OpenActive::Models::Schema::QuantitativeValue",
"URI",
- "OpenActive::Enums::Schema::QualitativeValue",
- "string",
- "null",
]
# @return [OpenActive::Models::Schema::QuantitativeValue,URI]
define_property :engine_displacement, as: "engineDisplacement", types: [
"OpenActive::Models::Schema::QuantitativeValue",
@@ -34,13 +32,15 @@
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",
+ # @return [OpenActive::Enums::Schema::QualitativeValue,URI,String,nil]
+ define_property :engine_type, as: "engineType", types: [
+ "OpenActive::Enums::Schema::QualitativeValue",
"URI",
+ "string",
+ "null",
]
end
end
end
end