lib/openactive/models/facility_use.rb in openactive-0.2.2 vs lib/openactive/models/facility_use.rb in openactive-0.3.0
- old
+ new
@@ -56,15 +56,25 @@
define_property :category, as: "category", types: [
"string[]",
"OpenActive::Models::Concept[]",
]
+ # @return [Array<String>]
+ define_property :customer_account_booking_restriction, as: "customerAccountBookingRestriction", types: [
+ "string[]",
+ ]
+
# @return [Array<OpenActive::Models::Slot>]
define_property :event, as: "event", types: [
"OpenActive::Models::Slot[]",
]
+ # @return [Array<OpenActive::Models::Concept>]
+ define_property :facility_type, as: "facilityType", types: [
+ "OpenActive::Models::Concept[]",
+ ]
+
# @return [Array<OpenActive::Models::OpeningHoursSpecification>]
define_property :hours_available, as: "hoursAvailable", types: [
"OpenActive::Models::OpeningHoursSpecification[]",
]
@@ -76,13 +86,20 @@
# @return [Array<OpenActive::Models::IndividualFacilityUse>]
define_property :individual_facility_use, as: "individualFacilityUse", types: [
"OpenActive::Models::IndividualFacilityUse[]",
]
- # @return [OpenActive::Models::Place]
+ # @return [Boolean,nil]
+ define_property :is_open_booking_with_customer_account_allowed, as: "isOpenBookingWithCustomerAccountAllowed", types: [
+ "bool",
+ "null",
+ ]
+
+ # @return [OpenActive::Models::Place,URI]
define_property :location, as: "location", types: [
"OpenActive::Models::Place",
+ "URI",
]
# @return [Array<OpenActive::Models::Offer>]
define_property :offers, as: "offers", types: [
"OpenActive::Models::Offer[]",
@@ -112,22 +129,22 @@
# @return [Array<OpenActive::Models::VideoObject>]
define_property :video, as: "beta:video", types: [
"OpenActive::Models::VideoObject[]",
]
- # @return [Array<OpenActive::Models::Schema::SportsActivityLocation>]
+ # @return [Array<OpenActive::Models::SportsActivityLocation>]
define_property :sports_activity_location, as: "beta:sportsActivityLocation", types: [
- "OpenActive::Models::Schema::SportsActivityLocation[]",
+ "OpenActive::Models::SportsActivityLocation[]",
]
# @return [ActiveSupport::Duration,nil]
define_property :offer_validity_period, as: "beta:offerValidityPeriod", types: [
"DateInterval",
"null",
]
# @return [Array<OpenActive::Models::Concept>]
- define_property :facility_type, as: "beta:facilityType", types: [
+ define_property :facility_attribute, as: "beta:facilityAttribute", types: [
"OpenActive::Models::Concept[]",
]
# @return [OpenActive::Enums::FacilitySettingType,nil]
define_property :facility_setting, as: "beta:facilitySetting", types: [