lib/openactive/models/facility_use.rb in openactive-0.1.2 vs lib/openactive/models/facility_use.rb in openactive-0.2.0

- old
+ new

@@ -1,7 +1,8 @@ module OpenActive module Models + # This type is derived from https://schema.org/Product, which means that any of this type's properties within schema.org may also be used. class FacilityUse < ::OpenActive::Models::Schema::Product # @!attribute type # @return [String] def type "FacilityUse" @@ -39,10 +40,15 @@ # @return [Array<OpenActive::Models::Concept>] define_property :activity, as: "activity", types: [ "OpenActive::Models::Concept[]", ] + # @return [Array<String>] + define_property :additional_admission_restriction, as: "additionalAdmissionRestriction", types: [ + "string[]", + ] + # @return [String] define_property :attendee_instructions, as: "attendeeInstructions", types: [ "string", ] @@ -80,60 +86,61 @@ # @return [Array<OpenActive::Models::Offer>] define_property :offers, as: "offers", types: [ "OpenActive::Models::Offer[]", ] - # @return [Array<OpenActive::Models::Action>] - define_property :potential_action, as: "potentialAction", types: [ - "OpenActive::Models::Action[]", - ] - # @return [OpenActive::Models::Organization] define_property :provider, as: "provider", types: [ "OpenActive::Models::Organization", ] # @return [URI] define_property :url, as: "url", types: [ "URI", ] + # @return [String] + define_property :formatted_description, as: "beta:formattedDescription", types: [ + "string", + ] + # @return [Boolean,nil] define_property :is_wheelchair_accessible, as: "beta:isWheelchairAccessible", types: [ "bool", "null", ] - # @return [OpenActive::Enums::FacilitySettingType,nil] - define_property :facility_setting, as: "beta:facilitySetting", types: [ - "OpenActive::Enums::FacilitySettingType", - "null", + # @return [Array<OpenActive::Models::VideoObject>] + define_property :video, as: "beta:video", types: [ + "OpenActive::Models::VideoObject[]", ] - # @return [Array<OpenActive::Models::Concept>] - define_property :facility_type, as: "beta:facilityType", types: [ - "OpenActive::Models::Concept[]", + # @return [Array<OpenActive::Models::Schema::SportsActivityLocation>] + define_property :sports_activity_location, as: "beta:sportsActivityLocation", types: [ + "OpenActive::Models::Schema::SportsActivityLocation[]", ] # @return [ActiveSupport::Duration,nil] define_property :offer_validity_period, as: "beta:offerValidityPeriod", types: [ "DateInterval", "null", ] - # @return [Array<OpenActive::Models::SportsActivityLocation>] - define_property :sports_activity_location, as: "beta:sportsActivityLocation", types: [ - "OpenActive::Models::SportsActivityLocation[]", + # @return [Array<OpenActive::Models::Concept>] + define_property :facility_type, as: "beta:facilityType", types: [ + "OpenActive::Models::Concept[]", ] - # @return [Array<OpenActive::Models::Schema::VideoObject>] - define_property :video, as: "beta:video", types: [ - "OpenActive::Models::Schema::VideoObject[]", + # @return [OpenActive::Enums::FacilitySettingType,nil] + define_property :facility_setting, as: "beta:facilitySetting", types: [ + "OpenActive::Enums::FacilitySettingType", + "null", ] - # @return [String] - define_property :formatted_description, as: "beta:formattedDescription", types: [ - "string", + # @return [Array<OpenActive::Enums::BookingChannelType>,nil] + define_property :booking_channel, as: "beta:bookingChannel", types: [ + "OpenActive::Enums::BookingChannelType[]", + "null", ] end end end