lib/openactive/models/schema/suite.rb in openactive-0.1.2 vs lib/openactive/models/schema/suite.rb in openactive-0.2.0

- old
+ new

@@ -6,26 +6,29 @@ # @return [String] def type "schema:Suite" end - # @return [OpenActive::Models::Schema::QuantitativeValue,BigDecimal,nil] + # @return [BigDecimal,OpenActive::Models::Schema::QuantitativeValue,URI,nil] define_property :number_of_rooms, as: "numberOfRooms", types: [ - "OpenActive::Models::Schema::QuantitativeValue", "Number", + "OpenActive::Models::Schema::QuantitativeValue", + "URI", "null", ] - # @return [OpenActive::Models::Schema::BedDetails,OpenActive::Models::Schema::BedType,String] + # @return [OpenActive::Models::Schema::BedDetails,String,OpenActive::Models::Schema::BedType,URI] define_property :bed, as: "bed", types: [ "OpenActive::Models::Schema::BedDetails", - "OpenActive::Models::Schema::BedType", "string", + "OpenActive::Models::Schema::BedType", + "URI", ] - # @return [OpenActive::Models::Schema::QuantitativeValue] + # @return [OpenActive::Models::Schema::QuantitativeValue,URI] define_property :occupancy, as: "occupancy", types: [ "OpenActive::Models::Schema::QuantitativeValue", + "URI", ] end end end end