Class: OpenActive::Models::Schema::Event

Inherits:
Thing show all
Defined in:
lib/openactive/models/schema/event.rb

Instance Attribute Summary collapse

Attributes inherited from 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

#aboutOpenActive::Models::Schema::Thing



29
30
31
# File 'lib/openactive/models/schema/event.rb', line 29

def about
  @about
end

#actorOpenActive::Models::Schema::Person



61
62
63
# File 'lib/openactive/models/schema/event.rb', line 61

def actor
  @actor
end

#aggregate_ratingOpenActive::Models::Schema::AggregateRating



158
159
160
# File 'lib/openactive/models/schema/event.rb', line 158

def aggregate_rating
  @aggregate_rating
end

#attendeeOpenActive::Models::Schema::Organization, OpenActive::Models::Schema::Person



34
35
36
# File 'lib/openactive/models/schema/event.rb', line 34

def attendee
  @attendee
end

#attendeesOpenActive::Models::Schema::Person, OpenActive::Models::Schema::Organization



107
108
109
# File 'lib/openactive/models/schema/event.rb', line 107

def attendees
  @attendees
end

#audienceOpenActive::Models::Schema::Audience



50
51
52
# File 'lib/openactive/models/schema/event.rb', line 50

def audience
  @audience
end

#composerOpenActive::Models::Schema::Person, OpenActive::Models::Schema::Organization



169
170
171
# File 'lib/openactive/models/schema/event.rb', line 169

def composer
  @composer
end

#contributorOpenActive::Models::Schema::Organization, OpenActive::Models::Schema::Person



85
86
87
# File 'lib/openactive/models/schema/event.rb', line 85

def contributor
  @contributor
end

#directorOpenActive::Models::Schema::Person



80
81
82
# File 'lib/openactive/models/schema/event.rb', line 80

def director
  @director
end

#door_timeDateTime, ...

Returns:

  • (DateTime, Time, nil)


199
200
201
# File 'lib/openactive/models/schema/event.rb', line 199

def door_time
  @door_time
end

#durationActiveSupport::Duration?

Returns:

  • (ActiveSupport::Duration, nil)


101
102
103
# File 'lib/openactive/models/schema/event.rb', line 101

def duration
  @duration
end

#end_dateDate, ...

Returns:

  • (Date, DateTime, nil)


73
74
75
# File 'lib/openactive/models/schema/event.rb', line 73

def end_date
  @end_date
end

#event_statusOpenActive::Enums::Schema::EventStatusType?



55
56
57
# File 'lib/openactive/models/schema/event.rb', line 55

def event_status
  @event_status
end

#funderOpenActive::Models::Schema::Organization, OpenActive::Models::Schema::Person



187
188
189
# File 'lib/openactive/models/schema/event.rb', line 187

def funder
  @funder
end

#in_languageString, OpenActive::Models::Schema::Language



23
24
25
# File 'lib/openactive/models/schema/event.rb', line 23

def in_language
  @in_language
end

#is_accessible_for_freeBoolean?

Returns:

  • (Boolean, nil)


163
164
165
# File 'lib/openactive/models/schema/event.rb', line 163

def is_accessible_for_free
  @is_accessible_for_free
end

#locationOpenActive::Models::Schema::Place, ...



180
181
182
# File 'lib/openactive/models/schema/event.rb', line 180

def location
  @location
end

#maximum_attendee_capacityint?

Returns:

  • (int, nil)


152
153
154
# File 'lib/openactive/models/schema/event.rb', line 152

def maximum_attendee_capacity
  @maximum_attendee_capacity
end

#offersOpenActive::Models::Schema::Offer



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

def offers
  @offers
end

#organizerOpenActive::Models::Schema::Organization, OpenActive::Models::Schema::Person



193
194
195
# File 'lib/openactive/models/schema/event.rb', line 193

def organizer
  @organizer
end

#performerOpenActive::Models::Schema::Organization, OpenActive::Models::Schema::Person



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

def performer
  @performer
end

#performersOpenActive::Models::Schema::Organization, OpenActive::Models::Schema::Person



140
141
142
# File 'lib/openactive/models/schema/event.rb', line 140

def performers
  @performers
end

#previous_start_dateDate?

Returns:

  • (Date, nil)


124
125
126
# File 'lib/openactive/models/schema/event.rb', line 124

def previous_start_date
  @previous_start_date
end

#recorded_inOpenActive::Models::Schema::CreativeWork



175
176
177
# File 'lib/openactive/models/schema/event.rb', line 175

def recorded_in
  @recorded_in
end

#remaining_attendee_capacityint?

Returns:

  • (int, nil)


206
207
208
# File 'lib/openactive/models/schema/event.rb', line 206

def remaining_attendee_capacity
  @remaining_attendee_capacity
end

#reviewOpenActive::Models::Schema::Review



135
136
137
# File 'lib/openactive/models/schema/event.rb', line 135

def review
  @review
end


146
147
148
# File 'lib/openactive/models/schema/event.rb', line 146

def sponsor
  @sponsor
end

#start_dateDateTime, ...

Returns:

  • (DateTime, Date, nil)


66
67
68
# File 'lib/openactive/models/schema/event.rb', line 66

def start_date
  @start_date
end

#sub_eventOpenActive::Models::Schema::Event



40
41
42
# File 'lib/openactive/models/schema/event.rb', line 40

def sub_event
  @sub_event
end

#sub_eventsOpenActive::Models::Schema::Event



119
120
121
# File 'lib/openactive/models/schema/event.rb', line 119

def sub_events
  @sub_events
end

#super_eventOpenActive::Models::Schema::Event



91
92
93
# File 'lib/openactive/models/schema/event.rb', line 91

def super_event
  @super_event
end

#translatorOpenActive::Models::Schema::Organization, OpenActive::Models::Schema::Person



113
114
115
# File 'lib/openactive/models/schema/event.rb', line 113

def translator
  @translator
end

#typeString

Returns:

  • (String)


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

def type
  "schema:Event"
end

#typical_age_rangeString

Returns:

  • (String)


96
97
98
# File 'lib/openactive/models/schema/event.rb', line 96

def typical_age_range
  @typical_age_range
end


130
131
132
# File 'lib/openactive/models/schema/event.rb', line 130

def work_featured
  @work_featured
end

#work_performedOpenActive::Models::Schema::CreativeWork



45
46
47
# File 'lib/openactive/models/schema/event.rb', line 45

def work_performed
  @work_performed
end