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

- old
+ new

@@ -6,16 +6,10 @@ # @return [String] def type "schema:FloorPlan" end - # @return [OpenActive::Models::Schema::Accommodation,URI] - define_property :is_plan_for_apartment, as: "isPlanForApartment", types: [ - "OpenActive::Models::Schema::Accommodation", - "URI", - ] - # @return [int,nil] define_property :number_of_bathrooms_total, as: "numberOfBathroomsTotal", types: [ "int", "null", ] @@ -26,64 +20,70 @@ "Number", "URI", "null", ] + # @return [String,Boolean,nil] + define_property :pets_allowed, as: "petsAllowed", types: [ + "string", + "bool", + "null", + ] + # @return [OpenActive::Models::Schema::QuantitativeValue,URI] - define_property :number_of_accommodation_units, as: "numberOfAccommodationUnits", types: [ + define_property :floor_size, as: "floorSize", types: [ "OpenActive::Models::Schema::QuantitativeValue", "URI", ] + # @return [URI,OpenActive::Models::Schema::ImageObject] + define_property :layout_image, as: "layoutImage", types: [ + "URI", + "OpenActive::Models::Schema::ImageObject", + ] + # @return [OpenActive::Models::Schema::QuantitativeValue,URI] - define_property :number_of_available_accommodation_units, as: "numberOfAvailableAccommodationUnits", types: [ + define_property :number_of_accommodation_units, as: "numberOfAccommodationUnits", types: [ "OpenActive::Models::Schema::QuantitativeValue", "URI", ] + # @return [OpenActive::Models::Schema::Accommodation,URI] + define_property :is_plan_for_apartment, as: "isPlanForApartment", types: [ + "OpenActive::Models::Schema::Accommodation", + "URI", + ] + # @return [OpenActive::Models::Schema::LocationFeatureSpecification,URI] define_property :amenity_feature, as: "amenityFeature", types: [ "OpenActive::Models::Schema::LocationFeatureSpecification", "URI", ] - # @return [BigDecimal,OpenActive::Models::Schema::QuantitativeValue,URI,nil] - define_property :number_of_bedrooms, as: "numberOfBedrooms", types: [ + # @return [BigDecimal,nil] + define_property :number_of_full_bathrooms, as: "numberOfFullBathrooms", types: [ "Number", - "OpenActive::Models::Schema::QuantitativeValue", - "URI", "null", ] # @return [BigDecimal,nil] define_property :number_of_partial_bathrooms, as: "numberOfPartialBathrooms", types: [ "Number", "null", ] # @return [OpenActive::Models::Schema::QuantitativeValue,URI] - define_property :floor_size, as: "floorSize", types: [ + define_property :number_of_available_accommodation_units, as: "numberOfAvailableAccommodationUnits", types: [ "OpenActive::Models::Schema::QuantitativeValue", "URI", ] - # @return [BigDecimal,nil] - define_property :number_of_full_bathrooms, as: "numberOfFullBathrooms", types: [ + # @return [OpenActive::Models::Schema::QuantitativeValue,BigDecimal,URI,nil] + define_property :number_of_bedrooms, as: "numberOfBedrooms", types: [ + "OpenActive::Models::Schema::QuantitativeValue", "Number", - "null", - ] - - # @return [String,Boolean,nil] - define_property :pets_allowed, as: "petsAllowed", types: [ - "string", - "bool", - "null", - ] - - # @return [OpenActive::Models::Schema::ImageObject,URI] - define_property :layout_image, as: "layoutImage", types: [ - "OpenActive::Models::Schema::ImageObject", "URI", + "null", ] end end end end