Class: Aws::GeoPlaces::Types::OpeningHours

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-geoplaces/lib/aws-sdk-geoplaces/types.rb

Overview

List of opening hours objects.

Constant Summary collapse

SENSITIVE =
[:display, :open_now]

Instance Attribute Summary collapse

Instance Attribute Details

#categoriesArray<Types::Category>

Categories of results that results must belong too.

Returns:



1664
1665
1666
1667
1668
1669
1670
1671
# File 'gems/aws-sdk-geoplaces/lib/aws-sdk-geoplaces/types.rb', line 1664

class OpeningHours < Struct.new(
  :display,
  :open_now,
  :components,
  :categories)
  SENSITIVE = [:display, :open_now]
  include Aws::Structure
end

#componentsArray<Types::OpeningHoursComponents>

Components of the opening hours object.

Returns:



1664
1665
1666
1667
1668
1669
1670
1671
# File 'gems/aws-sdk-geoplaces/lib/aws-sdk-geoplaces/types.rb', line 1664

class OpeningHours < Struct.new(
  :display,
  :open_now,
  :components,
  :categories)
  SENSITIVE = [:display, :open_now]
  include Aws::Structure
end

#displayArray<String>

List of opening hours in the format they are displayed in. This can vary by result and in most cases represents how the result uniquely formats their opening hours.

Returns:

  • (Array<String>)


1664
1665
1666
1667
1668
1669
1670
1671
# File 'gems/aws-sdk-geoplaces/lib/aws-sdk-geoplaces/types.rb', line 1664

class OpeningHours < Struct.new(
  :display,
  :open_now,
  :components,
  :categories)
  SENSITIVE = [:display, :open_now]
  include Aws::Structure
end

#open_nowBoolean

Boolean which indicates if the result/place is currently open.

Returns:

  • (Boolean)


1664
1665
1666
1667
1668
1669
1670
1671
# File 'gems/aws-sdk-geoplaces/lib/aws-sdk-geoplaces/types.rb', line 1664

class OpeningHours < Struct.new(
  :display,
  :open_now,
  :components,
  :categories)
  SENSITIVE = [:display, :open_now]
  include Aws::Structure
end