Class: OpenActive::Models::Place
Overview
This type is derived from [Place](schema.org/Place), 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
#additional_property, #aggregate_rating, #branch_code, #contained_in, #event, #events, #fax_number, #geo_contains, #geo_covered_by, #geo_covers, #geo_crosses, #geo_disjoint, #geo_equals, #geo_intersects, #geo_overlaps, #geo_touches, #geo_within, #global_location_number, #has_map, #is_accessible_for_free, #isic_v4, #latitude, #logo, #longitude, #map, #maps, #maximum_attendee_capacity, #photo, #photos, #public_access, #review, #reviews, #slogan, #smoking_allowed, #special_opening_hours_specification
#additional_type, #alternate_name, #disambiguating_description, #main_entity_of_page, #potential_action, #same_as, #subject_of
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
31
32
33
|
# File 'lib/openactive/models/place.rb', line 31
def address
@address
end
|
37
38
39
|
# File 'lib/openactive/models/place.rb', line 37
def amenity_feature
@amenity_feature
end
|
42
43
44
|
# File 'lib/openactive/models/place.rb', line 42
def contained_in_place
@contained_in_place
end
|
47
48
49
|
# File 'lib/openactive/models/place.rb', line 47
def contains_place
@contains_place
end
|
#description ⇒ String
26
27
28
|
# File 'lib/openactive/models/place.rb', line 26
def description
@description
end
|
77
78
79
|
# File 'lib/openactive/models/place.rb', line 77
def formatted_description
@formatted_description
end
|
52
53
54
|
# File 'lib/openactive/models/place.rb', line 52
def geo
@geo
end
|
#identifier ⇒ int, ...
12
13
14
|
# File 'lib/openactive/models/place.rb', line 12
def identifier
@identifier
end
|
57
58
59
|
# File 'lib/openactive/models/place.rb', line 57
def image
@image
end
|
#name ⇒ String
21
22
23
|
# File 'lib/openactive/models/place.rb', line 21
def name
@name
end
|
62
63
64
|
# File 'lib/openactive/models/place.rb', line 62
def opening_hours_specification
@opening_hours_specification
end
|
#telephone ⇒ String
67
68
69
|
# File 'lib/openactive/models/place.rb', line 67
def telephone
@telephone
end
|
#type ⇒ String
7
8
9
|
# File 'lib/openactive/models/place.rb', line 7
def type
"Place"
end
|
#url ⇒ URI
72
73
74
|
# File 'lib/openactive/models/place.rb', line 72
def url
@url
end
|