lib/openactive/models/schema/lodging_reservation.rb in openactive-0.3.0 vs lib/openactive/models/schema/lodging_reservation.rb in openactive-0.4.0
- old
+ new
@@ -6,47 +6,47 @@
# @return [String]
def type
"schema:LodgingReservation"
end
- # @return [OpenActive::Enums::Schema::QualitativeValue,String,nil]
- define_property :lodging_unit_type, as: "lodgingUnitType", types: [
- "OpenActive::Enums::Schema::QualitativeValue",
- "string",
- "null",
- ]
-
# @return [String]
define_property :lodging_unit_description, as: "lodgingUnitDescription", types: [
"string",
]
- # @return [DateTime,Time,nil]
+ # @return [OpenActive::Models::Schema::QuantitativeValue,int,URI,nil]
+ define_property :num_children, as: "numChildren", types: [
+ "OpenActive::Models::Schema::QuantitativeValue",
+ "int",
+ "URI",
+ "null",
+ ]
+
+ # @return [Time,DateTime,nil]
define_property :checkout_time, as: "checkoutTime", types: [
- "DateTime",
"Time",
+ "DateTime",
"null",
]
- # @return [int,OpenActive::Models::Schema::QuantitativeValue,URI,nil]
- define_property :num_adults, as: "numAdults", types: [
- "int",
- "OpenActive::Models::Schema::QuantitativeValue",
- "URI",
+ # @return [OpenActive::Enums::Schema::QualitativeValue,String,nil]
+ define_property :lodging_unit_type, as: "lodgingUnitType", types: [
+ "OpenActive::Enums::Schema::QualitativeValue",
+ "string",
"null",
]
# @return [DateTime,Time,nil]
define_property :checkin_time, as: "checkinTime", types: [
"DateTime",
"Time",
"null",
]
- # @return [int,OpenActive::Models::Schema::QuantitativeValue,URI,nil]
- define_property :num_children, as: "numChildren", types: [
- "int",
+ # @return [OpenActive::Models::Schema::QuantitativeValue,int,URI,nil]
+ define_property :num_adults, as: "numAdults", types: [
"OpenActive::Models::Schema::QuantitativeValue",
+ "int",
"URI",
"null",
]
end
end