Class: OpenActive::Models::Schema::Place

Inherits:
Thing show all
Defined in:
lib/openactive/models/schema/place.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

#additional_propertyOpenActive::Models::Schema::PropertyValue



141
142
143
# File 'lib/openactive/models/schema/place.rb', line 141

def additional_property
  @additional_property
end

#addressString, OpenActive::Models::Schema::PostalAddress



151
152
153
# File 'lib/openactive/models/schema/place.rb', line 151

def address
  @address
end

#aggregate_ratingOpenActive::Models::Schema::AggregateRating



230
231
232
# File 'lib/openactive/models/schema/place.rb', line 230

def aggregate_rating
  @aggregate_rating
end

#amenity_featureOpenActive::Models::Schema::LocationFeatureSpecification



33
34
35
# File 'lib/openactive/models/schema/place.rb', line 33

def amenity_feature
  @amenity_feature
end

#branch_codeString

Returns:

  • (String)


225
226
227
# File 'lib/openactive/models/schema/place.rb', line 225

def branch_code
  @branch_code
end

#contained_inOpenActive::Models::Schema::Place



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

def contained_in
  @contained_in
end

#contained_in_placeOpenActive::Models::Schema::Place



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

def contained_in_place
  @contained_in_place
end

#contains_placeOpenActive::Models::Schema::Place



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

def contains_place
  @contains_place
end

#eventOpenActive::Models::Schema::Event



123
124
125
# File 'lib/openactive/models/schema/place.rb', line 123

def event
  @event
end

#eventsOpenActive::Models::Schema::Event



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

def events
  @events
end

#fax_numberString

Returns:

  • (String)


209
210
211
# File 'lib/openactive/models/schema/place.rb', line 209

def fax_number
  @fax_number
end

#geoOpenActive::Models::Schema::GeoCoordinates, OpenActive::Models::Schema::GeoShape



67
68
69
# File 'lib/openactive/models/schema/place.rb', line 67

def geo
  @geo
end

#geo_containsOpenActive::Models::Schema::Place, OpenActive::Models::Schema::GeospatialGeometry



219
220
221
# File 'lib/openactive/models/schema/place.rb', line 219

def geo_contains
  @geo_contains
end

#geo_covered_byOpenActive::Models::Schema::Place, OpenActive::Models::Schema::GeospatialGeometry



197
198
199
# File 'lib/openactive/models/schema/place.rb', line 197

def geo_covered_by
  @geo_covered_by
end

#geo_coversOpenActive::Models::Schema::Place, OpenActive::Models::Schema::GeospatialGeometry



79
80
81
# File 'lib/openactive/models/schema/place.rb', line 79

def geo_covers
  @geo_covers
end

#geo_crossesOpenActive::Models::Schema::Place, OpenActive::Models::Schema::GeospatialGeometry



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

def geo_crosses
  @geo_crosses
end

#geo_disjointOpenActive::Models::Schema::Place, OpenActive::Models::Schema::GeospatialGeometry



168
169
170
# File 'lib/openactive/models/schema/place.rb', line 168

def geo_disjoint
  @geo_disjoint
end

#geo_equalsOpenActive::Models::Schema::GeospatialGeometry, OpenActive::Models::Schema::Place



90
91
92
# File 'lib/openactive/models/schema/place.rb', line 90

def geo_equals
  @geo_equals
end

#geo_intersectsOpenActive::Models::Schema::Place, OpenActive::Models::Schema::GeospatialGeometry



157
158
159
# File 'lib/openactive/models/schema/place.rb', line 157

def geo_intersects
  @geo_intersects
end

#geo_overlapsOpenActive::Models::Schema::GeospatialGeometry, OpenActive::Models::Schema::Place



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

def geo_overlaps
  @geo_overlaps
end

#geo_touchesOpenActive::Models::Schema::GeospatialGeometry, OpenActive::Models::Schema::Place



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

def geo_touches
  @geo_touches
end

#geo_withinOpenActive::Models::Schema::GeospatialGeometry, OpenActive::Models::Schema::Place



27
28
29
# File 'lib/openactive/models/schema/place.rb', line 27

def geo_within
  @geo_within
end

#global_location_numberString

Returns:

  • (String)


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

def global_location_number
  @global_location_number
end

#has_mapOpenActive::Models::Schema::Map, URI



191
192
193
# File 'lib/openactive/models/schema/place.rb', line 191

def has_map
  @has_map
end

#is_accessible_for_freeBoolean?

Returns:

  • (Boolean, nil)


203
204
205
# File 'lib/openactive/models/schema/place.rb', line 203

def is_accessible_for_free
  @is_accessible_for_free
end

#isic_v4String

Returns:

  • (String)


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

def isic_v4
  @isic_v4
end

#latitudeString, ...

Returns:

  • (String, BigDecimal, nil)


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

def latitude
  @latitude
end

#logoOpenActive::Models::Schema::ImageObject, URI



44
45
46
# File 'lib/openactive/models/schema/place.rb', line 44

def 
  @logo
end

#longitudeBigDecimal, ...

Returns:

  • (BigDecimal, String, nil)


128
129
130
# File 'lib/openactive/models/schema/place.rb', line 128

def longitude
  @longitude
end

#mapURI

Returns:

  • (URI)


118
119
120
# File 'lib/openactive/models/schema/place.rb', line 118

def map
  @map
end

#mapsURI

Returns:

  • (URI)


62
63
64
# File 'lib/openactive/models/schema/place.rb', line 62

def maps
  @maps
end

#maximum_attendee_capacityint?

Returns:

  • (int, nil)


174
175
176
# File 'lib/openactive/models/schema/place.rb', line 174

def maximum_attendee_capacity
  @maximum_attendee_capacity
end

#opening_hours_specificationOpenActive::Models::Schema::OpeningHoursSpecification



241
242
243
# File 'lib/openactive/models/schema/place.rb', line 241

def opening_hours_specification
  @opening_hours_specification
end

#photoOpenActive::Models::Schema::ImageObject, OpenActive::Models::Schema::Photograph



38
39
40
# File 'lib/openactive/models/schema/place.rb', line 38

def photo
  @photo
end

#photosOpenActive::Models::Schema::Photograph, OpenActive::Models::Schema::ImageObject



185
186
187
# File 'lib/openactive/models/schema/place.rb', line 185

def photos
  @photos
end

#public_accessBoolean?

Returns:

  • (Boolean, nil)


112
113
114
# File 'lib/openactive/models/schema/place.rb', line 112

def public_access
  @public_access
end

#reviewOpenActive::Models::Schema::Review



102
103
104
# File 'lib/openactive/models/schema/place.rb', line 102

def review
  @review
end

#reviewsOpenActive::Models::Schema::Review



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

def reviews
  @reviews
end

#sloganString

Returns:

  • (String)


214
215
216
# File 'lib/openactive/models/schema/place.rb', line 214

def slogan
  @slogan
end

#smoking_allowedBoolean?

Returns:

  • (Boolean, nil)


235
236
237
# File 'lib/openactive/models/schema/place.rb', line 235

def smoking_allowed
  @smoking_allowed
end

#special_opening_hours_specificationOpenActive::Models::Schema::OpeningHoursSpecification



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

def special_opening_hours_specification
  @special_opening_hours_specification
end

#telephoneString

Returns:

  • (String)


57
58
59
# File 'lib/openactive/models/schema/place.rb', line 57

def telephone
  @telephone
end

#typeString

Returns:

  • (String)


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

def type
  "schema:Place"
end