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

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

Overview

List of Food types offered by this result.

Constant Summary collapse

SENSITIVE =
[:localized_name, :id, :primary]

Instance Attribute Summary collapse

Instance Attribute Details

#idString

The Food Type Id.

Returns:

  • (String)


901
902
903
904
905
906
907
# File 'gems/aws-sdk-geoplaces/lib/aws-sdk-geoplaces/types.rb', line 901

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

#localized_nameString

Localized name of the food type.

Returns:

  • (String)


901
902
903
904
905
906
907
# File 'gems/aws-sdk-geoplaces/lib/aws-sdk-geoplaces/types.rb', line 901

class FoodType < Struct.new(
  :localized_name,
  :id,
  :primary)
  SENSITIVE = [:localized_name, :id, :primary]
  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)


901
902
903
904
905
906
907
# File 'gems/aws-sdk-geoplaces/lib/aws-sdk-geoplaces/types.rb', line 901

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