lib/openactive/models/schema/lodging_business.rb in openactive-0.3.0 vs lib/openactive/models/schema/lodging_business.rb in openactive-0.4.0
- old
+ new
@@ -14,53 +14,53 @@
"Number",
"URI",
"null",
]
- # @return [OpenActive::Models::Schema::Audience,URI]
- define_property :audience, as: "audience", types: [
- "OpenActive::Models::Schema::Audience",
- "URI",
+ # @return [String,Boolean,nil]
+ define_property :pets_allowed, as: "petsAllowed", types: [
+ "string",
+ "bool",
+ "null",
]
- # @return [OpenActive::Models::Schema::Rating,URI]
- define_property :star_rating, as: "starRating", types: [
- "OpenActive::Models::Schema::Rating",
- "URI",
- ]
-
- # @return [OpenActive::Models::Schema::LocationFeatureSpecification,URI]
- define_property :amenity_feature, as: "amenityFeature", types: [
- "OpenActive::Models::Schema::LocationFeatureSpecification",
- "URI",
- ]
-
- # @return [String,OpenActive::Models::Schema::Language,URI]
+ # @return [OpenActive::Models::Schema::Language,String,URI]
define_property :available_language, as: "availableLanguage", types: [
- "string",
"OpenActive::Models::Schema::Language",
+ "string",
"URI",
]
- # @return [DateTime,Time,nil]
+ # @return [Time,DateTime,nil]
define_property :checkout_time, as: "checkoutTime", types: [
- "DateTime",
"Time",
+ "DateTime",
"null",
]
+ # @return [OpenActive::Models::Schema::LocationFeatureSpecification,URI]
+ define_property :amenity_feature, as: "amenityFeature", types: [
+ "OpenActive::Models::Schema::LocationFeatureSpecification",
+ "URI",
+ ]
+
# @return [DateTime,Time,nil]
define_property :checkin_time, as: "checkinTime", types: [
"DateTime",
"Time",
"null",
]
- # @return [String,Boolean,nil]
- define_property :pets_allowed, as: "petsAllowed", types: [
- "string",
- "bool",
- "null",
+ # @return [OpenActive::Models::Schema::Audience,URI]
+ define_property :audience, as: "audience", types: [
+ "OpenActive::Models::Schema::Audience",
+ "URI",
+ ]
+
+ # @return [OpenActive::Models::Schema::Rating,URI]
+ define_property :star_rating, as: "starRating", types: [
+ "OpenActive::Models::Schema::Rating",
+ "URI",
]
end
end
end
end