Class: Google::Apis::PlacesV1::GoogleMapsPlacesV1PlaceAccessibilityOptions

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleMapsPlacesV1PlaceAccessibilityOptions

Returns a new instance of GoogleMapsPlacesV1PlaceAccessibilityOptions.



1755
1756
1757
# File 'lib/google/apis/places_v1/classes.rb', line 1755

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#wheelchair_accessible_entranceBoolean Also known as: wheelchair_accessible_entrance?

Places has wheelchair accessible entrance. Corresponds to the JSON property wheelchairAccessibleEntrance

Returns:

  • (Boolean)


1734
1735
1736
# File 'lib/google/apis/places_v1/classes.rb', line 1734

def wheelchair_accessible_entrance
  @wheelchair_accessible_entrance
end

#wheelchair_accessible_parkingBoolean Also known as: wheelchair_accessible_parking?

Place offers wheelchair accessible parking. Corresponds to the JSON property wheelchairAccessibleParking

Returns:

  • (Boolean)


1740
1741
1742
# File 'lib/google/apis/places_v1/classes.rb', line 1740

def wheelchair_accessible_parking
  @wheelchair_accessible_parking
end

#wheelchair_accessible_restroomBoolean Also known as: wheelchair_accessible_restroom?

Place has wheelchair accessible restroom. Corresponds to the JSON property wheelchairAccessibleRestroom

Returns:

  • (Boolean)


1746
1747
1748
# File 'lib/google/apis/places_v1/classes.rb', line 1746

def wheelchair_accessible_restroom
  @wheelchair_accessible_restroom
end

#wheelchair_accessible_seatingBoolean Also known as: wheelchair_accessible_seating?

Place has wheelchair accessible seating. Corresponds to the JSON property wheelchairAccessibleSeating

Returns:

  • (Boolean)


1752
1753
1754
# File 'lib/google/apis/places_v1/classes.rb', line 1752

def wheelchair_accessible_seating
  @wheelchair_accessible_seating
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1760
1761
1762
1763
1764
1765
# File 'lib/google/apis/places_v1/classes.rb', line 1760

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