Class: Google::Apis::PlacesV1::GoogleMapsPlacesV1PlaceAccessibilityOptions
- Inherits:
-
Object
- Object
- Google::Apis::PlacesV1::GoogleMapsPlacesV1PlaceAccessibilityOptions
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/places_v1/classes.rb,
lib/google/apis/places_v1/representations.rb,
lib/google/apis/places_v1/representations.rb
Overview
Information about the accessibility options a place offers.
Instance Attribute Summary collapse
-
#wheelchair_accessible_entrance ⇒ Boolean
(also: #wheelchair_accessible_entrance?)
Places has wheelchair accessible entrance.
-
#wheelchair_accessible_parking ⇒ Boolean
(also: #wheelchair_accessible_parking?)
Place offers wheelchair accessible parking.
-
#wheelchair_accessible_restroom ⇒ Boolean
(also: #wheelchair_accessible_restroom?)
Place has wheelchair accessible restroom.
-
#wheelchair_accessible_seating ⇒ Boolean
(also: #wheelchair_accessible_seating?)
Place has wheelchair accessible seating.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleMapsPlacesV1PlaceAccessibilityOptions
constructor
A new instance of GoogleMapsPlacesV1PlaceAccessibilityOptions.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleMapsPlacesV1PlaceAccessibilityOptions
Returns a new instance of GoogleMapsPlacesV1PlaceAccessibilityOptions.
1481 1482 1483 |
# File 'lib/google/apis/places_v1/classes.rb', line 1481 def initialize(**args) update!(**args) end |
Instance Attribute Details
#wheelchair_accessible_entrance ⇒ Boolean Also known as: wheelchair_accessible_entrance?
Places has wheelchair accessible entrance.
Corresponds to the JSON property wheelchairAccessibleEntrance
1460 1461 1462 |
# File 'lib/google/apis/places_v1/classes.rb', line 1460 def wheelchair_accessible_entrance @wheelchair_accessible_entrance end |
#wheelchair_accessible_parking ⇒ Boolean Also known as: wheelchair_accessible_parking?
Place offers wheelchair accessible parking.
Corresponds to the JSON property wheelchairAccessibleParking
1466 1467 1468 |
# File 'lib/google/apis/places_v1/classes.rb', line 1466 def wheelchair_accessible_parking @wheelchair_accessible_parking end |
#wheelchair_accessible_restroom ⇒ Boolean Also known as: wheelchair_accessible_restroom?
Place has wheelchair accessible restroom.
Corresponds to the JSON property wheelchairAccessibleRestroom
1472 1473 1474 |
# File 'lib/google/apis/places_v1/classes.rb', line 1472 def wheelchair_accessible_restroom @wheelchair_accessible_restroom end |
#wheelchair_accessible_seating ⇒ Boolean Also known as: wheelchair_accessible_seating?
Place has wheelchair accessible seating.
Corresponds to the JSON property wheelchairAccessibleSeating
1478 1479 1480 |
# File 'lib/google/apis/places_v1/classes.rb', line 1478 def wheelchair_accessible_seating @wheelchair_accessible_seating end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1486 1487 1488 1489 1490 1491 |
# File 'lib/google/apis/places_v1/classes.rb', line 1486 def update!(**args) @wheelchair_accessible_entrance = args[:wheelchair_accessible_entrance] if args.key?(:wheelchair_accessible_entrance) @wheelchair_accessible_parking = args[:wheelchair_accessible_parking] if args.key?(:wheelchair_accessible_parking) @wheelchair_accessible_restroom = args[:wheelchair_accessible_restroom] if args.key?(:wheelchair_accessible_restroom) @wheelchair_accessible_seating = args[:wheelchair_accessible_seating] if args.key?(:wheelchair_accessible_seating) end |