Class: OpenActive::Models::Schema::Thing
Direct Known Subclasses
Lease, OpenBookingError, Payment, Action, CreativeWork, Event, Intangible, Organization, Person, Place, Product
Instance Attribute Summary collapse
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
#additional_type ⇒ URI
72
73
74
|
# File 'lib/openactive/models/schema/thing.rb', line 72
def additional_type
@additional_type
end
|
#alternate_name ⇒ String
67
68
69
|
# File 'lib/openactive/models/schema/thing.rb', line 67
def alternate_name
@alternate_name
end
|
#description ⇒ String
24
25
26
|
# File 'lib/openactive/models/schema/thing.rb', line 24
def description
@description
end
|
#disambiguating_description ⇒ String
35
36
37
|
# File 'lib/openactive/models/schema/thing.rb', line 35
def disambiguating_description
@disambiguating_description
end
|
12
13
14
|
# File 'lib/openactive/models/schema/thing.rb', line 12
def identifier
@identifier
end
|
45
46
47
|
# File 'lib/openactive/models/schema/thing.rb', line 45
def image
@image
end
|
51
52
53
|
# File 'lib/openactive/models/schema/thing.rb', line 51
def main_entity_of_page
@main_entity_of_page
end
|
#name ⇒ String
19
20
21
|
# File 'lib/openactive/models/schema/thing.rb', line 19
def name
@name
end
|
57
58
59
|
# File 'lib/openactive/models/schema/thing.rb', line 57
def potential_action
@potential_action
end
|
#same_as ⇒ URI
40
41
42
|
# File 'lib/openactive/models/schema/thing.rb', line 40
def same_as
@same_as
end
|
29
30
31
|
# File 'lib/openactive/models/schema/thing.rb', line 29
def subject_of
@subject_of
end
|
#type ⇒ String
7
8
9
|
# File 'lib/openactive/models/schema/thing.rb', line 7
def type
"schema:Thing"
end
|
#url ⇒ URI
62
63
64
|
# File 'lib/openactive/models/schema/thing.rb', line 62
def url
@url
end
|