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 =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#categoriesArray<Types::Category>

Categories of results that results must belong too.

Returns:



1384
1385
1386
1387
1388
1389
1390
1391
# File 'gems/aws-sdk-geoplaces/lib/aws-sdk-geoplaces/types.rb', line 1384

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

#componentsArray<Types::OpeningHoursComponents>

Components of the opening hours object.

Returns:



1384
1385
1386
1387
1388
1389
1390
1391
# File 'gems/aws-sdk-geoplaces/lib/aws-sdk-geoplaces/types.rb', line 1384

class OpeningHours < Struct.new(
  :display,
  :open_now,
  :components,
  :categories)
  SENSITIVE = []
  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>)


1384
1385
1386
1387
1388
1389
1390
1391
# File 'gems/aws-sdk-geoplaces/lib/aws-sdk-geoplaces/types.rb', line 1384

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

#open_nowBoolean

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

Returns:

  • (Boolean)


1384
1385
1386
1387
1388
1389
1390
1391
# File 'gems/aws-sdk-geoplaces/lib/aws-sdk-geoplaces/types.rb', line 1384

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