module OpenActive module Models # This type is derived from [Event](https://schema.org/Event), which means that any of this type's properties within schema.org may also be used. Note however the properties on this page must be used in preference if a relevant property is available. class Event < ::OpenActive::Models::Schema::Event # @!attribute type # @return [String] def type "Event" 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 [OpenActive::Models::QuantitativeValue] define_property :age_range, as: "ageRange", types: [ "OpenActive::Models::QuantitativeValue", ] # @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 :contributor, as: "contributor", types: [ "OpenActive::Models::Person[]", ] # @return [ActiveSupport::Duration,nil] define_property :duration, as: "duration", types: [ "DateInterval", "null", ] # @return [Array] define_property :event_schedule, as: "eventSchedule", types: [ "OpenActive::Models::Schedule[]", ] # @return [OpenActive::Enums::Schema::EventStatusType,nil] define_property :event_status, as: "eventStatus", types: [ "OpenActive::Enums::Schema::EventStatusType", "null", ] # @return [OpenActive::Enums::GenderRestrictionType,nil] define_property :gender_restriction, as: "genderRestriction", types: [ "OpenActive::Enums::GenderRestrictionType", "null", ] # @return [Array] define_property :image, as: "image", types: [ "OpenActive::Models::ImageObject[]", ] # @return [Boolean,nil] define_property :is_accessible_for_free, as: "isAccessibleForFree", types: [ "bool", "null", ] # @return [Boolean,nil] define_property :is_coached, as: "isCoached", types: [ "bool", "null", ] # @return [Array] define_property :leader, as: "leader", types: [ "OpenActive::Models::Person[]", ] # @return [Array,Array] define_property :level, as: "level", types: [ "string[]", "OpenActive::Models::Concept[]", ] # @return [OpenActive::Models::Place] define_property :location, as: "location", types: [ "OpenActive::Models::Place", ] # @return [int,nil] define_property :maximum_attendee_capacity, as: "maximumAttendeeCapacity", types: [ "int", "null", ] # @return [String] define_property :meeting_point, as: "meetingPoint", types: [ "string", ] # @return [Array] define_property :offers, as: "offers", types: [ "OpenActive::Models::Offer[]", ] # @return [OpenActive::Models::Person,OpenActive::Models::Organization] define_property :organizer, as: "organizer", types: [ "OpenActive::Models::Person", "OpenActive::Models::Organization", ] # @return [Array] define_property :potential_action, as: "potentialAction", types: [ "OpenActive::Models::Action[]", ] # @return [OpenActive::Models::Brand] define_property :programme, as: "programme", types: [ "OpenActive::Models::Brand", ] # @return [int,nil] define_property :remaining_attendee_capacity, as: "remainingAttendeeCapacity", types: [ "int", "null", ] # @return [String] define_property :scheduling_note, as: "schedulingNote", types: [ "string", ] # @return [Date,DateTime,nil] define_property :start_date, as: "startDate", types: [ "Date", "DateTime", "null", ] # @return [Date,DateTime,nil] define_property :end_date, as: "endDate", types: [ "Date", "DateTime", "null", ] # @return [Array] define_property :sub_event, as: "subEvent", types: [ "OpenActive::Models::Event[]", ] # @return [OpenActive::Models::Event] define_property :super_event, as: "superEvent", types: [ "OpenActive::Models::Event", ] # @return [URI] define_property :url, as: "url", types: [ "URI", ] # @return [OpenActive::Models::QuantitativeValue] define_property :distance, as: "beta:distance", types: [ "OpenActive::Models::QuantitativeValue", ] # @return [OpenActive::Models::QuantitativeValue] define_property :estimated_duration, as: "beta:estimatedDuration", types: [ "OpenActive::Models::QuantitativeValue", ] # @return [Boolean,nil] define_property :is_virtually_coached, as: "beta:isVirtuallyCoached", types: [ "bool", "null", ] # @return [String] define_property :formatted_description, as: "beta:formattedDescription", types: [ "string", ] # @return [OpenActive::Enums::FacilitySettingType,nil] define_property :facility_setting, as: "beta:facilitySetting", types: [ "OpenActive::Enums::FacilitySettingType", "null", ] # @return [ActiveSupport::Duration,nil] define_property :offer_validity_period, as: "beta:offerValidityPeriod", types: [ "DateInterval", "null", ] # @return [Array] define_property :sports_activity_location, as: "beta:sportsActivityLocation", types: [ "OpenActive::Models::SportsActivityLocation[]", ] # @return [Array] define_property :video, as: "beta:video", types: [ "OpenActive::Models::Schema::VideoObject[]", ] # @return [String] define_property :availability, as: "beta:availability", types: [ "string", ] # @return [Boolean,nil] define_property :is_wheelchair_accessible, as: "beta:isWheelchairAccessible", types: [ "bool", "null", ] # @return [int,nil] define_property :registration_count, as: "beta:registrationCount", types: [ "int", "null", ] # @return [int,nil] define_property :attendee_count, as: "beta:attendeeCount", types: [ "int", "null", ] end end end