Class: OpenActive::Models::Schema::Trip
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
#check_types, included
included, #to_h, #values
Instance Attribute Details
#arrival_time ⇒ DateTime, ...
35
36
37
|
# File 'lib/openactive/models/schema/trip.rb', line 35
def arrival_time
@arrival_time
end
|
#departure_time ⇒ DateTime, ...
28
29
30
|
# File 'lib/openactive/models/schema/trip.rb', line 28
def departure_time
@departure_time
end
|
17
18
19
|
# File 'lib/openactive/models/schema/trip.rb', line 17
def itinerary
@itinerary
end
|
42
43
44
|
# File 'lib/openactive/models/schema/trip.rb', line 42
def offers
@offers
end
|
23
24
25
|
# File 'lib/openactive/models/schema/trip.rb', line 23
def part_of_trip
@part_of_trip
end
|
47
48
49
|
# File 'lib/openactive/models/schema/trip.rb', line 47
def provider
@provider
end
|
12
13
14
|
# File 'lib/openactive/models/schema/trip.rb', line 12
def sub_trip
@sub_trip
end
|
#type ⇒ String
7
8
9
|
# File 'lib/openactive/models/schema/trip.rb', line 7
def type
"schema:Trip"
end
|