lib/openactive/models/schema/apartment_complex.rb in openactive-0.2.2 vs lib/openactive/models/schema/apartment_complex.rb in openactive-0.3.0
- old
+ new
@@ -6,39 +6,39 @@
# @return [String]
def type
"schema:ApartmentComplex"
end
- # @return [OpenActive::Models::Schema::QuantitativeValue,BigDecimal,URI,nil]
- define_property :number_of_bedrooms, as: "numberOfBedrooms", types: [
+ # @return [OpenActive::Models::Schema::QuantitativeValue,URI]
+ define_property :number_of_accommodation_units, as: "numberOfAccommodationUnits", types: [
"OpenActive::Models::Schema::QuantitativeValue",
- "Number",
"URI",
- "null",
]
+ # @return [OpenActive::Models::Schema::QuantitativeValue,URI]
+ define_property :number_of_available_accommodation_units, as: "numberOfAvailableAccommodationUnits", types: [
+ "OpenActive::Models::Schema::QuantitativeValue",
+ "URI",
+ ]
+
# @return [URI]
define_property :tour_booking_page, as: "tourBookingPage", types: [
"URI",
]
- # @return [OpenActive::Models::Schema::QuantitativeValue,URI]
- define_property :number_of_available_accommodation_units, as: "numberOfAvailableAccommodationUnits", types: [
+ # @return [BigDecimal,OpenActive::Models::Schema::QuantitativeValue,URI,nil]
+ define_property :number_of_bedrooms, as: "numberOfBedrooms", types: [
+ "Number",
"OpenActive::Models::Schema::QuantitativeValue",
"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: [
- "OpenActive::Models::Schema::QuantitativeValue",
- "URI",
]
end
end
end
end