module OpenActive module Models module Schema class Apartment < ::OpenActive::Models::Schema::Accommodation # @!attribute type # @return [String] def type "schema:Apartment" end # @return [OpenActive::Models::Schema::QuantitativeValue,BigDecimal,URI,nil] define_property :number_of_rooms, as: "numberOfRooms", types: [ "OpenActive::Models::Schema::QuantitativeValue", "Number", "URI", "null", ] # @return [OpenActive::Models::Schema::QuantitativeValue,URI] define_property :occupancy, as: "occupancy", types: [ "OpenActive::Models::Schema::QuantitativeValue", "URI", ] end end end end