Class: Aws::GeoPlaces::Types::FoodType

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

Overview

List of ‘Food` types offered by this result.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#idString

The Food Type Id.

Returns:

  • (String)


846
847
848
849
850
851
852
# File 'lib/aws-sdk-geoplaces/types.rb', line 846

class FoodType < Struct.new(
  :localized_name,
  :id,
  :primary)
  SENSITIVE = []
  include Aws::Structure
end

#localized_nameString

Localized name of the food type.

Returns:

  • (String)


846
847
848
849
850
851
852
# File 'lib/aws-sdk-geoplaces/types.rb', line 846

class FoodType < Struct.new(
  :localized_name,
  :id,
  :primary)
  SENSITIVE = []
  include Aws::Structure
end

#primaryBoolean

Boolean which indicates if this food type is the primary offered by the place. For example, if a location serves fast food, but also dessert, he primary would likely be fast food.

Returns:

  • (Boolean)


846
847
848
849
850
851
852
# File 'lib/aws-sdk-geoplaces/types.rb', line 846

class FoodType < Struct.new(
  :localized_name,
  :id,
  :primary)
  SENSITIVE = []
  include Aws::Structure
end