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" end # @return [int,String,OpenActive::Models::PropertyValue,Array,nil] define_property :identifier, as: "identifier", types: [ "int", "string", "OpenActive::Models::PropertyValue", "OpenActive::Models::PropertyValue[]", "null", ] # @return [String] define_property :name, as: "name", types: [ "string", ] # @return [String] define_property :description, as: "description", types: [ "string", ] # @return [String] define_property :accessibility_information, as: "accessibilityInformation", types: [ "string", ] # @return [Array] define_property :accessibility_support, as: "accessibilitySupport", types: [ "OpenActive::Models::Concept[]", ] # @return [Array] define_property :activity, as: "activity", types: [ "OpenActive::Models::Concept[]", ] # @return [Array] define_property :additional_admission_restriction, as: "additionalAdmissionRestriction", types: [ "string[]", ] # @return [String] define_property :attendee_instructions, as: "attendeeInstructions", types: [ "string", ] # @return [Array,Array] define_property :category, as: "category", types: [ "string[]", "OpenActive::Models::Concept[]", ] # @return [Array] define_property :customer_account_booking_restriction, as: "customerAccountBookingRestriction", types: [ "string[]", ] # @return [Array] define_property :event, as: "event", types: [ "OpenActive::Models::Slot[]", ] # @return [Array] define_property :facility_type, as: "facilityType", types: [ "OpenActive::Models::Concept[]", ] # @return [Array] define_property :hours_available, as: "hoursAvailable", types: [ "OpenActive::Models::OpeningHoursSpecification[]", ] # @return [Array] define_property :image, as: "image", types: [ "OpenActive::Models::ImageObject[]", ] # @return [Array] define_property :individual_facility_use, as: "individualFacilityUse", types: [ "OpenActive::Models::IndividualFacilityUse[]", ] # @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] define_property :offers, as: "offers", types: [ "OpenActive::Models::Offer[]", ] # @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 [Array] define_property :video, as: "beta:video", types: [ "OpenActive::Models::VideoObject[]", ] # @return [Array] define_property :sports_activity_location, as: "beta:sportsActivityLocation", types: [ "OpenActive::Models::SportsActivityLocation[]", ] # @return [ActiveSupport::Duration,nil] define_property :offer_validity_period, as: "beta:offerValidityPeriod", types: [ "DateInterval", "null", ] # @return [Array] define_property :facility_attribute, as: "beta:facilityAttribute", types: [ "OpenActive::Models::Concept[]", ] # @return [OpenActive::Enums::FacilitySettingType,nil] define_property :facility_setting, as: "beta:facilitySetting", types: [ "OpenActive::Enums::FacilitySettingType", "null", ] # @return [Array,nil] define_property :booking_channel, as: "beta:bookingChannel", types: [ "OpenActive::Enums::BookingChannelType[]", "null", ] end end end