Class: Google::Apis::PlacesV1::GoogleMapsPlacesV1PlaceOpeningHoursPeriod
- Inherits:
-
Object
- Object
- Google::Apis::PlacesV1::GoogleMapsPlacesV1PlaceOpeningHoursPeriod
- 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
A period the place remains in open_now status.
Instance Attribute Summary collapse
-
#close ⇒ Google::Apis::PlacesV1::GoogleMapsPlacesV1PlaceOpeningHoursPeriodPoint
Status changing points.
-
#open ⇒ Google::Apis::PlacesV1::GoogleMapsPlacesV1PlaceOpeningHoursPeriodPoint
Status changing points.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleMapsPlacesV1PlaceOpeningHoursPeriod
constructor
A new instance of GoogleMapsPlacesV1PlaceOpeningHoursPeriod.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleMapsPlacesV1PlaceOpeningHoursPeriod
Returns a new instance of GoogleMapsPlacesV1PlaceOpeningHoursPeriod.
1687 1688 1689 |
# File 'lib/google/apis/places_v1/classes.rb', line 1687 def initialize(**args) update!(**args) end |
Instance Attribute Details
#close ⇒ Google::Apis::PlacesV1::GoogleMapsPlacesV1PlaceOpeningHoursPeriodPoint
Status changing points.
Corresponds to the JSON property close
1680 1681 1682 |
# File 'lib/google/apis/places_v1/classes.rb', line 1680 def close @close end |
#open ⇒ Google::Apis::PlacesV1::GoogleMapsPlacesV1PlaceOpeningHoursPeriodPoint
Status changing points.
Corresponds to the JSON property open
1685 1686 1687 |
# File 'lib/google/apis/places_v1/classes.rb', line 1685 def open @open end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1692 1693 1694 1695 |
# File 'lib/google/apis/places_v1/classes.rb', line 1692 def update!(**args) @close = args[:close] if args.key?(:close) @open = args[:open] if args.key?(:open) end |