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 :event, as: "event", types: [ "OpenActive::Models::Slot[]", ] # @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 [OpenActive::Models::Place] define_property :location, as: "location", types: [ "OpenActive::Models::Place", ] # @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::Schema::SportsActivityLocation[]", ] # @return [ActiveSupport::Duration,nil] define_property :offer_validity_period, as: "beta:offerValidityPeriod", types: [ "DateInterval", "null", ] # @return [Array] define_property :facility_type, as: "beta:facilityType", 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