Class: OpenActive::Models::Schema::Accommodation
- Inherits:
-
Place
show all
- Defined in:
- lib/openactive/models/schema/accommodation.rb
Instance Attribute Summary collapse
Attributes inherited from Place
#additional_property, #address, #aggregate_rating, #branch_code, #contained_in, #contained_in_place, #contains_place, #event, #events, #fax_number, #geo, #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, #opening_hours_specification, #photo, #photos, #public_access, #review, #reviews, #slogan, #smoking_allowed, #special_opening_hours_specification, #telephone
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
#accommodation_category ⇒ String
12
13
14
|
# File 'lib/openactive/models/schema/accommodation.rb', line 12
def accommodation_category
@accommodation_category
end
|
53
54
55
|
# File 'lib/openactive/models/schema/accommodation.rb', line 53
def amenity_feature
@amenity_feature
end
|
#floor_level ⇒ String
36
37
38
|
# File 'lib/openactive/models/schema/accommodation.rb', line 36
def floor_level
@floor_level
end
|
65
66
67
|
# File 'lib/openactive/models/schema/accommodation.rb', line 65
def floor_size
@floor_size
end
|
29
30
31
|
# File 'lib/openactive/models/schema/accommodation.rb', line 29
def lease_length
@lease_length
end
|
#number_of_bathrooms_total ⇒ int?
23
24
25
|
# File 'lib/openactive/models/schema/accommodation.rb', line 23
def number_of_bathrooms_total
@number_of_bathrooms_total
end
|
#number_of_full_bathrooms ⇒ BigDecimal?
17
18
19
|
# File 'lib/openactive/models/schema/accommodation.rb', line 17
def number_of_full_bathrooms
@number_of_full_bathrooms
end
|
46
47
48
|
# File 'lib/openactive/models/schema/accommodation.rb', line 46
def number_of_rooms
@number_of_rooms
end
|
#permitted_usage ⇒ String
41
42
43
|
# File 'lib/openactive/models/schema/accommodation.rb', line 41
def permitted_usage
@permitted_usage
end
|
#pets_allowed ⇒ String, ...
58
59
60
|
# File 'lib/openactive/models/schema/accommodation.rb', line 58
def pets_allowed
@pets_allowed
end
|
#type ⇒ String
7
8
9
|
# File 'lib/openactive/models/schema/accommodation.rb', line 7
def type
"schema:Accommodation"
end
|