Class: OpenActive::Models::ScheduledSession

Inherits:
Event show all
Defined in:
lib/openactive/models/scheduled_session.rb

Overview

This type is derived from [Event](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.

Instance Attribute Summary collapse

Attributes inherited from Event

#accessibility_information, #accessibility_support, #activity, #age_range, #attendee_count, #attendee_instructions, #availability, #category, #contributor, #description, #distance, #duration, #end_date, #estimated_duration, #event_status, #facility_setting, #formatted_description, #gender_restriction, #identifier, #image, #is_accessible_for_free, #is_coached, #is_virtually_coached, #is_wheelchair_accessible, #leader, #level, #location, #maximum_attendee_capacity, #meeting_point, #name, #offer_validity_period, #offers, #organizer, #potential_action, #programme, #registration_count, #remaining_attendee_capacity, #scheduling_note, #sports_activity_location, #start_date, #url, #video

Attributes inherited from OpenActive::Models::Schema::Event

#about, #actor, #aggregate_rating, #attendee, #attendees, #audience, #composer, #contributor, #director, #door_time, #duration, #end_date, #event_status, #funder, #in_language, #is_accessible_for_free, #location, #maximum_attendee_capacity, #offers, #organizer, #performer, #performers, #previous_start_date, #recorded_in, #remaining_attendee_capacity, #review, #sponsor, #start_date, #sub_events, #translator, #typical_age_range, #work_featured, #work_performed

Attributes inherited from OpenActive::Models::Schema::Thing

#additional_type, #alternate_name, #description, #disambiguating_description, #identifier, #image, #main_entity_of_page, #name, #potential_action, #same_as, #subject_of, #url

Attributes inherited from JsonLdModel

#context, #id

Method Summary

Methods inherited from BaseModel

#assign_attributes, define_property, deserialize, #deserialize, deserialize_class, #initialize, #serialize, serialize, #set_property, #to_json

Methods included from Concerns::TypeChecker

#check_types, included

Methods included from Concerns::JsonLdSerializable

included, #to_h, #values

Constructor Details

This class inherits a constructor from OpenActive::BaseModel

Instance Attribute Details

#event_scheduleArray<OpenActive::Models::Schedule>

Returns:



12
13
14
# File 'lib/openactive/models/scheduled_session.rb', line 12

def event_schedule
  @event_schedule
end

#sub_eventArray<OpenActive::Models::Event>

Returns:



17
18
19
# File 'lib/openactive/models/scheduled_session.rb', line 17

def sub_event
  @sub_event
end

#super_eventURI, OpenActive::Models::Event

Returns:



22
23
24
# File 'lib/openactive/models/scheduled_session.rb', line 22

def super_event
  @super_event
end

#typeString

Returns:

  • (String)


7
8
9
# File 'lib/openactive/models/scheduled_session.rb', line 7

def type
  "ScheduledSession"
end